← UGC-NET-EXAM
UGC-NET · Computer Science

June

2013 · 125 questions · First 10 Solutions Free
Questions 1–10 have full step-by-step solutions visible. Sign in to unlock all 125 →
Q1 mcq
COCOMO stands for
a.
COmposite COst MOdel
b.
COnstructive COst MOdel Correct Answer
c.
COnstructive COmposite MOdel
d.
COmprehensive COnstruction MOdel
Step-by-Step AI Explanation
Verified Method
COCOMO stands for **COnstructive COst MOdel**, an algorithmic software cost estimation model developed by Barry W. Boehm in 1981.
Q1 mcq
The Software Maturity Index (SMI) is defined as $$\text{SMI} = [\text{M}_{\text{f}} - (\text{F}_{\text{a}} + \text{F}_{\text{c}} + \text{F}_{\text{d}})]/\text{M}_{\text{f}}$$ where $\text{M}_{\text{f}} =$ the number of modules in the current release. $\text{F}_{\text{a}} =$ the number of modules in the current release that have been added. $\text{F}_{\text{c}} =$ the number of modules in the current release that have been changed. $\text{F}_{\text{d}} =$ the number of modules in the current release that have been deleted. The product begins to stabilize when
a.
SMI approaches 1 Correct Answer
b.
SMI approaches 0
c.
SMI approaches $-1$
d.
None of the above.
Step-by-Step AI Explanation
Verified Method
The Software Maturity Index (SMI) assesses the stability of a software product as changes occur. As changes, additions, and deletions decrease ($F_a + F_c + F_d \to 0$), the ratio $[M_f - (F_a + F_c + F_d)]/M_f$ approaches $M_f / M_f = 1$. Therefore, the product begins to stabilize as SMI approaches 1.
Q2 mcq
Match the following: (A) Good quality - (i) Program does not fail for specified time in a given environment (B) Correctness - (ii) Meets the functional requirements (C) Predictable - (iii) Meets both functional and non-functional requirements (D) Reliable - (iv) Process is under statistical control
a.
(A)-(iii), (B)-(ii), (C)-(iv), (D)-(i) Correct Answer
b.
(A)-(ii), (B)-(iii), (C)-(iv), (D)-(i)
c.
(A)-(i), (B)-(ii), (C)-(iv), (D)-(iii)
d.
(A)-(i), (B)-(ii), (C)-(iii), (D)-(iv)
Step-by-Step AI Explanation
Verified Method
Matching the terms with their definitions: - **(A) Good quality**: A system exhibits good quality when it satisfies both functional and non-functional requirements (iii). - **(B) Correctness**: Measures the degree to which a program meets its specified functional requirements (ii). - **(C) Predictable**: A process is predictable when it is under statistical control (iv). - **(D) Reliable**: Defined as the probability that a program will not fail for a specified period of time in a specified environment (i). Hence, the correct mapping is (A)-(iii), (B)-(ii), (C)-(iv), (D)-(i).
Q2 mcq
Match the following: (A) Watson-Felix model (i) Failure intensity (B) Quick-Fix model (ii) Cost estimation (C) Putnam resource allocation model (iii) Project planning (D) Logarithmic Poisson model (iv) Maintenance Codes:
a.
A-ii, B-i, C-iv, D-iii
b.
A-i, B-ii, C-iv, D-iii
c.
A-ii, B-i, C-iii, D-iv
d.
A-ii, B-iv, C-iii, D-i Correct Answer
Step-by-Step AI Explanation
Verified Method
Matching the models to their applications: - **(A) Watson-Felix model**: An empirical **cost estimation** model (ii). - **(B) Quick-Fix model**: A common approach to software **maintenance** where changes are made rapidly without updating design documents (iv). - **(C) Putnam resource allocation model**: Used in **project planning** to determine project staffing and effort distribution over time (iii). - **(D) Logarithmic Poisson model**: A software reliability model developed by Musa et al. that relates to **failure intensity** (i). Therefore, the correct code is A-ii, B-iv, C-iii, D-i.
Q3 mcq
While estimating the cost of software. Lines of Code (LOC) and Function Points (FP) are used to measure which one of the following?
a.
Length of code
b.
Size of software Correct Answer
c.
Functionality of software
d.
None of the above.
Step-by-Step AI Explanation
Verified Method
Lines of Code (LOC) is a size-oriented metric and Function Points (FP) is a function-oriented metric; both are primary metrics used to measure the **size of software** in cost and effort estimation models.
Q3 mcq
_______ is a process model that removes defects before they can precipitate serious hazards
a.
Incremental model
b.
Spiral model
c.
Clean room software engineering Correct Answer
d.
Agile model
Step-by-Step AI Explanation
Verified Method
**Cleanroom Software Engineering** is an engineering and formal methods approach that emphasizes defect prevention rather than defect detection and removal. It uses rigorous mathematical specification and verification (correctness proofs) along with statistical quality certification to ensure that defects are eliminated before they can cause serious failures.
Q4 mcq
A good software design must have
a.
High module coupling, High module cohesion
b.
High module coupling, Low module cohesion
c.
Low module coupling, High module cohesion Correct Answer
d.
Low module coupling, Low module cohesion
Step-by-Step AI Explanation
Verified Method
A fundamental principle of good software engineering design is achieving **low coupling** (minimizing interdependence between different modules) and **high cohesion** (maximizing the functional relatedness of elements within a single module) to promote modularity, maintainability, and reusability.
Q4 mcq
Equivalence partitioning is a _______ method that divides the input domain of a program into classes of data from which test cases can be derived.
a.
White-box testing
b.
Black-box testing Correct Answer
c.
Orthogonal array testing
d.
Stress testing
Step-by-Step AI Explanation
Verified Method
Equivalence partitioning is a well-known **black-box testing** technique. It divides the input domain into valid and invalid equivalence partitions (classes) such that testing a representative value from each class is assumed to yield the same result as testing any other value in that class, without examining internal code structure.
Q5 mcq
Cyclometric complexity of a flow graph $\text{G}$ with $\text{n}$ vertices and $\text{e}$ edges is
a.
$\text{V(G)} = \text{e} + \text{n} - 2$
b.
$\text{V(G)} = \text{e} - \text{n} + 2$ Correct Answer
c.
$\text{V(G)} = \text{e} + \text{n} + 2$
d.
$\text{V(G)} = \text{e} - \text{n} - 2$
Step-by-Step AI Explanation
Verified Method
Cyclomatic complexity $V(G)$ of a flow graph $G$ with $n$ vertices and $e$ edges is defined by McCabe's metric as: $$V(G) = e - n + 2P$$ For a single connected component representing one program or procedure ($P = 1$), the formula simplifies to: $$V(G) = e - n + 2$$ Therefore, option B is correct.
Q5 mcq
The following three golden rules (i) Place the user in control (ii) Reduce the user's memory load (iii) Make the interface consistent are for
a.
User satisfication
b.
Good interface design Correct Answer
c.
Saving system's resources
d.
None of these
Step-by-Step AI Explanation
Verified Method
Theo Mandel formulated the three 'golden rules' for good user interface (UI) design in software engineering: 1. Place the user in control. 2. Reduce the user's memory load. 3. Make the interface consistent. Hence, option B is the correct answer.
🎉 10 Free Sample Solutions Completed

