Recent questions tagged nielit2017july-scientistb-cs

2.1k
views
0 answers
5 votes
What does the following function do for a given Linked List with first node as head? void fun1(struct node* head) { if(head==NULL) return ... list in reverse orderPrints alternate nodes of Linked ListPrints alternate nodes in reverse order
1.2k
views
0 answers
0 votes
Which of the following statements is/are TRUE for an undirected graph?Number of odd degree vertices is evenSum of degrees of all vertices is evenP onlyQ onlyBoth P and QNeither P nor Q
1.7k
views
0 answers
4 votes
Consider the following function that takes reference to head of a Doubly Linked List as parameter. Assume that a node of doubly linked list has ...
1.3k
views
4 answers
2 votes
Let $A$ be a square matrix of size $n\times n$. Consider the following program. What is the expected output?C=100 for i=1 to n do for j=1 to ... upper diagonal elements and subtracting $100$ from diagonal elements of $A$.None of the option.
6.7k
views
2 answers
2 votes
Following is C like Pseudo code of a function that takes a number as an argument, and uses a stack S to do processing. void fun(int n) { Stack S;//Say it ... Prints the value of $\log n$.Prints the value of $\log n$ in reverse order.
1.3k
views
3 answers
4 votes
Assume that the operators $+,-,\times$ are left associative and $\wedge$ is right associative. The order of precedence(from highest to lowest) is $\wedge,\times, +,-$. ... $-+a\times bc\wedge\wedge def$
6.8k
views
2 answers
3 votes
A balance factor in AVL tree is used to checkwhat rotation to makeif all child nodes are at same levelwhen the last rotation occurredif the tree is unbalanced
1.1k
views
2 answers
2 votes
A priority queue is implemented as a Max-Heap. Initially, it has $5$ elements. The level-order traversal of the heap is: $10,8,5,3,2$. Two new elements $1$ and $7$ are inserted into the ... 5$10,8,7,2,3,1,5$10,8,7,1,2,3,5$10,8,7,5,3,2,1$
874
views
1 answers
2 votes
The worst case running times of Insertion sort, Merge sort and Quick sort, respectively, are$\Theta(n \log n),\Theta(n \log n) \text{ and } \Theta(n^2)$\Theta(n^2),\Theta(n ... n \log n)$\Theta(n^2),\Theta(n\log n) \text{ and } \Theta(n^2)$
1.3k
views
3 answers
1 votes
A queue is implemented using an array such that ENQUEUE and DEQUEUE operations are performed efficiently. Which one of the following statements is CORRECT($n$ refers to ... case time complexity for both operations will be $\Omega(\log n)$.
1.5k
views
4 answers
0 votes
Consider the following graph $L$ and find the bridges,if any.No bridge$\{d,e\}$\{c,d\}$\{c,d\}$ and $\{c,f\}$
2.4k
views
3 answers
0 votes
The following graph has no Euler circuit becauseIt has $7$ vertices.It is even-valent (all vertices have even valence).It is not connected.It does not have a Euler circuit.
2.3k
views
7 answers
0 votes
For the graph shown, which of the following paths is a Hamilton circuit?$ABCDCFDEFAEA$AEDCBAF$AEFDCBA$AFCDEBA$
8.3k
views
4 answers
0 votes
If $G$ is an undirected planar graph on $n$ vertices with $e$ edges then$e\leq n$e\leq 2n$e\leq 3n$None of the option
3.0k
views
2 answers
0 votes
Choose the most appropriate definition of plane graph.A simple graph which is isomorphic to hamiltonian graph.A graph drawn in a plane in such a way that if the ... that any pair of edges meet only at their end vertices.None of the option.
763
views
3 answers
1 votes
Which of the following propositions is tautology?$(p\lor q)\to q$p\lor (q\to p)$p\lor (p\to q)$Both (B) and (C)
3.8k
views
2 answers
1 votes
The digital multiplexer is basically a combination logic circuit to perform the operationAND-ANDOR-ORAND-OROR-AND
1.4k
views
2 answers
5 votes
If $A\oplus B=C$, then which one of the following is true?$A\oplus C=B$B\oplus C=A$A\oplus B\oplus C=0$Both (A) and (B)
1.8k
views
2 answers
1 votes
To make the following circuit a tautology ‘?’ marked box should beOR gateAND gateNAND gateEX-OR gate
1.0k
views
1 answers
1 votes
In the following gate network which gate is redundant?Gate no.$1$Gate no.$2$Gate no.$3$Gate no.$4$
2.5k
views
1 answers
1 votes
The combinational circuit given below is implemented with two NAND gates. To which of the following individual gates is its equivalent?NOTORANDXOR
984
views
1 answers
1 votes
What is the average Access Time for a drum rotating at $4000$ revolutions per minute?$2.5$ milliseconds$5.0$ milliseconds$7.5$ milliseconds$4.0$ milliseconds
1.1k
views
3 answers
0 votes
Comparing the time $T1$ taken for a single instruction on a pipelined CPU, with time $T2$ taken on a non-pipelined but identical CPU, we can say that ______ ?$T1=T2$T1>T2$T1<T2$T1$ is $T2$ plus time taken for one instruction fetch cycle
1.4k
views
1 answers
1 votes
How many wires are threaded through the cores in a coincident-current core memory?$2$3$4$6$
1.1k
views
3 answers
1 votes
Which access method is used for obtaining a record from cassette tape?DirectSequentialRandom Parallel
10.3k
views
2 answers
1 votes
The process of converting the analog sample into discrete form is calledModulationMultiplexingQuantizationSampling
1.5k
views
4 answers
1 votes
Which memory is difficult to interface with processor?Static memoryDynamic memoryROMNone of the option
1.2k
views
2 answers
1 votes
For a memory system, the cycle time isSame as the access time.Longer than the access time.Shorter than the access time.Multiple of the access time.
942
views
1 answers
0 votes
In comparison with static RAM memory, the dynamic RAM memory hasLower bit density and higher power consumptionHigher bit density and lower power consumptionLower bit density and lower power consumptionNone of the option
735
views
1 answers
1 votes
If each address space represents one byte of storage space, how many address lines are needed to access RAM chips arranged in a $4\times 6$ array, where each chip is $8K\times 4$ bits?$13$14$16$17$