Unlock All 125 Questions & Solutions

Sign up free in seconds to unlock step-by-step AI answers for the remaining 115 questions.

Q6 mcq
When the following code is executed what will be the value of $\text{x}$ and $\text{y}$? int $\text{x} = 1$, $\text{y} = 0$; $\text{y} = \text{x}++$;
a.
2, 1
b.
2, 2
c.
1, 1
d.
1, 2
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q6 mcq
Software safety is a _______ activity that focuses on the identification and assessment of potential hazards that may effect software negatively and cause an entire system to fail.
a.
Risk mitigation, monitoring and management
b.
Software quality assurance
c.
Software cost estimation
d.
Defect removal efficiency
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q7 mcq
How many values can be held by an array $\text{A}(-1, \text{m}; 1, \text{m})$?
a.
$\text{m}$
b.
$\text{m}^2$
c.
$\text{m}(\text{m} + 1)$
d.
$\text{m}(\text{m} + 2)$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q7 mcq
The 'PROJECT' operator of a relational algebra creates a new table that has always
a.
More columns than columns in original table
b.
More rows than original table
c.
Same number of rows as the original table.
d.
Same number of columns as the original table.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q8 mcq
What is the result of expression $(1 \ \&\ 2) + (3/4)$?
a.
1
b.
2
c.
3
d.
0
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q8 mcq
The employee information of an Organization is stored in the relation: Employee (name, sex, salary, deptname) Consider the following SQL query. Select deptname from Employee Where sex = 'M' group by deptname having avg (salary) > {select avg (salary) from Employee} Output of the given query corresponds to
a.
Averge salary of employee more than average salary of the organization.
b.
Average salary less than average salary of the organization
c.
Average salary of employee equal to average salary of the organization.
d.
Average salary of male employees in a department is more than average salary of the organization
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q9 mcq
How many times the word ‘print’ shall be printed by the following program segment? for $(\text{i} = 1, \text{i} \le 2, \text{i}++)$ for $(\text{j} = 1, \text{j} \le 2, \text{j}++)$ for $(\text{k} = 1, \text{k} \le 2, \text{k}++)$ printf(“print/n”)
a.
1
b.
3
c.
6
d.
8
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q9 mcq
For a database relation $R(a, b, c, d)$ where the domains of $a, b, c, d$ include only the atomic values. The functional dependency $a \rightarrow c$, $b \rightarrow d$ holds in the following relation
a.
In 1NF not in 2NF
b.
In 2NF not in 3NF
c.
In 3NF
d.
In 1NF
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q10 mcq
Which of the following is not a type of Database Management System?
a.
Hierarchical
b.
Network
c.
Relational
d.
Sequential
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q10 mcq
Match the following: (A) RAID 0 (i) Bit interleaved parity (B) RAID 1 (ii) Non redundant stripping (C) RAID 2 (iii) Mirrored disks (D) RAID 3 (iv) Error correcting codes. Codes: $$\begin{matrix} & \text{A} & \text{B} & \text{C} & \text{D} \\ (a) & \text{iv} & \text{i} & \text{ii} & \text{iii} \\ (b) & \text{iii} & \text{iv} & \text{i} & \text{ii} \\ (c) & \text{iii} & \text{i} & \text{iv} & \text{ii} \\ (d) & \text{iii} & \text{ii} & \text{iv} & \text{i} \end{matrix}$$
Question 20 image
a.
A - iv, B - i, C - ii, D - iii
b.
A - iii, B - iv, C - i, D - ii
c.
A - iii, B - i, C - iv, D - ii
d.
A - iii, B - ii, C - iv, D - i
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q11 mcq
Manager's salary details are to be hidden from Employee Table. This Technique is called as
a.
Conceptual level Datahiding
b.
Physical level Datahiding
c.
External level Datahiding
d.
Logical level Datahidng
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q11 mcq
The golden ratio $\varphi$ and its conjugate $\overline{\varphi}$ both satisfy the equation
a.
$x^3 - x - 1 = 0$
b.
$x^3 + x - 1 = 0$
c.
$x^2 - x - 1 = 0$
d.
$x^2 + x - 1 = 0$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q12 mcq
A Network Schema
a.
restricts to one to many relationship
b.
permits many to many relationship
c.
stores data in a database
d.
stores data in a relation
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q12 mcq
The solution of recurrence relation, $T(n) = 2T(\text{floor}(\sqrt{n})) + \log n$ is
a.
$O(n \log \log \log n)$
b.
$O(n \log \log n)$
c.
$O(\log \log n)$
d.
$O(\log n \log \log n)$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q13 mcq
Which normal form is considered as adequate for usual database design?
a.
2NF
b.
3NF
c.
4NF
d.
5NF
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q13 mcq
In any n-element heap, the number of nodes of height h is
a.
less than equal to $\left[\frac{n}{2^h}\right]$
b.
greater than $\left[\frac{n}{2^h}\right]$
c.
greater than $\left[\frac{n}{2^{h+1}}\right]$
d.
less than equal to $\left[\frac{n}{2^{h+1}}\right]$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q14 mcq
If $\text{D}_1, \text{D}_2, \dots, \text{D}_n$ are domains in a relational model, then the relation is a table, which is a subset of
a.
$\text{D}_1 + \text{D}_2 + \dots + \text{D}_n$
b.
$\text{D}_1 \times \text{D}_2 \times \dots \times \text{D}_n$
c.
$\text{D}_1 \cup \text{D}_2 \cup \dots \cup \text{D}_n$
d.
$\text{D}_1 - \text{D}_2 - \dots - \text{D}_n$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q14 mcq
A data file of $1,00,000$ characters contains only the characters g-l, with the frequencies as indicated in table: \begin{tabular}{|l|c|c|c|c|c|c|} \hline & g & h & i & j & k & l \\ \hline \textbf{Frequency in thousand} & 45 & 13 & 12 & 16 & 9 & 5 \\ \hline \end{tabular} using the variable-length code by Huffman codes, the file can be encoded with
Question 28 image
a.
$2,52,000$ bits
b.
$2,64,000$ bits
c.
$2,46,000$ bits
d.
$2,24,000$ bits
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q15 mcq
Which of the following addresses is used to deliver a message to the correct application program running on a host?
a.
Port
b.
IP
c.
Logical
d.
Physical
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q15 mcq
A vertex cover of an undirected graph $G(V, E)$ is a subset $V_1 \subseteq V$ vertices such that
a.
Each pair of vertices in $V_1$ is connected by an edge.
b.
If $(u, v) \in E$ then $u \in V_1$ and $v \in V_1$
c.
If $(u, v) \in E$ then $u \in V_1$ or $v \in V_1$
d.
All pairs of vertices in $V_1$ are not connected by an edge.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q16 mcq
In ________ substitution, a character in the plaintext is always changed to the same character in the ciphertext, regardless of its position in the text.
a.
polyalphabetic
b.
monoalphabetic
c.
transpositional
d.
multialphabetic
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q16 mcq
In a fully connected mesh network with $n$ devices, there are _______ physical channels to link all devices.
a.
$n(n-1)/2$
b.
$n(n+1)/2$
c.
$2n$
d.
$2n+1$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q17 mcq
In classful addressing, the IP address 190.255.254.254 belongs to
a.
Class A
b.
Class B
c.
Class C
d.
Class D
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q17 mcq
The baud rate of a signal is $600\text{ baud/second}$. If each signal unit carries $6\text{ bits}$, then the bit rate of a signal is _______
a.
$3600$
b.
$100$
c.
$6/600$
d.
None of the above.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q18 mcq
In hierarchical routing with 4800 routers, what region and cluster sizes should be chosen to minimize the size of the routing table for a three layer hierarchy?
a.
10 clusters, 24 regions and 20 routers
b.
12 clusters, 20 regions and 20 routers
c.
16 clusters, 12 regions and 25 routers
d.
15 clusters, 16 regions and 20 routers.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q18 mcq
Match the following: (A) Data link layer - (i) Flow control (B) Network layer - (ii) Node to node delivery (C) Transport layer - (iii) Mail services (D) Application layer - (iv) Routing \textbf{Codes:} \begin{tabular}{ccccc} & A & B & C & D \\ (a) & ii & i & iv & iii \\ (b) & ii & iv & i & iii \\ (c) & ii & i & iii & iv \\ (d) & ii & iv & iii & i \\ \end{tabular}
a.
A - ii, B - i, C - iv, D - iii
b.
A - ii, B - iv, C - i, D - iii
c.
A - ii, B - i, C - iii, D - iv
d.
A - ii, B - iv, C - iii, D - i
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q19 mcq
In IPv4 header, the _______ field is needed to allow the destination host to determine which datagram a newly arrived fragments belongs to
a.
identification
b.
fragment offset
c.
time to live
d.
header checksum
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q19 mcq
An image is $1024 \times 800$ pixels with $3\text{ bytes/pixel}$. Assume the image is uncompressed. How long does it take to transmit it over a $10\text{-Mbps}$ Ethernet?
a.
$196.6\text{ seconds}$
b.
$19.66\text{ seconds}$
c.
$1.966\text{ seconds}$
d.
$0.1966\text{ seconds}$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q20 mcq
Given $\text{L1} = \text{L}(\text{a*baa*})$ and $\text{L2} = \text{L}(\text{ab*})$. The regular expression corresponding to language $\text{L3} = \text{L1}/\text{L2}$ (right quotient) is given by
a.
$a^*b$
b.
$a^*baa^*$
c.
$a^*ba^*$
d.
None of the above.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q20 mcq
The _______ measures the relative strengths of two signals or a signal at two different points.
a.
Frequency
b.
Attenuation
c.
Throughput
d.
Decibel
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q21 mcq
Given the production rules of a grammar $\text{G}_1$ as $$\text{S}_1 \rightarrow \text{AB} \mid \text{aaB}; \quad \text{A} \rightarrow \text{a} \mid \text{Aa}; \quad \text{B} \rightarrow \text{b}$$ and the production rules of a grammar $\text{G}_2$ as $$\text{S}_2 \rightarrow \text{aS}_2\text{bS}_2 \mid \text{bS}_2\text{aS}_2 \mid \lambda$$ Which of the following statement is correct statement?
a.
$\text{G}_1$ is ambiguous and $\text{G}_2$ is not ambiguous
b.
$\text{G}_1$ is ambiguous and $\text{G}_2$ is ambiguous
c.
$\text{G}_1$ is not ambiguous and $\text{G}_2$ is ambiguous
d.
$\text{G}_1$ is not ambiguous and $\text{G}_2$ is not ambiguous
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q21 mcq
Which one of the following media is multidrop?
a.
Shielded Twisted pair cable
b.
Unshielded Twisted pair cable
c.
Thick Coaxial cable
d.
Fiber Optic cable.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q22 mcq
Given a grammar: $\text{S}_1 \rightarrow \text{Sc}$, $\text{S} \rightarrow \text{SA} \mid \text{A}$, $\text{A} \rightarrow \text{aSb} \mid \text{ab}$, there is a rightmost derivation $$\text{S}_1 \Rightarrow \text{Sc} \Rightarrow \text{SAc} \Rightarrow \text{SaSbc}$$ Thus, $\text{SaSbc}$ is a right sentential form, and its handle is
a.
$\text{SaS}$
b.
$\text{bc}$
c.
$\text{Sbc}$
d.
$\text{aSb}$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q22 mcq
What is the baud rate of the standard $10\text{ Mbps}$ Ethernet?
a.
$10\text{ megabaud}$
b.
$20\text{ megabaud}$
c.
$30\text{ megabaud}$
d.
$40\text{ megabaud}$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q23 mcq
The equivalent production rules corresponding to the production rules $S \rightarrow S\alpha_1 \mid S\alpha_2 \mid \beta_1 \mid \beta_2$ is
a.
$S \rightarrow \beta_1 \mid \beta_2, A \rightarrow \alpha_1 A \mid \alpha_2 A \mid \lambda$
b.
$S \rightarrow \beta_1 \mid \beta_2 \mid \beta_1 A \mid \beta_2 A, A \rightarrow \alpha_1 A \mid \alpha_2 A$
c.
$S \rightarrow \beta_1 \mid \beta_2, A \rightarrow \alpha_1 A \mid \alpha_2 A$
d.
$S \rightarrow \beta_1 \mid \beta_2 \mid \beta_1 A \mid \beta_2 A, A \rightarrow \alpha_1 A \mid \alpha_2 A \mid \lambda$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q23 mcq
At any iteration of simplex method, if $\Delta j(Zj-Cj)$ corresponding to any non-basic variable $Xj$ is obtained as zero, the solution under the test is
a.
Degenerate solution
b.
Unbounded solution
c.
Alternative solution
d.
Optimal solution
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q24 mcq
Given a Non-deterministic Finite Automation (NFA) with states p and r as initial and final states respectively and transition table as given below: The minimum number of states required in Deterministic Finite Automation (DFA) equivalent to NFA is
Question 47 image
a.
5
b.
4
c.
3
d.
2
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q24 mcq
A basic feasible solution to a m-origin, n-destination transportation problem is said to be ________ if the number of positive allocations are less than $m + n - 1$.
a.
degenerate
b.
non-degenerate
c.
unbounded
d.
unbalanced
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q25 mcq
Which is the correct statement(s) for Non Recursive predictive parser? $$\text{S}_1 : \text{First}(\alpha) = \left\{ t \mid \alpha \stackrel{*}{\Rightarrow} t\beta \text{ for some string } \beta \right\} \Rightarrow^* t\beta$$ $$\text{S}_2 : \text{Follow}(X) = \left\{ a \mid S \stackrel{*}{\Rightarrow} \alpha X a \beta \text{ for some strings } \alpha \text{ and } \beta \right\}$$
a.
Both statement $\text{S}_1$ and $\text{S}_2$ are incorrect
b.
$\text{S}_1$ is incorrect and $\text{S}_2$ is correct
c.
$\text{S}_1$ is correct and $\text{S}_2$ is incorrect
d.
Both statement $\text{S}_1$ and $\text{S}_2$ are correct.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q25 mcq
The total transportation cost in an initial basic feasible solution to the following transportation problem using Vogel's Approximation method is
Question 50 image
a.
76
b.
80
c.
90
d.
96
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q26 mcq
Given an open address hash table with load factor $\alpha < 1$, the expected number of probes in a successful search is
a.
$\text{Atmost } \frac{1}{\alpha}\ln\left(\frac{1-\alpha}{\alpha}\right)$
b.
$\text{Atmost } \frac{1}{\alpha}\ln\left(\frac{1}{1-\alpha}\right)$
c.
$\text{Atleast } \frac{1}{\alpha}\ln\left(\frac{1}{1-\alpha}\right)$
d.
$\text{Atleast } \frac{1}{\alpha}\ln\left(\frac{\alpha}{1-\alpha}\right)$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q26 mcq
An actor in an animation is a small program invoked _____ per frame to determine the characteristics of some object in the animation.
a.
once
b.
twice
c.
30 times
d.
60 times
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q27 mcq
For a B-tree of height h and degree t, the total CPU time used to insert a node is
a.
$\text{O(h log t)}$
b.
$\text{O(t log h)}$
c.
$\text{O(t}^2\text{h)}$
d.
$\text{O(th)}$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q27 mcq
Bresenham line drawing algorithm is attractive because it uses
a.
Real arithmetic only
b.
Integer arithmetic only
c.
Floating point arithmetic
d.
Real and integer arithmetic
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q28 mcq
The time complexity to build a heap with a list of n numbers is
a.
$\text{O (log n)}$
b.
$\text{O(n)}$
c.
$\text{O(nlogn)}$
d.
$\text{O(n}^2\text{)}$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q28 mcq
The refresh rate above which a picture stops flickering and fuses into a steady image is called _______
a.
Crucial fusion frequency
b.
Current frequency fusion
c.
Critical fusion frequency
d.
Critically diffused frequency
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q29 mcq
The value of postfix expression $$8\ 3\ 4\ +\ -\ 3\ 8\ 2\ /\ +\ *\ 2\ \$\ 3\ +\text{ is}$$
a.
17
b.
131
c.
64
d.
52
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q29 mcq
In homogenous coordinate system $(x, y, z)$ the points with $z = 0$ are called
a.
Cartesian points
b.
Parallel points
c.
Origin point
d.
Point at infinity
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q30 mcq
Consider the following statements for priority queue: S1 : It is a data structure in which the intrinsic ordering of the elements does determine the result of its basic operations. S2: The elements of a priority queue may be complex structures that are ordered on one or several fields. Which of the following is correct?
a.
Both S1 and S2 are incorrect
b.
S1 is correct and S2 is incorrect
c.
S1 is incorrect and S2 is correct
d.
Both S1 and S2 are correct.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q30 mcq
If 40 black lines interleaved with 40 white lines can be distinguished across one inch, the resolution is
a.
40 line-pairs per inch
b.
80 line-pairs per inch
c.
1600 lines per inch
d.
40 lines per inch
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q31 mcq
Repository of information gathered from multiple sources, storing under unified scheme at a single site is called as
a.
Data mining
b.
Meta data
c.
Data warehousing
d.
Database
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q31 mcq
Images tend to be very large collection of data. The size of memory required for a 1024 by 1024 image in which the colour of each pixel is represented by a n-bit number, (in an 8 bit machine) is
a.
$n \times 8\text{ MB}$
b.
$n/8\text{ MB}$
c.
$(1024 \times 1024)/8\text{ MB}$
d.
$1024\text{ MB}$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q32 mcq
The task of correcting and pre-processing data is called as
a.
Data streaming
b.
Data cleaning
c.
Data mining
d.
Data storming
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q32 mcq
Arrays in C language can have _______ with reference to memory representation
a.
n-subscripts
b.
two-subscripts
c.
only one subscript
d.
three subscripts only
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q33 mcq
Using data $p = 3$, $q = 11$, $n = pq$, $d = 7$ in RSA algorithm find the cipher text of the given plain text SUZANNE
a.
BUTAEEZ
b.
SUZANNE
c.
XYZABCD
d.
ABCDXYZ
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q33 mcq
Refer the points as listed below: (1) What are the operator precedence rules? (2) What are the operator associativity rules? (3) What is the order of operand evalution? (4) Are there restrictions on operand evaluation side effects? Which of the above must be considered as primary design issues for arithmetic expressions?
a.
1, 2 and 3
b.
1, 3 and 4
c.
1, 2 and 4
d.
1, 2, 3 and 4
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q34 mcq
The relation 'divides' on a set of positive integers is _________
a.
Symmetric and transitive
b.
Anti symmetric and transitive
c.
Symmetric only
d.
Transitive only
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q34 mcq
Horn caluses are special kinds of propositions which can be described as
a.
Single atomic proposition on left side.
b.
Single or multiple atomic proposition on left side.
c.
A single atomic proposition on left side and a single atomic proposition on right side.
d.
A single atomic proposition on left side or an empty left side.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q35 mcq
Give as good a big-O estimate as possible for the following functions: $(n o \log n + n^2)(n^3 + 2)$ and $(n! + 2^n)(n^3 + \log(n^2 + 1))$
a.
$O(n^5 + 2n^2) \ \& \ O(n^3 * n!)$
b.
$O(n^5) \ \& \ O(n^3 * 2^n)$
c.
$O(n^5) \ \& \ O(n^3 * n!)$
d.
$O(n^5 + 2n^2) \ \& \ O(n^3 * 2^n)$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q35 mcq
Which of the following is/are the fundamental semantic model(s) of parameter passing?
a.
in mode
b.
out mode
c.
in-out mode
d.
all of the above
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q36 mcq
A test contains 100 true/false questions. How many different ways can a student answer the questions on the test, if the answer may be left blank also.
a.
$^{100}\text{P}_2$
b.
$^{100}\text{C}_2$
c.
$2^{100}$
d.
$3^{100}$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q36 mcq
The grammar with production rules $S \rightarrow aSb \mid SS \mid \lambda$ generates language $L$ given by:
a.
$L = \{w \in \{a, b\}^* \mid n_a(w) = n_b(w) \text{ and } n_a(v) \ge n_b(v) \text{ where } v \text{ is any prefix of } w\}$
b.
$L = \{w \in \{a, b\}^* \mid n_a(w) = n_b(w) \text{ and } n_a(v) \le n_b(v) \text{ where } v \text{ is prefix of } w\}$
c.
$L = \{w \in \{a, b\}^* \mid n_a(w) \ne n_b(w) \text{ and } n_a(v) \ge n_b(v) \text{ where } v \text{ is prefix of } w\}$
d.
$L = \{w \in \{a, b\}^* \mid n_a(w) \ne n_b(w) \text{ and } n_a(v) \le n_b(v) \text{ where } v \text{ is prefix of } w\}$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q37 mcq
Which of the following connected simple graph has exactly one spanning tree?
a.
Complete graph
b.
Hamiltonian graph
c.
Euler graph
d.
None of the above.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q37 mcq
A pushdown automation $M = (Q, \Sigma, \Gamma, \delta, q_0, z, F)$ is set to be deterministic subject to which of the following condition(s), for every $q \in Q$, $a \in \Sigma \cup \{\lambda\}$ and $b \in \Gamma$ (s1) $\delta(q, a, b)$ contains at most one element (s1) if $\delta(q, \lambda, b)$ is not empty then $\delta(q, c, b)$ must be empty for every $c \in \Sigma$
a.
only s1
b.
only s2
c.
both s1 and s2
d.
neither s1 nor s2
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q38 mcq
How many edges must be removed to produce the spanning forest of a graph with N vertices, M edges and C connected components?
a.
$M + N - C$
b.
$M - N - C$
c.
$M - N + C$
d.
$M + N + C$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q38 mcq
For every context free grammar (G) there exists an algorithm that passes any $w \in L(G)$ in number of steps proportional to
a.
$\ln |w|$
b.
$|w|$
c.
$|w|^2$
d.
$|w|^3$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q39 mcq
Which of the following shall be a compound proposition involving the propositions p, q and r, that is true when exactly two of the q, p and r are true and one is false otherwise?
a.
$(p \lor q \land \neg r) \lor (p \land q \land r) \land (\neg p \land q \lor r)$
b.
$(p \land q \lor r) \land (p \land q \land r) \lor (\neg p \land \neg q \lor \neg r)$
c.
$(p \land q \land \neg r) \land (p \land \neg q \land r) \lor (\neg p \land q \land r)$
d.
$(p \lor q \land r) \lor (p \land q \land r) \lor (\neg p \land q \land r)$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q39 mcq
Match the following: (A) Context sensitive language (B) Regular grammar (C) Context free grammar (D) Unrestricted grammar (i) Deterministic finite automation (ii) Recursive enumerable (iii) Recursive language (iv) Pushdown automation Codes: $$\begin{array}{ccccc} & \text{A} & \text{B} & \text{C} & \text{D} \\ \text{(a)} & \text{ii} & \text{i} & \text{iv} & \text{iii} \\ \text{(b)} & \text{iii} & \text{iv} & \text{i} & \text{ii} \\ \text{(c)} & \text{iii} & \text{i} & \text{iv} & \text{ii} \\ \text{(d)} & \text{ii} & \text{iv} & \text{i} & \text{iii} \end{array}$$
a.
A - ii, B - i, C - iv, D - iii
b.
A - iii, B - iv, C - i, D - ii
c.
A - iii, B - i, C - iv, D - ii
d.
A - ii, B - iv, C - i, D - iii
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q40 mcq
The truth value of the statements: $\exists! x P(x) \rightarrow \exists x P(x)$ and $\exists! x \neg P(x) \rightarrow \neg \forall x P(x)$ (where the notation $\exists! x P(x)$ denotes the proposition “There exists a unique x such that P(x) is true”) are :
a.
True and False
b.
False and True
c.
False and False
d.
True and True
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q40 mcq
The statements s1 and s2 are given as s1: Context sensitive languages are closed under intersection, concatenation, substitution and inverse homomorphism. s2: Context free languages are closed under complementation, substitution and homomorphism. Which of the following is correct statement?
a.
Both s1 and s2 are correct.
b.
s1 is correct and s2 is not correct
c.
s1 is not correct and s2 is correct
d.
both s1 and s2 are correct.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q41 mcq
How many different Boolean functions of degree 4 are there?
a.
$2^4$
b.
$2^8$
c.
$2^{12}$
d.
$2^{16}$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q41 mcq
Which one of the following is not an addressing mode?
a.
Register indirect
b.
Autoincrement
c.
Relative indexed
d.
Immediate operand
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q42 mcq
A Boolean operator $\ominus$ is defined as follows $1 \ominus 1 = 1$, $1 \ominus 0 = 0$, $0 \ominus 1 = 0$ and $0 \ominus 0 = 1$ What will be the truth value of the expression $(x \ominus y) \ominus z = x \ominus (y \ominus z)$?
a.
Always false
b.
Always true
c.
Sometimes true
d.
True with x, y, z are all true.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q42 mcq
Computers can have instruction formates with
a.
only two address and three address instructions
b.
only one address and two address instruction
c.
only one address, two address and three address
d.
zero address, one address, two address and three address instructions.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q43 mcq
Which one of the following is decimal value of a signed binary number $1101010$, if it is in 2's complement form?
a.
$-42$
b.
$-22$
c.
$-21$
d.
$-106$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q43 mcq
Which is not a typical program control instruction?
a.
BR
b.
JMP
c.
SHL
d.
TST
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q44 mcq
A set of processors $\text{P}_1, \text{P}_2, \dots, \text{P}_k$ can execute in parallel if Bernstein's conditions are satisfied on a pairwise basis; that is $$\text{P}_1 \parallel \text{P}_2 \parallel \text{P}_3 \parallel \dots \parallel \text{P}_k \text{ if and only if:}$$
a.
$\text{P}_i \parallel \text{P}_j$ for all $i \neq j$
b.
$\text{P}_i \parallel \text{P}_j$ for all $i = j + 1$
c.
$\text{P}_i \parallel \text{P}_j$ for all $i \le j$
d.
$\text{P}_i \parallel \text{P}_j$ for all $i \ge j$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q44 mcq
Interrupt which arises from illegal or erroneous use of an instruction or data is
a.
Software interrupt
b.
Internal interrupt
c.
External interrupt
d.
All of the above
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q45 mcq
When a mobile telephone physically moves from one to another cell, the base station transfers ownership to the cell getting strongest signal. This process is known as _______
a.
handoff
b.
mobile switching
c.
mobile routing
d.
cell switching
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q45 mcq
The simplified function in product of sums of Boolean function $F(W, X, Y, Z) = \Sigma(0, 1, 2, 5, 8, 9, 10)$ is
a.
$(W' + X')(Y' + Z')(X' + Z)$
b.
$(W' + X')(Y' + Z')(X' + Z')$
c.
$(W' + X')(Y' + Z)(X' + Z)$
d.
$(W' + X')(Y + Z')(X' + Z)$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q46 mcq
A virtual memory based memory mangement algorithm partially swaps out a process. This is an example of
a.
Short term scheduling
b.
Long term scheduling
c.
Medium term scheduling
d.
Mutual exclusion
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q46 mcq
Match the following: (A) TTL (i) High component density (B) ECL (ii) Low power consumption (C) MOS (iii) Evolution of 'diode-transistor-logic' (D) CMOS (iv) High speed digital circuits.
a.
A - iii, B - ii, C - i, D - iv
b.
A - i, B - iv, C - iii, D - ii
c.
A - iii, B - iv, C - i, D - ii
d.
A - i, B - ii, C - iii, D - iv
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q47 mcq
Assuming that the disk head is located initially at $32$, find the number of disk moves required with FCFS if the disk queue of I/O block requests are $98, 37, 14, 124, 65, 67$:
a.
$310$
b.
$324$
c.
$320$
d.
$321$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q47 mcq
Match the following: (A) Foreign keys (i) Domain constraint (B) Private keys (ii) Referential integrity (C) Event control action model (iii) Encryption (D) Data security (iv) Trigger
a.
A - iii, B - ii, C - i, D - iv
b.
A - ii, B - i, C - iv, D - iii
c.
A - iii, B - iv, C - i, D - ii
d.
A - i, B - ii, C - iii, D - iv
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q48 mcq
Let the page fault service time be $10\text{ milliseconds (ms)}$ in a computer with average memory access time being $20\text{ nanoseconds (ns)}$. If one page fault is generated for every $10^6$ memory accesses, what is the effective access time for memory?
a.
$21\text{ ns}$
b.
$23\text{ ns}$
c.
$30\text{ ns}$
d.
$35\text{ ns}$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q48 mcq
When an array is passed as a parameter to a function which of the following statements is correct?
a.
The function can changes values in the original array.
b.
The function cannot change values in the original array
c.
Results in compilation error
d.
Results in runtime error.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q49 mcq
Consider the following UNIX command: `sort <in> temp; head - 30 <temp; rm temp` Which of the following functions shall be performed by this command?
a.
Sort, taking the input from 'temp', prints 30 lines from temp and delete the file temp.
b.
Sort the file 'temp', removes 30 lines from temp and delete the file temp.
c.
Sort, taking the input from 'in' and writing the output to 'temp' then prints 30 lines from temp on terminal. Finally 'temp' is removed.
d.
Sort, taking the input from 'temp' and then prints 30 lines from 'temp' on terminal. Finally 'temp' is removed.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q49 mcq
Suppose you want to delete the name that occurs before 'Vivek' in an alphabetical listing. Which of the following data structures shall be most efficient for this operation?
a.
Circular linked list
b.
Doubly linked list
c.
Linked list
d.
Dequeue
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q50 mcq
The mv command changes
a.
the inode
b.
the inode-number.
c.
the directory entry
d.
both the directory entry and the inode.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q50 mcq
What will be the output of the following segment of the program? \begin{verbatim} main ( ) { char*s = "hello world"; int i = 7; printf("%.*s", i, s); } \end{verbatim}
a.
Syntax error
b.
hello w
c.
hello
d.
o world
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q51 mcq
Trace the error: \begin{verbatim} void main ( ) { int *b, &a; *b = 20 printf(“%d, %d”, a, *b) } \end{verbatim}
a.
No error
b.
Logical error
c.
Syntax error
d.
Semantic error.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q52 mcq
Match the following: (A) calloc( ) (i) Frees previously allocated space (B) free( ) (ii) Modifies previously allocated space (C) malloc ( ) (iii) Allocates space for array (D) realloc( ) (iv) Allocates requested size of space
a.
(A)-(iii), (B)-(i), (C)-(iv), (D)-(ii)
b.
(A)-(iii), (B)-(ii), (C)-(i), (D)-(iv)
c.
(A)-(iii), (B)-(iv), (C)-(i), (D)-(ii)
d.
(A)-(iv), (B)-(ii), (C)-(iii), (D)-(i)
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q53 mcq
Binary symmetric channel uses
a.
Half duplex protocol
b.
Full duplex protocol
c.
Bit oriented protocol
d.
None of the above
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q54 mcq
Hamming distance between 100101000110 and 110111101101 is
a.
3
b.
4
c.
5
d.
6
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q55 mcq
Given code word 1110001010 is to be transmitted with even parity check bit. The encoded word to be transmitted for this code is
a.
11100010101
b.
11100010100
c.
1110001010
d.
111000101
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q56 mcq
The number of distinct binary images which can generated from a given binary image of right $\text{M} \times \text{N}$ are
a.
$\text{M} + \text{N}$
b.
$\text{M} \times \text{N}$
c.
$2^{\text{M}+\text{N}}$
d.
$2^{\text{MN}}$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q57 mcq
If $f(x, y)$ is a digital image, then $x$, $y$ and amplitude values of $f$ are
a.
finite
b.
infinite
c.
neither finite nor infinite
d.
none of the above.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q58 mcq
Consider the following processor with time slice of 4 milliseconds (I/O requests are ignored): $$\begin{array}{lcccc} \text{Process} & \text{A} & \text{B} & \text{C} & \text{D} \\ \text{Arrival time} & 0 & 1 & 2 & 3 \\ \text{CPU cycle} & 8 & 4 & 9 & 5 \end{array}$$ The average turn around time of these processes will be
Question 108 image
a.
19.25 milliseconds
b.
18.25 milliseconds
c.
19.5 milliseconds
d.
18.5 milliseconds
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q59 mcq
A job has four pagse A, B, C, D and the main memory has two page frames only. The job needs to process its pages in following order: ABACABDBACD Assuming that a page interrupt occurs when a new page is brought in the main memory, irrespective of whether the page is swapped out or not. The number of page interrupts in FIFO and LRU page replacement algorithms are
a.
9 and 7
b.
7 and 6
c.
9 and 8
d.
8 and 6
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q60 mcq
Suppose S and Q are two semaphores initialized to 1. P1 and P2 are two processes which are sharing resources. **P1 has statements** wait(S); wait(Q); critical-section 1; signal(S); signal(Q); **P2 has statements** wait(Q); wait(S); critical-section 2; signal(Q); signal(S); Their execution may sometimes lead to an undesirable situation called
a.
Starvation
b.
Race condition
c.
Multithreading
d.
Deadlock
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q61 mcq
An operating system using banker's algorithm for deadlock avoidance has ten dedicated devices (of same type) and has three processes P1, P2 and P3 with maximum resource requirements of 4, 5 and 8 respectively. There are two states of allocation of devices as follows: **State 1** Processes: P1, P2, P3 Devices allocated: 2, 3, 4 **State 2** Processes: P1, P2, P3 Devices allocated: 0, 2, 4 Which of the following is correct?
a.
State 1 is unsafe and state 2 is safe.
b.
State 1 is safe and state 2 is unsafe.
c.
Both, state 1 and state 2 are safe
d.
Both, state 1 and state 2 are unsafe.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q62 mcq
Let the time taken to switch between user mode and kernel mode of execution be $\text{T1}$ while time taken to switch between two user processes be $\text{T2}$. Which of the following is correct?
a.
$\text{T1} < \text{T2}$
b.
$\text{T1} > \text{T2}$
c.
$\text{T1} = \text{T2}$
d.
Nothing can be said about the relation between $\text{T1}$ and $\text{T2}$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q63 mcq
Working set model is used in memory management to implement the concept of
a.
Swapping
b.
Principal of locality
c.
Segmentation
d.
Thrashing
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q64 mcq
A UNIX file system has $1\text{ KB}$ block size and $4\text{-byte}$ disk addresses. What is the maximum file size if the inode contains ten direct block entries, one single indirect block entry, one double indirect block entry and one triple indirect block entry?
a.
$30\text{ GB}$
b.
$64\text{ GB}$
c.
$16\text{ GB}$
d.
$1\text{ GB}$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q65 mcq
A thread is usually defined as a light weight process because an Operating System (OS) maintains smaller data structure for a thread than for a process. In relation to this, which of the following statement is correct?
a.
OS maintains only scheduling and accounting information for each thread.
b.
OS maintains only CPU registers for each thread.
c.
OS does not maintain a separate stack for each thread.
d.
OS does not maintain virtual memory state for each thread
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q66 mcq
The versions of windows operating system like windows XP and windows Vista uses following file system:
a.
FAT-16
b.
FAT-32
c.
NTFS(NT File system)
d.
All of the above.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q67 mcq
Which one of the following is a correct implementation of the metapredicate “not” in PROLOG (here G represents a goal)?
a.
not(G):- !, call(G), fail. not(G).
b.
not(G):- call(G), !, fail. not(G).
c.
not(G):- call(G), fail, !. not(G).
d.
not(G), call(G), fail not(G):-!
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q68 mcq
Which one of the following is not an informed search technique?
a.
Hill climbing search
b.
Best first search
c.
A* search
d.
Depth first search
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q69 mcq
If we convert $$\exists u \; \forall v \; \forall x \; \exists y \; (\text{P}(\text{f}(\text{u}), \text{v}, \text{x}, \text{y}) \rightarrow \text{Q}(\text{u}, \text{v}, \text{y})) \text{ to } \forall v \; \forall x \; (\text{P}(\text{f}(\text{a}), \text{v}, \text{x}, \text{g}(\text{v}, \text{x})) \rightarrow \text{Q}(\text{a}, \text{v}, \text{g}(\text{v}, \text{x})))$$ This process is known as
a.
Simplication
b.
Unification
c.
Skolemization
d.
Resolution
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q70 mcq
Given two jugs of capacities 5 litres and 3 litres with no measuring markers on them. Assume that there is endless supply of water. Then the minimum number of states to measure 4 litres water will be
a.
3
b.
4
c.
5
d.
7
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q71 mcq
The map colouring problem can be solved using which of the following technique?
a.
Means-end analysis
b.
Constraint satisfaction
c.
AO* search
d.
Breadth first search
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q72 mcq
Which of the following is a knowledge representation technique used to represent knowledge about stereotype situation?
a.
Semantic network
b.
Frames
c.
Scripts
d.
Conceptual Dependancy
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q73 mcq
A fuzzy set $\text{A}$ on $\text{R}$ is _____ iff $\text{A}(\lambda x_1 + (1-\lambda)x_2) \ge \min\left[\text{A}(x_1), \text{A}(x_2)\right]$ for all $x_1, x_2 \in \text{R}$ and all $\lambda \in [0,1]$, where $\min$ denotes the minimum operator.
a.
Support
b.
$\alpha-\text{cut}$
c.
Convex
d.
Concave
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q74 mcq
If $\text{A}$ and $\text{B}$ are two fuzzy sets with membership functions. $$\mu_{\text{A}}(\text{x}) = \{0.6, 0.5, 0.1, 0.7, 0.8\}$$ $$\mu_{\text{B}}(\text{x}) = \{0.9, 0.2, 0.6, 0.8, 0.5\}$$ Then the value of $\mu_{\text{A}\cup \text{B}}(\text{x})$ will be
a.
$\{0.9, 0.5, 0.6, 0.8, 0.8\}$
b.
$\{0.6, 0.2, 0.1, 0.7, 0.5\}$
c.
$\{0.1, 0.5, 0.4, 0.2, 0.2\}$
d.
$\{0.1, 0.5, 0.4, 0.2, 0.3\}$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q75 mcq
Consider a single perception with weights as given in the following figure: and $\text{f(t)}$ defined as $\text{f(t)} = \begin{cases} 1, & t > 0 \\ 0, & t \le 0 \end{cases}$ The above perception can solve
Question 125 image
a.
OR problem
b.
AND problem
c.
XOR problem
d.
All of the above.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.