· 8 years ago · Feb 27, 2018, 07:04 AM
11.
2The truth table
3X Y f(X,Y)
40 0 0
50 1 0
61 0 1
71 1 1
8represents the Boolean function :
9Answer: X
102.
11Consider the following recursive C function.
12Void get (int n)
13{if (n<1) return;
14get (n-1)
15get (n-3) ;
16printf ("%d",n);
17If get(6) function is being called in main () then how many times will the get() function be invoked before returning to the main ( ) ?
18
19Answer : 25
203.
21Which of the following is shared between all of the threads in a process? Assume a kernel level thread implementation.
22
23Answer: File Descriptor/ Heap/ Stack pointer/ stack (Shared)
24
254.
26 ____________is the first schema to be designed when you are developing a DBMS
27
28Answer: Relation Schema / Conceptual Schema
29
305.
31________________ operate at the network layer, connecting two or more network segments that use the same or different data link layer protocols, but the same network layer protocol.
32
33Answer: Router
34
356.
36Buffer stock’ is the level of stock which is ___________
37
387.
39The addressing mode used in an instruction of the form ADD R1, R2 is _____.
40
41Answer: Absolute/Direct Addressing
42
438.
44Which of the following is not true of virtual memory?
45
46Ans: It requires the use of a disk or other secondary storage.( Actually it does not require).
479.
48General Purpose Software which creates and manipulates database is
49
50Answer : DBMS
51
5210.
53The _____ is generally used to group hosts based on the physical network topology.
54
55Answer: Hub/Switch
56
5711.
58Identify the item that is not taken into account in computing the current ratio
59
6012.
61#include
62int main ()
63{
64static int a[]={10, 20, 30, 40, 50};
65static int *p[]= {a, a+3, a+4, a+1, a+2};
66int **ptr=p;
67ptr++;
68printf ("%d%d", **p, **ptr);
69}
70The output of the program is ___
71
72Answer: 10 40
73
74
75
76
77
78
79
80
81
82
83
84
85
86
8713.
88What will be the output of the following C program?
89void count(int n){
90static int d=1;
91printf("%d ", n);
92printf("%d ", d);
93d++;
94if(n>1) count(n-1);
95printf("%d ", d);
96}
97void main(){
98count(3);
99}
100
101Output : 3 1 2 2 1 3 4 4 4
10214.
103Which of the following are generally the inventories of a service business?
104
105Answer:
106
10715.
108The load instruction is mostly used to designate a transfer from memory to a
109processor register known as
110
111Answer: Accumulator
112
11316.
114With a single resource, deadlock occurs,
115a) if there are more than two processes competing for that resource
116b) if there are only two processes competing for that resource
117c) if there is a single process competing for that resource
118d) None of these
119Answer: Deadlock Doesnot occour with a single resource
120
121
122
123
12417.
125System catalogue is a system created database that describes
126
127
128
129
130
131
13218.
133______ operate at the network layer, connecting two or more network segments that use the same or different data link layer protocols, but the same network layer protocol.
134
135Answer: Router
136
13719.
138Which of the following is an advantage of using database systems?
139
140Answer: Data can be accessed by multiple programs
141
14220.
143User Datagram Protocol adds no additional reliability mechanisms except one which is optional. Identify that.
144Answer: Checksum
14521.
146Which of the following groups of workers would be classified under indirect labour?
147
14822.
149Mutual exclusion problem occurs between
150Two disjoint process that do not interact
151- Process sharing same resources
152- Process not sharing same resources
153- None of these
154
15523.
156Simplified form of the boolean expression (X + Y + XY) (X + Z) is
157Answer : X+YZ
158
15924.
160Consider the following program:
161int f(int *p, int n)
162{
163if (n <= 1) return 0;
164else return max ( f (p+1, n-1),p[0]-p[1]);
165}
166int main()
167{
168int a[] = {3,5,2,6,4};
169printf("%d", f(a,5));
170}
171The value printed by this program is
172Answer: 3 (i.e. 5-2=3 or the maximum difference between any two consecutive numbers taken from left to right)
173
17425.
175What schema defines how and where the data are organized in a physical storage?
176Answer: Physical Database Schema
17726.
178Which of the following logic expression is incorrect?
179Answer: 1 XOR 1 XOR 0 = 1 (FALSE, actually should be 0)
18027.
181The maintenance department of a manufacturing company is a/ an ____________
18228.
183For the IEEE 802.11 MAC protocol for wireless communication, which of the following statements is/are TRUE ?
184I. At least three non-overlapping channels are available for transmissions.
185II. The RTS-CTS mechanism is used for collision detection.
186III.Unicast frames are ACKed.
187Answer: ! and III are true
18829.
189Use of ________ allows for some processes to be waiting on I/O while another process executes.
190Answer :
19130.
192To prevent any method from overriding, the method has to declared as,
193Answer: Final
19431.
195The protocol data unit (PDU) for the application layer in the Internet stack is
196(C) Message is answer.
197
198For Application, Presentation and Session layers, the PDU is message
199
200For Transport layer, PDU is segment for TCP and datagram for UDP
201
202For Network layer, PDU is packet
203
204For Datalink layer, PDU is frames
205
206For physical layer, PDU is stream of bits
207
208
209
210
21132.
212The E-R model was first introduced by
213Answer: Peter Chen
21433.
215Acid test ratio should normally be ______
216
217
21834.
219The truth table
220X Y f(X,Y)
2210 0 0
2220 1 0
2231 0 1
2241 1 1
225represents the Boolean function
226Answer: X
22735.
228______ OS pays more attention on the meeting of the time limits.
229Answer: Real Time
230
23136.
232Consider the following C program.
233#include
234int f1 (void) ;
235int f 2 void ;
236int x 10;
237int main ()
238{
239int x=1;
240x+=f1()+ f2()+f3()+f2() ;
241printf("%d", x);
242return 0;
243}
244int f1(){int x=25; x++; return x;}
245int f2(){static int x =50; x++;return x;}
246int f3(){x*=10; return x};
247The output of the program is_________.
248Answer: 230
24937.
250Consider the function func shown below:
251int func(int num) {
252int count = 0;
253while (num) {
254count++;
255num>>= 1;
256}
257return (count);
258}
259The value returned by func(435)is
260Answer: 9
26138.
262Budgetary control facilitates easy introduction of the _________________
26339.
264The father of relational database system is
265Answer: Edgar Frank "Ted" Codd
266
26740.
268The performance of cache memory is frequently measured in terms of a quantity called
269Answer: Hit Ratio
270
27141.
272An Internet Service Provider (ISP) has the following chunk of CIDR-based IP addresses available with it: 245.248.128.0/20. The ISP wants to give half of this chunk of addresses to Organization A, and a quarter to Organization B, while retaining the remaining with itself. Which of the following is a valid allocation of address to A and B?
273
274(A) 245.248.136.0/21 and 245.248.128.0/22
275(B) 245.248.128.0/21 and 245.248.128.0/22
276(C) 245.248.132.0/22 and 245.248.132.0/21
277(D) 245.248.136.0/22 and 245.248.132.0/21
27842.
279Using 10's complement 72532- 3250 is
280Answer: 69282
28143.
282What is the RDBMS terminology for a row
283Answer: Tuple
28444.
285A current ratio of less than one means
286Answer: Liabilities are Greater than assets
28745.
288Consider the following C program segment.
289#include
290intmain()
291{char sl [7]="1234",*p;
292p=sl+2;
293*p='0';
294printf ("%s",sl)
295{
296What will be printed by the program?
297Answer: 1204
29846.
299The 16-bit 2?s complement representation of an integer is 1111 1111 1111 0101, its decimal representation is
300Answer : -11
301
302
303
304
305
306
307
308
30947.
310Which of the following is/are example(s) of stateful application layer protocols?
311(i)HTTP
312(ii)FTP
313(iii)TCP
314(iv)POP3
315Answer: (ii) & (iv)
31648.
317What is the software that runs a computer, including scheduling tasks, managing storage, and handling communication with peripherals?
318Answer: Operating System
31949.
320Budgetary control system acts as a friend, philosopher and guide to the ____________
321Management
322Share holders
323Creditors
324Employees
32550.
326Which of the following is not usually stored in a two-level page table?
327
32851.
329Consider the following recursive C function.
330Void get (int n)
331{if (n<1) return;
332get (n-1)
333get (n-3) ;
334printf ("%d",n);
335If get(6) function is being called in main () then how many times will the get() function be invoked before returning to the main ( ) ?
336Answer : 25
33752.
338A circuit that converts n inputs to 2^n outputs is called
339Answer : Decoder
34053.
341 The relationship that exists within the same entity type is called as _________ relationship.
342Answer: Recursive
34354.
344TCP manages a point-to-point and _______ connection for an application between two computers.
345Answer : Reliable
346
347
34855.
349Decoder is a
350
351Answer: decoder is a combinational logic circuit that converts binary information from the n coded inputs to a maximum of 2n unique outputs
35256.
353What is the maximum number of IP addresses that can be assigned to hosts on a local subnet that uses the 255.255.255.224 subnet mask?
354Answer: 30
35557.
356The purpose of a TLB is
357Answer: A translation lookaside buffer (TLB) is a memory cache that stores recent translations of virtual memory to physical addresses for faster retrieval
358
35958.
360#include
361int main ()
362{
363static int a[]={10, 20, 30 40, 50};
364static int *p[]= {a, a+3, a+4, a+1, a+2};
365int **ptr=p;
366ptr++;
367printf ("%d%d", ptr p, **ptr);
368}
369The output of the program is ________10 40__.
37059.
371The total cost that increases when the quantity produced is increased by one unit is called ____________
372Ans: Marginal Cost
37360.
374Normalisation of database is used to
375to reduce data redundancy and improve data integrity
376
37761.
378Consider the following program in C language:
379#include
380main()
381{
382int i;
383int *pi = &i;
384scanf(?%d?,pi);
385printf(?%d\n?, i+5);
386}
387It prints the value by incrementing it by 5
388Which one of the following statements is TRUE?
389
39062.
391What is the RDBMS terminology for a set of legal values that an attribute can have ?
392Answer: Domain
393
394Degree – Numver of columns
395Cardinality – Number of rows
396
39763.
398The _____ is generally used to group hosts based on the physical network topology.
399Answer : Hub/Switch
40064.
401To build a mod-19 counter the number of flip-flops required is
402Answer : 5
40365.
404Fixed budget is useless for comparison when the level of activity is ___________
40566.
406System calls:
407A system call is a way by which a program/process requests services of operating system (kernel). And a priviledged instructions in an instruction that can be performed only in kernel/supervisor mode.
40867.
409Which of the following is not an activity listed in the statement of cash flows?
41068.
411The smallest integer than can be represented by an 8-bit number in 2?s complement form is
412Answer: -128
41369.
414What is the main difference between traps and interrupts?
415Answer: Trap is a software generated interrupt.
41670.
417ATM uses a ____ packet size
418Answer : 53 Octets 5 Header + 48 Payload
41971.
420Which of the following concurrency control mechanisms insist unlocking of all read and write locks of transactions at the end of commit?
42172.
422Consider the following C program.
423#include
424int f1 (void) ;
425int f 2 void ;
426int x 10;
427int main ()
428{
429int x=1;
430x+=f1()+ f2()+f3()+f2() ;
431printf("%d", x);
432return 0;
433}
434int f1(){int x=25; x++; return x;}
435int f2(){static int x =50; x++;return x;}
436int f3(){x*=10; return x};
437The output of the program is_____230____.
43873.
439Class D in network is used for
440Answer: Multicasting
44174.
442What is the RDBMS technology for the number of attributes in a relation?
443Answer : Degree
44475.
445All factory costs are treated as _______ while all administration costs are treated as ________
44676.
4471024 bit is equal to how many byte
448Answer : 128
44977.
450Buffering is useful because
451The buffer allows each device or process to operate without being held up by the other.
45278.
453Consider the following C code segment:
454int a, b, c = 0;
455void prtFun(void);
456main( )
457{ static int a = 1; /* Line 1 */
458prtFun( );
459a + = 1;
460prtFun( )
461printf(?\n %d %d ?, a, b);
462}
463void prtFun(void)
464{ static int a=2; /* Line 2 */
465int b=1;
466a+=++b;
467printf(?\n %d %d ?, a, b);
468}
469What output will be generated by the given code segment if:
470Line 1 is replaced by auto int a = 1;
471Line 2 is replaced by register int a = 2;
472ANSWER: (A) 3 1
4734 1
4744 2
475(B) 4 2
4766 1
4776 1
478(C) 4 2
4796 2
4802 0
481(D) 4 2
4824 2
4832 0
484
48579.
486Consider the following program:
487int f(int *p, int n)
488{
489if (n <= 1) return 0;
490else return max ( f (p+1, n-1),p[0]-p[1]);
491}
492int main()
493{
494int a[] = {3,5,2,6,4};
495printf("%d", f(a,5));
496}
497The value printed by this program is
498ANSWER : 3
49980.
500 _______RELATIONAL/CONCEPTUAL_____is the first schema to be designed when you are developing a DBMS
50181.
502Adjacent squares in a K-Map represents a
503ANSWER: A group is a loose term for the enclosure containing adjacent square.
50482.
505If two interrupts, one of higher priority and other of lower priority occur simultaneously, then the service provided is for
506Answer: Higher Priority
50783.
508An area of a business which collects costs is known as __________
50984.
510What will be the output of the following program?
511
512#include
513using namespace std;
514
515class x {
516public:
517int a;
518x();
519};
520x::x() { a=10; cout<
521class b:public x {
522public:
523b();
524};
525b::b() { a=20; cout<
526int main ()
527{
528b temp;
529return 0;
530}
531Answer: 10 20
53285.
533An optimal scheduling algorithm in terms of minimizing the average waiting time of a given set of processes is ________.
534Answer: Shortest Job First
53586.
536Minterms are arranged in map in a sequence of
537Answer: Gray Code
53887.
539Which one of the following variables is not categorical?
540Answer : Age of a person
54188.
542Suppose that everyone in a group of N people wants to communicate secretly with N-1 others using symmetric key cryptographic system. The communication between any two persons should not be decodable by the others in the group. The number of keys required in the system as a whole to satisfy the confidentiality requirement is
543(A) 2N
544(B) N(N – 1)
545(C) N(N – 1)/2
546(D) (N – 1)2
54789.
548The servlet life cycle has the following cycle.
5491. Servlet class is loaded.
5502. Servlet instance is created.
5513. init method is invoked.
5524. service method is invoked.
5535. destroy method is invoked.
554
55590.
556In the IPv4 addressing format, the number of networks allowed under Class C addresses is
557Answer: 2,097,152 (221)
55891.
559What is data collection?
560Answer: Data collection is the process of gathering and measuring information on targeted variables in an established systematic fashion, which then enables one to answer relevant questions and evaluate outcomes.
56192.
562When a program tries to access a page that is mapped in address space but not loaded in physical memory, then
563Answer: Page fault occours
56493.
565The main difference between JK and RS flip-flop is that
566The main difference between a JK flip-flop and an SR flip-flop is that in the JK flip-flop, both inputs can be HIGH. When both the J and K inputs are HIGH, the Q output is toggled, which means that the output alternates between HIGH and LOW. Thereby the invalid condition which occurs in the SR flipflop is eliminated.
567
568
56994.
570SQl allows duplicates tuples in relations, and correspondingly defines the multiplicity of tuples in the result of joins. Which one of the following queries always gives the same answer as the nested query shown below:
571select * from R where a in (select S.a from S)
572A) Select R.* from R, S where R.a=S.a
573(B) Select distinct R.* from R, S where R.a=S.a
574(C) Select R.* from R, (select distinct a from S) as S1 where R.a=S1.a
575(D) Select R.* from R, S where R.a = S.a and is unique R
57695.
577Which algorithm chooses the page that has not been used for the longest period of time whenever the page required to be replaced?
578Answer: Least Recently Used(LRU)
57996.
580Which of the following unit will choose to transform decimal number to binary code ?
581A.
582Encoder
583B.
584Decoder
585C.
586Multiplexer
587D.
588Counter
58997.
590Given the following schema:employees(emp-id, first-name, last-name, hire-date,dept-id, salary)departments(dept-id, dept-name, manager-id, location-id)
591You want to display the last names and hire dates of all latest hires in their respective departments in the location ID 1700. You issue the following query:SQL>SELECT last-name, hire-date
592FROM employees
593WHERE (dept-id, hire-date) IN
594(SELECT dept-id, MAX(hire-date)
595FROM employees JOIN departments USING(dept-id)
596WHERE location-id = 1700
597GROUP BY dept-id);
598What is the outcome?
599 (A) It executes but does not give the correct result.
600(B) It executes and gives the correct result.
601(C) It generates an error because of pairwise comparison.
602(D) It generates an error because the GROUP BY clause cannot be used with table joins in a subquery
60398.
604The schedule used to measure a respondent’s opinion is ________
60599.
606The following function computes the maximum value contained in an integer array
607p[ ] of size n (n >= 1).
608int max(int *p, int n) {
609int a=0, b=n-1;
610while (__________) {
611if (p[a] <= p[b]) { a = a+1; }
612else { b = b-1; }
613}
614return p[a];
615}
616The missing loop condition is
617Answer: b!=a
618100.
619 ICMP is primarily used for
620Answer: Error and diagnostics
621101.
622List of all the units of the population is called _____________
623102.
624TCP manages a point-to-point and _______ connection for an application between two computers
625Answer: Reliable
626103.
627The best index for exact match query is
628104.
629The embedded c program is converted by cross compiler to
630Answer: Machine Language
631
632105.
633How many address bits are needed to select all memory locations in the 16K × 1 RAM?
634[A]. 8
635[B]. 10
636[C]. 14
637
638[D]. 16
639
640106.
641Which of the following boolean expressions is not logically equivalent to all of the rest ?
642(a) wxy' + wz' + wxyz + wy'z
643(b) w(x + y' + z')
644(c) w + x + y' + z'
645(d) wx + wy' + wz'
646
647107.
648If the main memory is of 8K bytes and the cache memory is of 2K words. It uses associative mapping. Then each word of cache memory shall be_____.
649a) 11 bits
650b) 21 bits
651c) 16 bits
652d) 20 bits
653108.
654The best sample is one that is ____________
655109.
656What is the output of the following program?
657
658#include
659using namespace std;
660int main()
661{
662int x=20;
663if(!(!x)&&x)
664cout<<x;
665 else
666{
667x=10;
668cout<<x;
669 return 0;
670}}</x;
671</x;
672Answer: 20
673
674110.
675Assume a table Employee (Eno, Ename, Dept, Salary, Phone) with 10000 records.
676Also assume that Employee has a non-clustering index on Salary, clustering indexes on Dept and Phone. If there is a SQL query "SELECT Eno FROM Employee WHERE Salary/12 = 10000", which of the following will happen during query execution?
677Answer: Search/Selection?
678111.
679Which of the following statements is true ?
680
681
682112. Which standard TCP port is assigned for contacting SSH servers?
683
684a) port 21
685b) port 22
686c) port 23
687d) port 24
688
689113.
690Consider the following schema as:
691Product_Master (prod_id, prod_name, rate)
692Purchase_details (prod_id, quantity, dept_no, purchase_date).
693Choose the suitable relational algebra expressionn for Get Product_id, Product_name & quantity for all purchased products
694114.
695When an instruction is read from the memory, it is called
696Answer: Instruction cycle (Also called Fetch-Decode-Execute Cycle)
697
698115.
699______________ research deals with practical problems
700116.
701Let the size of congestion window of a TCP connection be 32 KB when a timeout occurs. The round trip time of the connection is 100 msec and the maximum segment size used is 2 KB. The time taken (in msec) by the TCP connection to get back to 32 KB congestion window is
702(A) 1100 to 1300
703(B) 800 to 1000
704(C) 1400 to 1600
705(D) 1500 to 1700
706Explanation: Given that at the time of Time Out, Congestion Window Size is 32KB32KB and RTT = 100ms100ms,
707 When Time Out occurs, for the next round of Slow Start,
708 Threshold = size of congestion window2size of congestion window2 ,
709 Threshold = 16KB
710Suppose we have a slow start ==>> 2KB∣4KB∣8KB∣16KB2KB∣4KB∣8KB∣16KB (As the threshold is reached, Additive increase starts) ∣18KB∣20KB∣22KB∣24KB∣26KB∣28KB∣30KB∣32KB∣18KB∣20KB∣22KB∣24KB∣26KB∣28KB∣30KB∣32KB
711Here | (vertical line) is representing RTT so the total number of vertical lines is 11∗100ms11∗100ms==>> 1100msec1100msec and so this is the answer...
712
713
714
715
716
717117.
718Consider the following function written the C programming language.
719void foo (char * a ) {
720if (* a & & * a ! =' ' ){
721putchar (*a);
722}
723}
724}
725The output of the above function on input ?ABCD EFGH? Is
726Actual gate Question: Consider the following function written in the C programming langauge :
727void foo(char *a)
728 {
729 if (*a && *a != ' ')
730 {
731 foo(a+1);
732 putchar(*a);
733 }
734}
735The output of the above function on input "ABCD EFGH" is
736A. ABCD EFGH
737B. ABCD
738C. HGFE DCBA
739D. DCBA
740
741118.
742The minimum number of NAND gates required to implement the Boolean function.
743A + AB' + AB'C is equal to
744A. 0 (Zero)
745B. 1
746C. 4
747D. 7
748Explanation: A(1+B'+B'C) which is equal To A
749
750 So No need For any NAND gate
751
752
753
754
755
756
757119.The 16 bit flag of 8086 microprocessor is responsible to indicate ___________
758
759A. the condition of result of ALU operation
760B. the condition of memory
761C. the result of addition
762D. the result of subtraction
763
764120. Creating a B Tree index for your database has to specify in _____.
765
766 a. DDL
767 b. SDL
768 c. VDL
769 d. TCL
770
771121.UDP has a smaller overhead then TCP, especially when the total size of the messages is
772
773Answer: SMALL
774
775122.
776A solution to the Dining Philosopher?s problem which avoids Deadlock can be:
777A. ensure that all philosophers pick up the left fork before the right fork
778B. ensure that all philosophers pick up the right fork before the left fork
779C. ensure that one particular philosopher picks up the left fork before the right fork, and that all other philosophers pick up the right fork before the left fork
780D. None of the above
781
782Answer: C
783123.
784Plan of study of a researcher is called the __________
785124.
786For a C program accessing X[i][j][k], the following intermediate code is generated by a compiler. Assume that the size of an integer is 32 bits and the size of a character is 8 bits.
787t0 = i * 1024
788t1 = j * 32
789t2 = k * 4
790t3 = t1 + t0
791t4 = t3 + t2
792t5 = X[t4]
793Which one of the following statements about the source code for the C program is CORRECT?
794A. X is declared as "int X[32] [32] [8]â€.
795B. X is declared as "int X[4] [1024] [32]â€.
796C. X is declared as "char X[4] [32] [8]â€.
797D. X is declared as "char X[32] [16] [2]â€.
798Answer: A
799
800
801125.Which of the following are used to generate a message digest by the network security protocols?
802(P) RSA (Q) SHA-1 (R) DES (S) MD5
803
804(A) P and R only
805(B) Q and R only
806(C) Q and S only
807(D) R and S only
808
809Answer :C
810
811Explanation:
812 RSA – It is an algorithm used to encrypt and decrypt messages.
813 SHA 1 – Secure Hash Algorithm 1, or SHA 1 is a cryptographic hash function. It produces a 160 bit (20 byte) hash value (message digest).
814 DES – Data Encryption Standard, or DES is a symmetric key algorithm for encryptionof electronic data.
815 MD5 – Message Digest 5, or MD5 is a widely used cryptographic hash function that produces a 128 bit hash value (message digest).
816
817126.The data manipulation language used in SQL is a,
818 (I) Procedural DML
819(II) Non-Procedural DML
820(III) Modification DML
821(IV) Declarative DML
822
823Answer : Procedural and Declarative
824
825127.
826A variable that is presumed to cause a change in another variable is called a/an _____________
827a. categorical variable
828b. dependent variable
829c. independent variable
830d. intervening variable
831Intervening Variable: An intervening variable (sometimes called a mediating variable) is a hypothetical variable used to explain causal links between other variables. Intervening variables cannot be observed in an experiment (that's why they are hypothetical).
832128.
833The 16-bit 2?s complement representation of an integer is 1111 1111 1111 0101, its decimal representation is
834Answer : -11
835
836
837
838
839
840129.
841The OS of a computer may periodically collect all the free memory space to form contiguous block of free space. This is called
842A. Concatenation
843B. Garbage collection
844C. Collision
845D. Dynamic Memory Allocation
846
847130.
848public class MyRunnable implements Runnable
849{
850public void run()
851{
852// some code here
853}
854}
855
856which of these will create and start this thread?
857[A]. new Runnable(MyRunnable).start();
858[B]. new Thread(MyRunnable).run();
859[C]. new Thread(new MyRunnable()).start();
860
861[D]. new MyRunnable().start();
862
863131.
864A computer system implements 8 kilobyte pages and a +32-bit physical address space. Each page table entry contains a valid bit, a dirty bit, three permission bits, and the translation. If the maximum size of the page table of a process is 24 megabytes, the length of the virtual address supported by the system is _________ bits.
865(A) 36
866(B) 32
867(C) 28
868(D) 40
869Explanation: A page table entry has following number of bits.
8701 (valid bit) +
8711 (dirty bit) +
8723 (permission bits) +
873x bits to store physical address space of a page.
874
875Value of x = (Total bits in physical address) -
876 (Total bits for addressing within a page)
877Since size of a page is 8 kilobytes, total bits needed within
878a page is 13.
879So value of x = 32 - 13 = 19
880
881Putting value of x, we get size of a page table entry =
882 1 + 1 + 3 + 19 = 24bits.
883
884Number of page table entries
885 = (Page Table Size) / (An entry size)
886 = (24 megabytes / 24 bits)
887 = 223
888
889Vrtual address Size
890 = (Number of page table entries) * (Page Size)
891 = 223 * 8 kilobits
892 = 236
893Therefore, length of virtual address space = 36
894
895132.
896DMA is useful for the operations
897Answer: DMA is useful for transferring large quantities of data between memory and devices. It eliminates the need for the CPU to be involved in the transfer, allowing the transfer to complete more quickly and the CPU to perform other tasks concurrently.
898
899133.
900Data security threats include
901A. Hardware failure
902 B. Privacy invasion
903 C. Fraudulent manipulation of data
904 D. All of the above
905134.
906Open-ended questions provide primarily ______ data
907135.
908Assume a relation ACCOUNT (acno, balance, type, branch, last_accessed) with 1 million records. If a SQL query "SELECT balance FROM account WHERE balance>5000" would produce 800000 records, which one of the following is the optimized version of relational algebra expressions that is equivalent to the given SQL query?
909136.
910What does the code snippet given below do?
911void fun1(struct node* head)
912{
913 if(head == NULL)
914 return;
915
916 fun1(head->next);
917 printf("%d ", head->data);
918}
919Ans: Prints all nodes of linked list in reverse order
920137.
921Given the following structure template, choose the correct syntax for accessing the 5th subject marks of the 3rd student.
922struct stud
923{
924 int marks[6];
925 char sname[20];
926 char rno[10];
927}s[10];
928Answer: s[2].marks[4]
929138.
930Which of the following transport layer protocols is used to support electronic mail?
931(A) SMTP
932(B) IP
933(C) TCP
934(D) UDP
935
936139.
937Three concurrent processes X, Y, and Z execute three different code segments that access and update certain shared variables. Process X executes the P operation (i.e., wait) on semaphores a, b and c; Process Y executes the P operation on semaphores b, c and d; Process Z executes the P operation on semaphores c, d, and a before entering the respective code segments. After completing the execution of its code segment, each process invokes the V operation (i.e., signal) on its three semaphores. All semaphores are binary semaphores initialized to one. Which one of the following represents a deadlock-free order of invoking the P operations by the processes?
938(A) X: P(a)P(b)P(c) Y: P(b)P(c)P(d) Z: P(c)P(d)P(a)
939(B) X: P(b)P(a)P(c) Y: P(b)P(c)P(d) Z: P(a)P(c)P(d)
940(C) X: P(b)P(a)P(c) Y: P(c)P(b)P(d) Z: P(a)P(c)P(d)
941(D) X: P(a)P(b)P(c) Y: P(c)P(b)P(d) Z: P(c)P(d)P(a)
942140.
943Eight minterms will be used for
944A. three variables
945B. four variables
946C. five variables
947D. six variables
948141.
949General Purpose Software which creates and manipulates database is
950Answer: DBMS
951142.
952Which of these is not a method of data collection?
953143.
954The number of min-terms after minimizing the following Boolean expression is _______.
955[D'+AB'+A'C+AC'D+A'C'D]'
956Answer: 1.
957The end result of this gives us only one minterm = ABCD
958
959hence, answer = 1
960144.
961Consider the following C code segment:
962int a, b, c = 0;
963void prtFun(void);
964main( )
965{ static int a = 1; /* Line 1 */
966prtFun( );
967a + = 1;
968prtFun( )
969printf(?\n %d %d ?, a, b);
970}
971void prtFun(void)
972{ static int a=2; /* Line 2 */
973int b=1;
974a+=++b;
975printf(?\n %d %d ?, a, b);
976}
977What output will be generated by the given code segment?
978Answer: 4 2
979 4 2
980 2 0
981
982145.
983Consider a join (relation algebra operation) between relations r(R)and s(S) using the nested loop method. There are 3 buffers each of size equal to disk block size, out of which one buffer is reserved for intermediate results. Assuming size(r(R)) < size(s(S)), the join will have fewer number of disk block accesses if
984(A) relation r(R) is in the outer loop.
985(B) relation s(S) is in the outer loop.
986(C) join selection factor between r(R) and s(S) is more than 0.5.
987(D) join selection factor between r(R) and s(S) is less than 0.5.
988Answer : A
989146.
990This topology requires multipoint connection
991Answer: BUS
992
993147.
994_________________ refers to the number of units to be chosen from the population
995148.
996Suppose a disk has 201 cylinders, numbered from 0 to 200. At some time the disk arm is at cylinder100, and there is a queue of disk access requests for cylinders 30, 85, 90, 100, 105, 110, 135 and 145. If Shortest-Seek Time First (SSTF) is being used for scheduling the disk access, the request for cylinder 90 is serviced after servicing ____________ number of requests.
997(A) 1
998(B) 2
999(C) 3
1000(D) 4
1001
1002149.
1003Consider the following C program
1004#inclue
1005int main()
1006int i, j, k 0;
1007j=2*3/4+2.0 / 5+8 / 5;
1008k-= --j;
1009for (i=0; i<5; i++)
1010{
1011Switch (i + k)
1012{
1013case1:
1014case 2 : printf ("\ n%d", i+k)
1015case 3 : printf ("\ n%d", i+k);
1016default : printf ("\n%d",i+k);
1017}
1018}
1019Return 0:
1020}
1021The number of times printf statement is executed is ____10_____.
1022150.
10231024 bit is equal to how many byte
1024Answer: 128
1025151.
1026Action research means __________
1027152.
1028In which addressing mode the operand is given explicitly in the instruction?
1029Answer: Immediate Mode
1030153.
1031HTTP is ________ protocol
1032a) application layer
1033b) transport layer
1034c) network layer
1035d) none of the mentioned
1036
1037
1038
1039154.Which of the following is NOT a superkey in a relational schema with attributes V,W,X,Y,Z and primary key V Y?
1040(A) V X Y Z
1041(B) V W X Z
1042(C) V W X Y
1043(D) V W X Y Z
1044
1045Explanation: Super key = Candidate Key + other attributes. But option B does not include Y which is a part of PK or candidate key.
1046
1047155.
1048Which of the following is not a part of instruction cycle?
1049Answer: stages of instruction cycle:
1050a. Fetch
1051b. Decode
1052c. Execute
1053d. Derive effective address of the instruction
1054e. All of these
1055
1056156.
1057A process executes the code
1058fork ();
1059fork ();
1060fork ();
1061The total number of child processes created is
1062(A) 3
1063(B) 4
1064(C) 7
1065(D) 8
1066Answer (C)
1067157.
1068SQl allows duplicates tuples in relations, and correspondingly defines the multiplicity of tuples in the result of joins. Which one of the following queries always gives the same answer as the nested query shown below:
1069select * from R where a in (select S.a from S)
1070
1071158.
1072One of the terms given below is defined as a bundle of meanings or characteristics associated with certain events, objects, conditions, situations, and the like
1073Concept
1074
1075
1076
1077159.
1078The HTTP response message leaves out the requested object when _____ method is used
1079a) GET
1080b) POST
1081c) HEAD
1082d) PUT
1083160.
1084Consider the following C
1085function.
1086int fun (int n) {
1087int x =1, k;
1088if (n ==1) return x;
1089for (k=1; k < n; ++k)
1090x = x + fun (k)* fun (n - k); return x;
1091}
1092The return value of fun (5) is ___51____
1093161.
1094__PUBLIC KEY____ cryptography refers to encryption methods in which both the sender and receiver share the same key.
1095162.
1096After fetching the instruction from the memory, the binary code of the
1097instruction goes to
1098Answer: MBR – Memory Buffer Register
1099163.
1100The following function computes the maximum value contained in an integer array
1101p[ ] of size n (n >= 1).
1102int max(int *p, int n) {
1103int a=0, b=n-1;
1104while (__________) {
1105if (p[a] <= p[b]) { a = a+1; }
1106else { b = b-1; }
1107}
1108return p[a];
1109}
1110The missing loop condition is
1111Answer: b!=a.
1112164.
1113Research questions are crucial because they will _________
1114165.The average time required to reach a storage location in memory and obtain its contents is called the
1115
1116Answer: Access time
1117
1118166.
1119The relation R={A,B,C,D,E,F} with FD A,B-> C, C-> D, C->E,F holds
1120Ans: AEH, BEH, DEH
1121167.
1122The relationship that exists within the same entity type is called as _____recursive____ relationship.
1123168.
1124Consider the following C
1125function.
1126int fun (int n) {
1127int x =1, k;
1128if (n ==1) return x;
1129for (k=1; k < n; ++k)
1130x = x + fun (k)* fun (n - k); return x;
1131}
1132The return value of fun (5) is ___51____
1133169.
1134When CPU is executing a Program that is part of the Operating System, it is said to be in
1135 A. Interrupt mode
1136 B. System mode
1137 C. Half mode
1138 D. Simplex mode
1139
1140170.
1141Flip-flops can be constructed with two
1142Answer: NAND
1143171.
1144Using public key cryptography, X adds a digital signature σ to message M, encrypts, and sends it to Y, where it is decrypted. Which one of the following sequences of keys is used for the operations?
1145(A) Encryption: X’s private key followed by Y’s private key; Decryption: X’s public key followed by Y’s public key
1146(B) Encryption: X’s private key followed by Y’s public key; Decryption: X’s public key followed by Y’s private key
1147(C) Encryption: X’s public key followed by Y’s private key; Decryption: Y’s public key followed by X’s private key
1148(D) Encryption: X’s private key followed by Y’s public key; Decryption: Y’s private key followed by X’s public key
1149
1150172.
1151Actuary is a person who ________
1152173.
1153If a hospital has to store the description of each visit of a patient according to date what attribute you will use in the patient entity type?
1154Ans: multivalued attribute
1155174.
1156Consider an arbitrary set of CPU-bound processes with unequal CPU burst lengths submitted at the same time to a computer system. Which one of the following process scheduling algorithms would minimize the average waiting time in the ready queue?
1157(A) Shortest remaining time first
1158(B) Round-robin with time quantum less than the shortest CPU burst
1159(C) Uniform random
1160(D) Highest priority first with priority proportional to CPU burst length
1161
1162Answer: (A)
1163175.
1164What is the return value of f(p,p) if the value of p is initialized to 5 before the call? Note
1165that the first parameter is passed by reference, whereas the second parameter is passed by value.
1166int f (int &x, int c) {
1167c=c-1;
1168if (c-0) return 1;
1169x=x+1;
1170return f (x,c)*x;}
1171Answer: (B) 6561
1172176.
1173Decimal digit in BCD can be represented by
1174Answer: binary-coded decimal (BCD) is a class of binary encodings of decimal numbers where each decimal digit is represented by a fixed number of bits, usually four or eight.
1175177.
1176Insurable interest in a life insurance contract should be present _______
1177178.
1178Error correction and error detection happens in ____DATA LINK_______ layer.
1179
1180179.
1181Which of the following statements regarding RBI is not correct:
1182180.
1183___ICMP___is used by network devices, like routers, to send error messages indicating, for example, that a requested service is not available or that a host or router could not be reached.
1184Answer: Internet Control mEssaging Protocol.
1185181.
1186KDD (Knowledge Discovery in Databases) is referred to,
1187ANSWER: broad process of finding knowledge in data, and emphasizes the "high-level" application of particular data mining methods
1188182.
1189Consider a 4-way set associative cache (initially empty) with total 16 cache blocks. The main memory consists of 256 blocks and the request for memory blocks is in the following order: 0, 255, 1, 4, 3, 8, 133, 159, 216, 129, 63, 8, 48, 32, 73, 92, 155 Which one of the following memory block will NOT be in cache if LRU replacement policy is used?
1190Answer: 216
1191183.The output of the following program is
1192main()
1193{
1194int a = 5;
1195int b = 10;
1196cout << (a>b?a:b);
1197}
1198Answer: 10
1199184.
1200Design procedure of combinational circuit involves
12011. Determine required number of inputs and outputs from the specifications.
12022. Derive the truth table for each of the outputs based on their relationships to the input.
12033. Simplify the boolean expression for each output. Use Karnaugh Maps or Boolean algebra.
12044. Draw a logic diagram that represents the simplified Boolean expression. Verify the design by analysing or simulating the circuit.
1205
1206185.
1207The banking companies that are allowed to operate in a very limited geographical area, are known as ______________
1208186.
1209 _____________DATA MODEL__________gives the concepts to describe the structure of the database.
1210187.
1211In dynamic routing mechanism the route changes in response to _______
1212188.
1213Consider a disk queue with requests for I/O to blocks on cylinders 47, 38, 121, 191, 87, 11,92, 10. The C-LOOK scheduling algorithm is used. The head is initially at cylinder number 63, moving towards larger cylinder numbers on its servicing pass. The cylinders are numbered from 0 to 199. The total head movement (in number of cylinders) incurred while servicing these requests is
1214(A) 346
1215(B) 165
1216(C) 154
1217(D) 173
1218189.
1219In design procedure input output values are assigned with
1220190.
1221The Third stage in designing a database is when we analyze our tables more closely and create a _____RELATIONSHIP______ between tables.
1222191.
1223Majority of share capital in RBI is held by ____________
1224
1225
1226192.
1227Mod-6 and mod-12 counters are most commonly used in
1228[A]. frequency counters
1229[B]. multiplexed displays
1230[C]. digital clocks
1231
1232[D]. power consumption meters
1233
1234193.
1235A race condition occurs when
1236A. Two concurrent activities interact to cause a processing error
1237B. two users of the DBMS are interacting with different files at the same time
1238C. both (a) and (b)
1239D. All of the above
1240E. None of the above
1241194.
1242Multiplexing is used in _______
1243a) Packet switching
1244b) Circuit switching
1245c) Data switching
1246d) None of the mentioned
1247
1248195.
1249The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined by
1250a) the instruction set architecture
1251b) page size
1252c) physical memory size
1253d) number of processes in memory
1254
1255196.
1256 Passing the request from one schema to another in DBMS architecture is called as ___________________
1257Answer: Mapping
1258197.
1259_______ is a set of networks sharing the same routing policy
1260Answer: Autonomous System
1261198.
1262IRDA is associated with __________
1263199.
1264Mod-6 and mod-12 counters are most commonly used in
1265Answer: Digital Clocks
1266200.
1267. For computers based on three - address instruction formats, each address field can be used to specify which of the following:
1268S1: A memory operand
1269S2: A processor register
1270S3: An implied accumulator registers
1271(A) Either S1 or S2
1272(B) Either S2 or S3
1273(C) Only S2 and S3
1274(D) All of S1, S2 and S3
1275201.
1276Insurance companies collect a fixed amount from its customers at fixed intervals of time. What is it called?
1277Answer: premium
1278202.
1279A relation schema R is said to be in 4NF if for every MVD x-->>y that holds over R
1280A ->> B is a trivial MVD
1281 A is a superkey
1282
1283203.
1284_____, also known as "port forwarding," is the transmission of data intended for use only within a private, usually corporate network through a public network in such a way that the routing nodes in the public network are unaware that the transmission is part of a private network.
1285Answer: Tunneling
1286204.
1287What is a trap?
1288Answer: A trap is an exception in a user process. It's caused by division by zero or invalid memory access.
1289205.
1290Congestion control and quality of service is qualities of the
1291Answer: ATM ????
1292206.
1293The ____XLAT_____ translates a byte from one code to another code
1294207.
1295In real time Operating System, which of the following is the most suitable scheduling scheme?
1296Answer: Preemptive Scheduling.
1297208.
1298Regional rural banks are:
1299209.
1300The Snapshot of a table is called as
1301Ans – View
1302
1303210.
1304In Binary trees nodes with no successor are called ......
1305LEAF
1306211.
1307____TCP___ detects loss of data errors in data, requests retransmission of lost data, rearranges out-of-order data, and even helps minimize network congestion to reduce the occurrence of the other problems
1308212.
1309If every node u in G adjacent to every other node v in G, A graph is said to be
1310Answer: Complete
1311213.
1312A relation R(a,b,c,d,e,f) with the FDs { a -> b,c; c -> d, e, f } satisfies ----- normal form at the most where ?a? is the primary key.
1313214.
1314If a virtual memory system has 4 pages in real memory and the rest must be swapped to disk. Which of the following is the hit ratio for the following page address stream. Assume memory starts empty, use the FIFO algorithm
1315
1316Answer: 31%
1317
1318215.
1319Which category of banks is under dual control of Government and RBI?
1320216.
1321Which amongst the following refers to Absolute addressing mode
1322A. Ans - the address of the operand is inside the instruction
1323
1324217.
1325 A binary tree in which all the leaves are on the same level is called as:
1326Answer: Perfect binary tree
1327
1328218.
1329Let the size of congestion window of a TCP connection be 32 KB when a timeout occurs. The round trip time of the connection is 100 msec and the maximum segment size used is 2 KB. The time taken (in msec) by the TCP connection to get back to 32 KB congestion window is
13301100-1300
1331219.
1332NOP instruction introduces
1333Delay
1334
1335
1336
1337220.
1338On simple paging system with 224 bytes of physical memory, 256 pages of logical address space, and a page size 210 bytes, how many bytes are in a page frame?
1339210 bytes,
1340
1341221.
1342Course_Info{Course_no, Sec_no, Offering_dept, Credit_hours, Course_level, Instructor_ssn, Semester, Year, Days_hours, Room_no, No_of_students}.
1343The Course_Info has following functional dependencies:
1344{Course_no}ïƒ {Offering_dept, Credit_hours, Course_level}
1345{Course_no, Sec_no, Semester, Year}ïƒ {Days_hours, Room_no, No_of_students, Instructor_ssn }
1346{Room_no, Days_hours, Semester, Year} ïƒ {Instructor_ssn, Course_no, Sec_no}
1347
1348
1349Find the keys of the relation
1350222.
1351A bill of exchange which is drawn on a specific bank and is not payable otherwise than on demand, to bearer or to order, is called ______________
1352223.
1353Which of the following are sufficient conditions for deadlock?
13541. mutual exclusion
1355The resources involved must be unshareable; otherwise, the processes would not be prevented from using the resource when necessary.
13562. hold and wait or partial allocation
1357The processes must hold the resources they have already been allocated while waiting for other (requested) resources. If the process had to release its resources when a new resource or resources were requested, deadlock could not occur because the process would not prevent others from using resources that it controlled.
13583. no pre-emption
1359The processes must not have resources taken away while that resource is being used. Otherwise, deadlock could not occur since the operating system could simply take enough resources from running processes to enable any process to finish.
13604. resource waiting or circular wait
1361224.
1362How many 8-bit characters can be transmitted per second over a 9600 baud serial communication link using asynchronous mode of transmission with one start bit, eight data bits, two stop bits, and one parity bit?
1363(B) 300
1364
1365225.
1366Expand the acronym ‘ADB’
1367226.
1368The addressing mode used in an instruction of the form ADD X Y, is _DIRECT/ABSOLUTE____.
1369227.
1370In ORDBMS, When an object O is brought into memory, they check each oid contained in O and replace oids of in-memory objects by in-memory pointers to those objects. This concept refers to:
1371pointer swizzling
1372
1373228.
1374A binary tree T has 20 leaves. The number of nodes in T having two children is
1375(A) 18
1376(B) 19
1377(C) 17
1378(D) Any number between 10 and 20
1379229.
1380What happens when you push a new node onto a stack?
1381The new node is placed at the front of the linked list
1382
1383230.The port that is used for the generation of handshake lines in mode 1 or mode 2 is
1384
1385a) port A
1386b) port B
1387c) port C Lower
1388d) port C Upper
1389
1390
1391231.
1392Consider the following transaction involving two bank account x and y.
1393read (x) ; x : = x ? 50; write (x) ; read (y); y : = y + 50 ; write (y)
1394The constraint that the sum of the accounts x and y should remain constant is that of
1395(A) Atomicity
1396(B) Consistency
1397(C) Isolation
1398(D) Durability
1399232.
1400The portion of total deposits of a commercial bank which it has to keep with RBI in the form of cash reserves is termed as _______________
1401
1402
1403
1404
1405
1406
1407233.
1408A receiving host has failed to receive all of the segments that it should acknowledge. What can the host do to improve the reliability of this communication session?
1409Send a different source port number.
1410B. Restart the virtual circuit.
1411C. Decrease the sequence number.
1412D. Decrease the window size.
1413
1414234.
1415A computer system implements 8 kilobyte pages and a +32-bit physical address space. Each page table entry contains a valid bit, a dirty bit, three permission bits, and the translation. If the maximum size of the page table of a process is 24 megabytes, the length of the virtual address supported by the system is _________ bits.
1416(A) 36
1417(B) 32
1418(C) 28
1419(D) 40
1420235.
1421In 8257 register format, the selected channel is disabled after the terminal count condition is reached when
1422a) Auto load is set
1423b) Auto load is reset
1424c) TC STOP bit is reset
1425d) TC STOP bit is set
1426236.
1427Which of the following information is not part of Process Control Block?
1428(i) Process State
1429(ii) Process Page table
1430(iii) List of Open files
1431(iv) Stack Pointer
1432None of the above
1433237.
1434The recurrence relation capturing the optimal execution time of the Towers of Hanoi problem with n discs is
1435(A) T(n) = 2T(n – 2) + 2
1436(B) T(n) = 2T(n – 1) + n
1437(C) T(n) = 2T(n/2) + 1
1438(D) T(n) = 2T(n – 1) + 1
1439
1440
1441238.
1442A personal account cannot be opened in _____________
1443239.
1444For the IEEE 802.11 MAC protocol for wireless communication, which of the following statements is/are TRUE ?
1445I. At least three non-overlapping channels are available for transmissions.
1446II. The RTS-CTS mechanism is used for collision detection.
1447III.Unicast frames are ACKed.
1448(A) All I, II, and III
1449(B) I and III only
1450(C) II and III only
1451(D) II only
1452
1453240.
1454____ users work on canned transactions
1455Naïve or parametric end users
1456
1457241.
1458X.25 Networks are _____ Packet Switched wide area network.___ networks
1459242.
1460A banking product is an example of _____________
1461243.
1462Partial Degree of multiprogramming is controlled by
1463A. CPU scheduler
1464B. context switching
1465C. long term scheduler
1466D. medium term scheduler
1467
1468244.
1469The effective address of the following instruction is , MUL 5(R1,R2)
1470a) 5+R1+R2
1471b) 5+(R1*R2)
1472c) 5+[R1]+[R2].
1473d) 5*([R1]+[R2])
1474245.
1475Consider the following four schedules due to three transactions (indicated by the subscript) using read and write on a data item x, denoted by r(x) and w(x) respectively. Which one of them is conflict serializable?
1476A. r1(x)r1(x); r2(x)r2(x); w1(x)w1(x); r3(x)r3(x); w2(x)w2(x);
1477B. r2(x)r2(x); r1(x)r1(x); w2(x)w2(x); r3(x)r3(x); w1(x)w1(x);
1478C. r3(x)r3(x); r2(x)r2(x); r1(x)r1(x); w2(x)w2(x); w1(x)w1(x);
1479D. r2(x)r2(x); w2(x)w2(x); r3(x)r3(x); r1(x)r1(x); w1(x)w1(x);
1480
1481246.
1482If a , b , c, are three nodes connected in sequence in a singly linked list, what is the statement to be added to change this into a circular linked list?
1483247.
1484A buying process starts when the buyer recognizes a ____________
1485248.
1486Which one of the following protocols is NOT used to resolve one form of address to another one?
1487A. DNS
1488B. ARP
1489C. DHCP
1490D. RARP
1491
1492249.
1493The effective address of the following instruction is , MUL 5(R1,R2)
1494a) 5+R1+R2
1495b) 5+(R1*R2)
1496c) 5+[R1]+[R2].
1497d) 5*([R1]+[R2])
1498
1499250.
1500Consider a schedule S1 given below;
1501R1(A); W1(A); R2(B); R2(A); R1(B); W2(A+B); W1(B); where R1 and W1 are read and write operations of transaction T1 and R2 and W2 are read and write operations of transaction T2.
1502Which of the following is correct regarding schedule S1?
1503(a) S1 is a serializable schedule
1504(b) A deadlock will occur if 2PL is used
1505(c) S1 is a conflict serializable schedule
1506(d) S1 is a view serializable schedule
1507
1508251.
1509Consider the following function written the C programming language.
1510void foo (char * a ) {
1511if (* a & & * a ! =' ' ){
1512putchar (*a);
1513}
1514}
1515}
1516The output of the above function on input ?ABCD EFGH? Is
1517Answer: DCBA
1518252.
1519When several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called
1520a) dynamic condition
1521b) race condition
1522c) essential condition
1523d) critical condition
1524
1525253.
1526State the type of multitasking supported by OS when process switched its state from 'Running' to 'Ready' due to scheduling act.
1527Answer: ??
1528254.
1529The instructions which copy information from one location to another either in the processor’s internal register set or in the external main memory are called
1530(A) Data transfer instructions. (B) Program control instructions.
1531 (C) Input-output instructions. (D) Logical instructions.
1532
1533 Ans: A
1534
1535255.
1536The degree of a leaf node is: ZERO
1537256.
1538______________ are products bought for further processing or for use in conducting a business
1539257.
1540End-to-end connectivity is provided from host-to-host in:
1541A. Network layer
1542B. Session layer
1543C. Data link layer
1544D. Transport layer
1545E. None of the above
1546258.
1547An index is clustered, if
1548(A) it is on a set of fields that form a candidate key.
1549(B) it is on a set of fields that include the primary key.
1550(C) the data records of the file are organized in the same order as the data entries of the index.
1551(D) the data records of the file are organized not in the same order as the data entries of the index.
1552259.
1553The protocol data unit (PDU) for the application layer in the Internet stack is
1554(A) Segment
1555(B) Datagram
1556(C) Message
1557(D) Frame
1558260.
1559PSW is saved in stack when there is a
1560A. interrupt recognized B. execution of RST instruction
1561C. Execution of CALL instruction D. All of these
1562
1563261.
1564Consider six memory partitions of sizes 200 KB, 400 KB, 600 KB, 500 KB, 300 KB and 250KB, where KB refers to kilobyte. These partitions need to be allotted to four processes of sizes 357 KB, 210KB, 468 KB and 491 KB in that order. If the best fit algorithm is used, which partitions are NOT allotted to any process?
1565(A) 200 KB and 300 KB
1566(B) 200 KB and 250 KB
1567(C) 250 KB and 300 KB
1568(D) 300 KB and 400 KB
1569262.
1570If actual performance exceeds the expected performance of the product, then the customer is ____________
1571263.
1572Creating a B Tree index for your database has to be specified in _____.
1573264.
1574The post order traversal of binary tree is DEBFCA. Find out the pre order traversal.
1575A. ABFCDE
1576B. ADBFEC
1577C. ABDECF
1578D. ABDCEF
1579265.
1580Error detection at the data link layer is achieved by?
1581[A] Bit stuffing
1582[B] Cyclic redundancy codes
1583[C] Hamming codes
1584[D] Equalization
1585
1586266.
1587Which of the following is not a function of a DBA?
1588A. Network Maintenance
1589B. Routine maintenance
1590C. Schema Definition
1591D. Authorization for data access
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603267.
1604A system uses 3 page frames for storing process pages in main memory. It uses the Least
1605Recently Used (LRU) page replacement policy. Assume that all the page frames are
1606initially empty. What is the total number of page faults that will occur while processing the page reference string given below?
16074, 7, 6, 1, 7, 6, 1, 2, 7, 2
1608(A) 4
1609(B) 5
1610(C) 6
1611(D) 7
1612
1613268.
1614What is a trap?
1615Answer: A trap is an exception in a user process. It's caused by division by zero or invalid memory access.
1616
1617269.
1618What is the postfix expression for the following infix expression?
1619 Infix = a+b%c>d
1620Answer: a b%c>d +
1621270.
1622The promotion “P†of marketing mix is also known as ____________
1623271.
1624Consider a computer system with 40-bit virtual addressing and page size of sixteen kilobytes. If the computer system has a one-level page table per process and each page table entry requires 48 bits, then the size of the per-process page table is __________ megabytes.
1625(A) 384
1626(B) 48
1627(C) 192
1628(D) 96
1629
1630272.
1631Computers use addressing mode techniques for _____________________.
1632A. giving programming versatility to the user by providing facilities as pointers to memory counters for loop control
1633B. to reduce no. of bits in the field of instruction
1634C. specifying rules for modifying or interpreting address field of the instruction
1635D. All the above
1636
1637
1638
1639
1640273.
1641Loss in signal power as light travels down the fiber is called?
1642A. attenuation
1643B. propagation
1644C. scattering
1645D. interruption
1646E. None of the above
1647
1648274.
1649 Passing the request from one schema to another in DBMS architecture is called as ___MAPPING___
1650275.
1651A change in an individual's behaviour prompted by information and experience refers to which one of the following concept?
1652276.
1653A binary tree T has 20 leaves. The number of nodes in T having two children is
1654(A) 18
1655(B) 19
1656(C) 17
1657(D) Any number between 10 and 20
1658
1659277.
1660Computers use addressing mode techniques for _____________________.
1661A. giving programming versatility to the user by providing facilities as pointers to memory counters for loop control
1662B. to reduce no. of bits in the field of instruction
1663C. specifying rules for modifying or interpreting address field of the instruction
1664D. All the above
1665
1666278.
1667Consider the 3 process, P1, P2 and P3 shown in the table.
1668Process Arrival time Time units Required
1669P1 0 5
1670P2 1 7
1671P3 3 4
1672The completion order of the 3 processes under the policies FCFS and RR2 (round robin scheduling) with CPU quantum of 2 time units are
1673(A)
1674FCFS: P1, P2, P3
1675 RR2: P1, P2, P3
1676(B)
1677 FCFS: P1, P3, P2
1678 RR2: P1, P3, P2
1679(C)
1680FCFS: P1, P2, P3
1681 RR2: P1, P3, P2
1682(D)
1683FCFS: P1, P3, P2
1684RR2: P1, P2, P3
1685
1686279.
1687Which of the following is NOT a superkey in a relational schema with attributes V,W,X,Y,Z and primary key V Y?
1688(A) V X Y Z
1689(B) V W X Z
1690(C) V W X Y
1691(D) V W X Y Z
1692
1693280.Which of the following is example of in-place algorithm?
1694
1695Ans: Heap Sort , Selection Sort, Bubble Sort , insertion sort, shell sort.
1696
1697281.
1698In OSI model dialogue control and token management are responsibilities of ?
1699Network layer
1700Session Layer
1701Transport Layer
1702None of above
1703
1704282.
1705A person’s ________ consists of all the groups that have a direct (face-to-face) or indirect influence on his/her attitudes or behaviour
1706283.
1707The promotion strategy that uses sales force to market the products is known as ______________
1708284.
1709A scheduling algorithm assigns priority proportional to the waiting time of a process. Every process starts with priority zero(the lowest priority). The scheduler re-evaluates the process priorities every T time units and decides the next process to schedule. Which one of the following is TRUE if the processes have no I/O operations and all arrive at time zero?
1710(A) This algorithm is equivalent to the first-come-first-serve algorithm
1711(B) This algorithm is equivalent to the round-robin algorithm.
1712(C) This algorithm is equivalent to the shortest-job-first algorithm..
1713(D) This algorithm is equivalent to the shortest-remaining-time-first algorithm
1714285.
1715Which protocol does Ping use?
1716Answer: ICMP – Internet Control Message Protocol
1717286.
1718Which of the following operator in SQL would produce the following result if applied between two relations Employee and Department?
1719
1720Eno EName DeptNo DName
1721111 Kumar 100 Sales
1722222 Steve 200 Finance
1723Null Null 300 Admn
1724244 Meera 400 Mktg
1725Answer: Right join.
1726287.
1727The run time of the following algorithm is
1728Procedure A(n)
1729If(n<=2) return(1)
1730Else return(A(sqrt(n))
1731A. O(n)
1732B. O(logn)
1733C. O(loglogn)
1734D. O(1)
1735
1736288.
1737The address to the next instruction lies in
1738Answer: Program Counter
1739289.
1740Which of the following address modes calculate the effective address as
1741address part of the instruction) + (content of CPU register)
1742290.
1743Wholesaling does not include which of the following services?
1744291.
1745The process related to process control, file management, device management, information about system and communication that is requested by any higher level language can be performed by __________.
17461 Editors
17472 Compilers
17483 System Call
17494 Caching
1750
1751292.
1752Consider a dynamic queue with two pointers: front and rear. What is the time needed to insert an element in a queue of length of n?
1753Answer: O(1)
1754293.
1755What is the unique characteristic of RAID 6 ?
1756a) Distributed Parity
1757b) Striping
1758c) Two independent distributed parity
1759d) Mirroring
1760294.
1761If CurrNode pointer points to the previous node in the list and NewNode points to the newly created Node, the address assignments to be done for inserting a node in the middle of a singly linked list is
1762295.
1763On simple paging system with 2^24 bytes of physical memory, 256 pages of logical address space, and a page size 2^10 bytes, how many bytes are in a page frame?
1764Ans:: Page frame size is 2^10 bytes.
1765
1766296.
1767A 2 km long brodcast LAN has 10^7 bps bandwidth and uses CSMA/ CD. The signal travels along the wire at 2 *10 ^8 m/s. What is the minimum packet size that can be used on this network ?
1768(A) 50 bytes
1769(B) 100 bytes
1770(C) 200 bytes
1771(D) None of these
1772
1773297.
1774The data manipulation language used in SQL is a,
1775(I) Procedural DML
1776(II) Non-Procedural DML
1777(III) Modification DML
1778(IV) Declarative DML
1779Answer: (1) and (4)
1780298.
1781The ________ is practiced most aggressively with unsought goods, goods that buyers normally do not think of buying, such as insurance, encyclopedias, and funeral plots.
1782Answer: b. Selling concept
1783299.
1784A group of bits that tell the computer to perform a specific operation is known as
1785A. Instruction code
1786B. Micro-operation
1787C. Accumulator
1788D. Register
1789
1790
1791
1792300.
1793How many 8-bit characters can be transmitted per second over a 9600 baud serial communication link using asynchronous mode of transmission with one start bit, eight data bits, and one parity bit ?
1794Answer: 800
1795
1796301.
1797Deceptive pricing is also referred to as ______________
1798302.
1799The time factor when determining the efficiency of algorithm is measured by
1800a. Counting microseconds
1801b. Counting the number of key operations
1802c. Counting the number of statements
1803d. Counting the kilobytes of algorithm
1804303.
1805Consider the following pseudo code fragment:
1806printf (“Helloâ€);
1807if(!fork( ))
1808printf(“Worldâ€);
1809Which of the following is the output of the code fragment?
1810
1811304.
1812Having clause in SQL occurs with
1813The HAVING clause should appear before an INTO clause; otherwise, a syntax error occurs.
1814305.
1815When we use auto increment or auto decrement, which of the following is/are true
18161) In both, the address is used to retrieve the operand and then the address gets altered.
18172) In auto increment the operand is retrieved first and then the address altered.
18183) Both of them can be used on general purpose registers as well as memory locations.
1819306.
1820The address resolution protocol (ARP) is used for
1821
1822(a) Finding the IP address from the DNS
1823(b) Finding the IP address of the default gateway
1824(c) Finding the IP address that corresponds to a MAC address
1825(d) Finding the MAC address that corresponds to an IP address
1826307.
1827One that is not type of flipflop is
1828Types of Flip-Flops
1829• RS flip-flop
1830• JK flip-flop
1831• D flip-flop
1832• T flip-flop
1833308.
1834If a node having two children is deleted from a BST, it is replaced by its
1835a) In-order predecessor
1836b) In-order successor
1837c) Pre-order predecessor
1838d) None
1839309.
1840_______ is the want for a specific product backed by the ability to pay
1841Next
1842314.
1843A company is in the ______________ stage of the new product development process when the company develops the concept into a commercially viable physical product
1844315.
1845An organization has a class B network and wishes to form subnets for 64 departments. The subnet mask would be
1846(a) 255.255.0.0
1847(b) 255.255.64.0
1848(c) 255.255.128.0
1849(d) 255.255.252.0
1850
1851316.
1852R right outer join S on a=b gives
1853317.
1854Which of the process transition is invalid?
1855318.
1856The process in which of the following states will be in secondary memory?
1857319.
1858The number of counters that are present in the programmable timer device 8254 is
1859a) 1
1860b) 2
1861c) 3
1862d) 4
1863Explanation: There are three counters that can be used as either counters or delay generators.
1864
1865
1866
1867
1868320.
1869In a packet switching network, packets are routed from source to destination along a single path having two intermediate node. If the message size is 24 bytes and each packet contains a header of 3 bytes, then the optimum packet size is
1870(a) 4
1871(b) 6
1872(c) 7
1873(d) 9
1874
1875321.
1876Why is market segmentation primarily undertaken?
1877322.
1878 _______DATA MODEL________________gives the concepts to describe the structure of the database.
1879323.
1880Identify the sorting technique that supports divide and conquer strategy and has (n2) complexity in worst case
1881a. Bubble sort
1882b. Insertion sort
1883c. Quick sort
1884d. All of above
1885
1886Answer: Quick Sort
1887324.
1888Station A uses 32 byte packets to transmit messages to Station B using a sliding window protocol. The round trip delay between A and B is 80 milliseconds and the bottleneck bankwidth on the path between aA and B is 128 kbps. What is the optimal window size that A should use ?
1889(A) 20
1890(B) 40
1891(C) 160
1892(D) 320
1893Answer (B)
1894
1895325.
1896If a firm emphasizes it’s product’s benefits, rather than it’s product’s attributes, it is oriented towards _______________
1897326.
1898Given the basic ER and relational models, which of the following is INCORRECT?
1899A. An attribute of an entity can have more than one value
1900B. An attribute of an entity can be composite
1901C. In a row of a relational table, an attribute can have more than one value
1902D. In a row of a relational table, an attribute can have exactly one value or a NULL value
1903327.
1904The searching technique that takes O (1) time to find a data is
1905Answer: Hashing
1906
1907
1908
1909
1910
1911328.
1912If a disk has a seek time of 20ms, rotates 20 revolutions per second, has 100 words per block, and each track has capacity of 300 words. Then the total time required to access one block is
1913
1914A.25
1915B.30
1916C.40
1917D.60
1918
1919329.
1920The data bus buffer is controlled by
1921Answer: Read/write control logic
1922330.
1923Which of the following is not a conversion function in SQL?
1924331.
1925Which behavioural science discipline contributes to Organizational Behavior 's understanding of group decision-making processes?
1926332.
1927Two computers C1 and C2 are configured as follows. C1 has IP address 203. 197.2.53 and netmask 255.255. 128.0. C2 has IP address 203.197.75.201 and netmask 255.255.192.0. Which one of the following statements is true?
1928
1929A. C1 and C2 both assume they are on the same network
1930B. C2 assumes C1 is on same network, but C1 assumes C2 is on a different network
1931C. C1 assumes C2 is on same network, but C2 assumes C1 is on a different network
1932D. C1 and C2 both assume they are on different networks.
1933
1934333.
1935In control word register, if SC1=0 and SC0=1, then the counter selected is
1936a) counter 0
1937b) counter 1
1938c) counter 2
1939d) none
1940334.
1941Information about a process is maintained in a _________.
1942
19431 Stack
19442 Translation Lookaside Buffer
19453 Process Control Block
19464 Program Control Block
1947
1948
1949
1950
1951335.
1952AVL trees have a faster __________
1953A. Insertion
1954B. Deletion
1955C. Updation
1956D. Retrival
1957336.
1958The time required in worst case for search operation in binary tree is
1959Answer: O(n).
1960337.
1961Which of the following is shared between all of the threads in a process? Assume a kernel level thread implementation
1962Answer: File Descriptors
1963338.
1964The communication that is used by managers to assign goals, point out problems that need attention and provide job instructions is called as ____________
1965339.
1966The counter starts counting only if
1967a) GATE signal is low
1968b) GATE signal is high
1969c) CLK signal is low
1970d) CLK signal is high
1971340.
1972Station A needs to send a message consisting of 9 packets to Station B using a siding window (window size 3) and go-back-n error control strategy. All packets are ready and immediately available for transmission. If every 5th packet that A transmits gets lost (but no acks from B ever get lost), then what is the number of packets that A will transmit for sending the message to B ?
1973
1974(A) 12
1975(B) 14
1976(C) 16
1977(D) 18
1978
1979341.
1980Which level of RAID refers to disk mirroring with block striping?
1981a) RAID level 1
1982b) RAID level 2
1983c) RAID level 0
1984d) RAID level 3
1985
1986
1987
1988
1989
1990342.
1991Identify the data structure which allows deletions at both ends of the list but insertion at only one end
1992a. Input-restricted deque
1993b. Output-restricted deque
1994c. Priority queues
1995d. None of above
1996
1997343.
1998When an instruction is read from the memory, it is called
1999Answer: Instruction cycle (Also called Fetch-Decode-Execute Cycle)
2000
2001344.
2002Experiments performed by Ivan Pavlov led to what theory?
2003345.
2004Which of the following is not true of virtual memory?
2005Ans: It requires the use of a disk or other secondary storage.( Actually it does not require).
2006346.
2007In a token ring network the transmission speed is 10^7 bps and the propagation speed is 200 metres/ s μ . The 1-bit delay in this network is equivalent to;
2008(A) 500 metres of cable.
2009(B) 200 metres of cable.
2010(C) 20 metres of cable.
2011(D) 50 metres of cable.
2012Answer (C)
2013
2014347.
2015To change the access path programs are categorized under ____PHYSICAL______ data independence.
2016348.
2017What are the desirable properties of a transaction?
2018Atomicity.
2019Consistency.
2020Isolation.
2021Durability.
2022
2023349.
2024Job analysis provides information used for writing _____________________
2025350.
2026A Boolean function may be transformed into Logical Diagram
2027351.
2028The average time required to reach a storage location in memory and obtain its contents is called the
2029Answer: Access time
2030
2031352.
2032The address of a class B host is to be split into subnets with a 6-bit subnet number. What is the maximum number of subnets and the maximum number of hosts in each subnet?
2033(A) 62 subnets and 262142 hosts.
2034(B) 64 subnets and 262142 hosts.
2035(C) 62 subnets and 1022 hosts.
2036(D) 64 subnets and 1024 hosts.
2037Maximum number of subnets = 2^6-2 =62.
2038Maximum number of hosts is 2^10-2 = 1022.
2039
2040353.
2041The time required in worst case for search operation in binary tree is
2042Answer: O(n).
2043354.
2044Shift registers are used for
2045Shift registers are commonly used in converters that translate parallel data to serial data, or vice-versa.
2046
2047355.
2048In the slow start phase of TCP congesting control algorithm, the size of the congestion window
2049(A) does not increase
2050(B) increases linearly
2051(C) increases quadratically
2052(D) increases exponentially
2053356.
2054_____________ is the process of deciding how to fill the company's most important executive positions
2055357.
2056Operating System
2057
2058
2059
2060
20611. Assume that ?C? is a Counting Semaphore initialized to value ?10?. Consider the following program segment:
2062P(C); V(C); P(C); P(C); P(C); V(C); V(C)
2063V(C); V(C); V(C); P(C); V(C); V(C); P(C)
2064What is the value of C?
2065C=10
2066
2067there are 6 wait and 8 signal operation
2068
2069wait operation reduce count by 1 and signal increase count by 1 in general
2070
2071 so 10-6+8=12
2072
2073358.
2074If a transaction T has obtained an exclusive lock on item Q, then T can
2075Answer: both read and write Q
2076359.
2077To represent hierarchical relationship between elements, which data structure is suitable?
2078a. Deque
2079b. Priority
2080c. Tree
2081d. All of above
2082
2083360.
2084A binary search tree is generated by inserting in order the following integers 50, 15, 62, 5, 20, 58, 91, 3, 8, 37, 60, 24. The number of nodes in the left subtree and right subtree of the root respectively are
2085(a) (4, 7) (b) (7, 4) (c) (8, 3) (d) (3, 8)
2086361.
2087Two variables will be represented by
2088362.
2089If a class B network on the Internet has a subnet mask of 255.255.248.0, what is the maximum number of hosts per subnet?
2090A. 1022
2091B. 1023
2092C. 2046
2093D. 2047
2094
2095
2096
2097
2098
2099
2100363.
2101If two relations R and S are joined, then the non matching tuples of both R and S are
2102ignored in
2103(A) left outer join (B) right outer join
2104 (C) full outer join (D) inner join
2105364.
2106Which of these does not belong to Maslow’s Hierarchy Need Theory?
2107365.
2108Mutual exclusion problem occurs between
2109-Two disjoint process that do not interact
2110- Process sharing same resources
2111- Process not sharing same resources
2112- None of these
2113366.
2114A computer on a 10Mbps network is regulated by a token bucket. The token bucket is filled at a rate of 2Mbps. It is initially filled to capacity with 16Megabits. What is the maximum duration for which the computer can transmit at the full 10Mbps?
2115(A) 1.6 seconds
2116(B) 2 seconds
2117(C) 5 seconds
2118(D) 8 seconds
2119
2120367.
2121The FD A → B , DB→ C implies
2122368.
2123The base (or radix) of the number system such that the equation 312/20=13.1 holds is
2124(A) 3
2125(B) 4
2126(C) 5
2127(D) 6
2128369.
2129A binary tree in which every non-leaf node has non-empty left and right subtrees is called a strictly binary tree. Such a tree with 10 leaves
2130A. Cannot have more than 19 nodes
2131B. Has exactly 19 nodes
2132C.Has exactly 17 nodes
2133D.Cannot have more than 19 nodes
2134A strictly binary tree with 'n' leaves must have (2n - 1) nodes
2135370.
2136The amount of time required to read a block of data from a disk into memory is composed of seek time, rotational latency, and transfer time. Rotational latency refers to ______.
2137A. the time its takes for the platter to make a full rotation
2138B. the time it takes for the read-write head to move into position over the appropriate track
2139C. the time it takes for the platter to rotate the correct sector under the head
2140D. none of the above
2141
2142371.
2143“Doing an activity or behaviour voluntarily for its own sake, for the inherent satisfaction and pleasure derived from participation†well defines:
2144372.
2145Which type of managers takes less time to make their decisions and less information in making their choices?
2146373.
2147The removal of process from active contention of CPU and reintroduce them into memory later is known as ____________
21481 Interrupt
21492 Swapping
21503 Signal
21514 Thread
2152374.
2153For which one of the following reason: does Internet Protocol (IP) use the time-to-live (TTL) field in the IP datagram header?
2154
2155(A) Ensure packets reach destination within that time
2156(B) Discard packets that reach later than that time
2157(C) Prevent packets from looping indefinitely
2158(D) Limit the time for which a packet gets queued in intermediate routers.
2159375.
2160Consider a relation R (A, B). If A ïƒ B is a trivial functional dependency and A is the super key for R, then what is the maximum normal form R can be in?
2161376.
2162The recurrence relation that arises in relation with the complexity of binary search is
2163A. T(n)=2T(n/2)+k, k is a constant T(n)=2T(n2)+k, k is a constant
2164B. T(n)=T(n/2)+k, k is a constant T(n)=T(n2)+k, k is a constant
2165C. T(n)=T(n/2)+lognT(n)=T(n2)+logâ¡n
2166D. T(n)=T(n/2)+n
2167
2168377.
2169A 20-bit address bus allows access to a memory of capacity
2170Answer: 1MB
21712^20 = 1048576
2172
2173
2174
2175
2176
2177
2178378.
2179The algorithm design technique used in the quick sort algorithm is
2180Dynamic programming
2181Backtracking
2182Divide and conquer
2183Greedy method
2184379.
2185Which of the following assertions is false about the internet Protocol (IP) ?
2186(A) It is possible for a computer to have multiple IP addresses
2187(B) IP packets from the same source to the same destination can take different routes in the network
2188(C) IP ensures that a packet is discarded if it is unable to reach its destination within a given number of hops
2189(D) The packet source cannot set the route of an outgoing packets; the route is determined only by the routing tables in the routers on the way
2190In computer networking, source routing, also called path addressing, allows a sender of a packet to partially or completely specify the route of the packet takes through the network.
2191380.
2192The technique, for sharing the time of a computer among several jobs, which switches jobs so rapidly such that each job appears to have the computer to itself, is called
2193Time sharing
2194time out
2195time domain
2196FIFO
2197None of the above
2198381.
2199If the offset of the operand is stored in one of the index registers, then it is
2200Answer: indexed addressing mode
2201382.
2202Which of the following is a disadvantage of file processing system?
2203(I) Efficiency of high level programming,
2204(II) Data Isolation
2205(III) Integrity issues
2206(IV) Storing of records as files
2207
2208383.
2209Organizational democracy requires _____________style of management
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219384.
2220If Human voice is required to be digitized what will be the bit rate at 16 bits per sample?
2221
2222Therefore, the bit rate can be calculated by calculating the sample rate first.
2223Sampling rate = 4000 x 2 = 8000 samples/s
2224Considering the bit rate to be 16 bits per sample,
2225The total bit rate will be = 8000 x 16 = 128,000 bps = 128 kbps.
2226
2227Therefore, the bit rate needed to digitize human voice is 128 kbps.
2228
2229385.
2230The operating system of a computer serves as a software interface between the user and the ________
2231A. hardware B. peripheral C. memory D. screen
2232386.
2233The data manipulation language used in SQL is a,
2234387.
2235Consider the tree arcs of a BFS traversal from a source node W in an unweighted, connected, undirected graph. The tree T formed by the tree arcs is a data structure for computing
2236(A) the shortest path between every pair of vertices.
2237(B) the shortest path from W to every vertex in the graph.
2238(C) the shortest paths from W to only those nodes that are leaves of T.
2239(D) the longest path in the graph
2240388.
2241The common register(s) for all the four channels of 8257 are
2242a. DMA address register
2243b. terminal count register
2244c. mode set register and status register
2245d. none of the mentioned
2246389.
2247Which of the following requires the listener to pay reasonably close attention to the speaker?
2248390.
2249 A full binary tree with n leaves contains
2250A. nn nodes
2251B. log2n nodes
2252C. 2n−1
2253D. 2n nodes
2254
2255
2256 .
2257
2258391.
2259Which of the following is not a function of a DBA?
2260A. Network Maintenance
2261B. Routine maintenance
2262C. Schema Definition
2263D. Authorization for data access
2264
2265392.
2266The collection of processes on the disk that is waiting to be brought into memory for execution forms the ___________
2267
22681 Ready queue
22692 Device queue
22703 Input queue
22714 Priority queue
2272
2273393.
2274Six channels, each with a 200 khz bandwidth are to be multiplexed together. what is the minimum bandwidth requirement if each guard band is 20Khz
2275394.
2276____________ is the variable reward granted to employees as per their performance
2277395.
2278Which of the following is not a data copy/transfer instruction?
2279a)MOV
2280b) PUSH
2281c) DAS - Decimal Adjust after Subtraction
2282d) POP
2283
2284396.
2285The unique characteristics that a learning organization possesses is that ______________
2286397.
2287 The complexity of multiplying two matrices of order m*n and n*p is
2288A. mnp
2289B. mp
2290C. mn
2291D. np
2292398.
2293Which of these multiplexing techniques is digital for combining several low -rate channels into one high-rate one
2294399.
2295The part of the operating system that coordinates the activities of other program is called the
2296Answer: Control program
2297400.
2298In DMA transfers, the required signals and addresses are given by the______
2299a) Processor
2300b) Device drivers
2301c) DMA controllers
2302d) The program itself
2303Explanation: The DMA controller acts like a processor for DMA transfers and overlooks the entire process.
2304401.
2305Assume a relation R with keys X, Y and Z, where X, Y, and Z are sets of one or more attributes. Also assume that Y is a subset or equal to X and Z is a subset of X and Y. Which of the following is true for this case?
2306402.
2307A binary tree T has 20 leaves. The number of nodes in T having two children is
2308(A) 18
2309(B) 19
2310(C) 17
2311(D) Any number between 10 and 20
2312
2313403.
2314The minimum number of JK flip-flops required to construct a synchronous counter with the count sequence (0,0, 1, 1, 2, 2, 3, 3, 0, 0,…….) is
2315Answer: 3
2316
2317404.
2318Assume relations R and S with the schemas R (A, B, C) and S (B, D). Which of the following is equivalent to r ⋈ s?
2319ABCD
2320
2321405.
2322Which of these is an off the job training?
2323Off-the-job training occurs when employees are taken away from their place of work to be trained. Common methods of off-the-job training include: Day release (employee takes time off work to attend a local college or training centre) Distance learning / evening classes.
2324406.
2325What are the three phases in virtual circuit switching?
2326 The three phases in virtual circuit switching are setup, data transfer, and teardown
2327
2328407.
2329Switching the CPU to another Process requires saving state of the old process and loading new process state is called as __________.
2330 ANSWER: Context Switch
2331
2332
2333
2334
2335
2336408.
2337Consider six memory partitions of sizes 200 KB, 400 KB, 600 KB, 500 KB, 300 KB and 250KB, where KB refers to kilobyte. These partitions need to be allotted to four processes of sizes 357 KB, 210KB, 468 KB and 491 KB in that order. If the best fit algorithm is used, which partitions are NOT allotted to any process?
2338(A) 200 KB and 300 KB
2339(B) 200 KB and 250 KB
2340(C) 250 KB and 300 KB
2341(D) 300 KB and 400 KB
2342409.
2343Which of the following asymptotic notation is the worst among all?
2344a. Ο(n+9378)
2345b. Ο(n^3)
2346c. nΟ(1)
2347d. 2Ο(n)
2348
2349
2350
2351
2352410.
2353Consider a relational table with the schema R (A, B, C). Assume that the cardinality of attribute A is 10, B is 20, and C is 5. What is the maximum number of records R can have without duplicate?
2354Answer : 1000
2355411.
2356Which method is used to assess an organization’s training needs?
2357Training Need Analysis
2358412.
2359A half adder is implemented with XOR and AND gates. A full adder is implemented with two half adders and one OR gate. The propagation delay of an XOR gate is twice that of an AND/OR gate. The propagation delay of an AND/OR gate is 1.2 microseconds. A 4-bit ripple-carry binary adder is implemented by using four full adders. The total propagation time
2360of this 4-bit binary adder in microseconds is ____________.
2361A Ripple Carry Adder allows to add two n-bit numbers. It uses half and full adders. Following diagram shows a ripple adder using full adders.
2362
2363Let us first calculate propagation delay of a single
23641 bit full adder.
2365
2366Propagation Delay by n bit full adder is (2n + 2)
2367gate delays.
2368[See this for formula].
2369
2370Here n = 1, so total delay of a 1 bit full adder
2371is (2 + 2)*1.2 = 4.8 ms
2372
2373Delay of 4 full adders is = 4 * 4.8 = 19.2 ms
2374
2375413.
2376Which of the following is a bit rate of an 8-PSK signal having 2500 Hz bandwidth ?
2377Transmission is in half-duplex mode. For PSK the baud rate is the same as the bandwidth, which means the baud rate is 5000. But in 8-PSK the bit rate is 3 times the baud rate, so the bit rate is 15,000 bps.
2378
2379414.
2380Virtual memory is __________.
2381An illusion of extrememly large main memory
2382
2383415.
2384Given the IP address 201.14.78.65 and the subnet mask 255.255.255.224. What is the subnet address ?
2385Answer : 201.14.78.64
2386At every router basically we have 3 entries in a routing table
23871. Network Id / Subnet address
23882. Subnet Mask
23893 .Interface
2390So with the help of these we can figure out where to send a packet.
2391IP address 201.14.78.65 subset mask 255.255.255.224
2392 IP address 11111111.11111111.11111111.11100000
2393 Subnet Mask 11001001.00001110.01001110.01000001
2394 Subnet address 11001001.00001110.01001110.01000000
2395 201 . 14 . 78 . 64
2396It is a Bitwise ANDing in above operation.
2397
2398416.
2399Which of the following operator in SQL would produce the following result if applied between two relations Employee and Department?
2400Eno EName DeptNo DName
2401111 Kumar 100 Sales
2402222 Steve 200 Finance
2403Null Null 300 Admn
2404244 Meera 400 Mktg
2405
2406417.
2407The postfix expression of the given infix expression a+b*c+(d*e+f)*g is
2408
2409
2410418.
2411The truth table
2412X Y f(X,Y)
24130 0 0
24140 1 0
24151 0 1
24161 1 1
2417represents the Boolean function
2418419.
2419Consider a disk with following specification; sector size - 512 bytes, tracks per surface - 2000, sectors per track - 60, double-sided platters - 4, and average seek time - 20 msec. For a 5400 rpm hard disk for one revolution, if a single track of data can be transferred, then what is the transfer rate?
2420
2421the data transfer rate is 25K/ 0.011= 2, 250Kbytes/second
2422
2423420.
2424We want to design a synchronous counter that counts the sequence 0-1-0-2-0-3 and then repeats. The minimum number of J-K flip-flops required to implement this counter is
2425Total 4.
2426
2427421.
2428Suppose a disk has 201 cylinders, numbered from 0 to 200. At some time the disk arm is at cylinder
2429100, and there is a queue of disk access requests for cylinders 30, 85, 90, 100, 105, 110, 135 and
2430145. If Shortest-Seek Time First (SSTF) is being used for scheduling the disk access, the request for
2431cylinder 90 is serviced after servicing ____________ number of requests.
2432
24333 Number of requests
2434
2435422.
2436For non-negative functions, f(n) and g(n), f(n) is theta of g(n) if and only if
2437max(f(n), g(n)) = Θ(f(n) + g(n))
2438
2439423.
2440If the data unit is 111111 and the divisor is 1010. In CRC method, what is the dividend at the transmission before division ?
2441If divisor is n bit long then we add (n-1) no of 0's in the data unit before division
2442
2443so here divisor is 1010 hence 3 0's are added in data unit so ans will be 111111000 i.e C
2444
2445424.
2446The output after second iteration of the sorting technique is given below. Identify the technique used 23 45 78 8 32 56
2447MERGE SORT
2448
2449425.
2450Assume that a table CUSTOMER has 10000 records. If the block size 1024 bytes and the record size is 80 bytes, how many records can be stored in each block to achieve maximum performance and how many blocks are required to store the entire table?
2451Number of records in file = 16384
2452
2453Record size = 32 bytes
2454Key Size = 6 bytes
2455Block Size on file system = 1024 bytes
2456Size of Block Pointer = 10 bytes
2457
2458Size of a record or index Entry = 10 + 6 = 16
2459
2460Number of blocks in first level = (Number of records in file)/
2461 (Disk Block Size)
2462 = (16384 * 16)/(1024)
2463 = 16 * 16
2464 = 256
2465
2466In second level, there will be 256 * 16 entries.
2467Number of blocks in second level = (Number of entries) /
2468 (Block Size)
2469 = (256 * 16) / 1024
2470 = 4
2471
2472Answer : 256+4 = 260
2473
2474426.
2475which type of EM waves are used for unicast communication such as cellular telephones, satellite networks and wireless LANS.
2476Radio waves!
2477427.
2478_________ register keeps track of the instructions stored in program stored in memory.
2479. PC (Program Counter)
2480
2481
2482428.
2483How many address bits are needed to select all memory locations in the 16K × 1 RAM?
2484The size of the memory is N*M
2485
2486where N is the address lines and M is word length
2487no of registers/memory location required is 2^N
2488
2489Given memory capacity is 16k
2490thus 2^N=16K
24911K=1024 memory locations
2492thus16k=16*1024=16384
2493now 2^N=16384
2494After factorising 16384 by 2 we ll get N AS 14
2495SO ADDRESS LINE REGUIRED IS 14.
2496
2497429.
24981024 bit is equal to how many byte = 128 bytes
2499430.
2500The technique, for sharing the time of a computer among several jobs, which switches jobs so rapidly such that each job appears to have the computer to itself, is called
2501ANS: time sharing
2502
2503
2504431.
2505Consider a relation R (A, B, C, D, E) with set of functional dependencies F = {Aïƒ BC, CDïƒ E, Bïƒ D, Eïƒ A}. Which of the following is one of the candidate keys of R?
2506432.
2507A method which creates the problem of secondary clustering is
2508LINEAR PROBING
2509
2510433.
2511In stop and wait ARQ, the sequence numbers are generated using
2512Maximum sequence number in GBN is same as window size.
2513For sequence bits = n, number of sequence numbers = 2n and window size = 2n - 1
2514Consider n = 3, sequence numbers will be 23 = 8 ( i.e. from 0 - 7 )
2515and maximum window size = 23 - 1 = 7 i.e window will carry frames from 0 to 6 which are 7 in number.
2516Now, for sender window = 5
2517number of sequence bits needed = ceil (log2(1+window size)) = 3
2518So, sequence numbers generated would be 0 to 7 but window will carry frames from 0 to 4 which is 5 in number (same as window size)
2519
2520434.
2521How many ways are present in 4-way set associative cache of 16 sets?
2522Number of sets = Cache memory/(set associativity * cache block size)
2523 = 256KB/(4*16 B)
2524 = 4096
2525
2526435.
2527Find the time complexity of given code snippet
2528 for(int i=1;i<=n;i++)
2529 for(int j=1;j<=n;j*=2)
2530 Printf(“*â€);
2531O(Logn) Time Complexity of a loop is considered as O(Logn) if the loop variables is divided / multiplied by a constant amount.
2532
2533436.
2534Given R = ABCDEFGH and set of functional dependencies F = {BHïƒ C, BHïƒ F, Eïƒ F, Aïƒ D, Fïƒ A, BHïƒ E, Cïƒ E, Fïƒ D}, which of the following is redundant set of functional dependencies?
2535437.
2536Which of these is true for go-back-N protocol, if m is the size of sequence number field
2537438.
2538Mac Operating system is developed by which company
2539Apple Inc.
2540
2541439.
2542In the running state
2543440.
2544void Function(int n)
2545{
2546int i, count =0;;
2547for(i=1; i*i<=n; i++)
2548count++;
2549}
2550The time complexity of the above code snippet is
2551
2552
2553441.
2554Consider the entities customer (customer-name, customer-city,customer-street) and account( account-no,balance) with following relationship
2555If depositor is a one-to-many relationship from account to customer, then this ER diagram can be reduced to which of the following relational schemas?
2556442.
2557To guarantee the detection of up to s errors in all cases, the minimum Hamming distance in a block code must be
2558S+1
2559
2560443.
2561RS flip-flops are also called
2562444.
2563Consider this binary search tree:
2564 14
2565 / \
2566 2 16
2567 / \
2568 1 5
2569 /
2570 4
2571Suppose we remove the root, replacing it with something from the left
2572445.
2573The 1-address instructions for a=b*c + d is
2574446.
2575A critical region is
2576447.
2577The conjunctive selection operation σθ1∧θ2 (E) is equivalent to __________
2578448.
2579Which of the following is not used for synchronization?
2580Banker’s ALgorithm
2581449.
2582What is maximum throughput for slotted ALOHA ?
25830.5/e
2584
2585450.
2586Which of the following concurrency control mechanisms insist unlocking of all read and write locks of transactions at the end of commit?
2587Answer: 2 Phase Locking
2588451.
2589While inserting the elements 71,65,84,69,67,83 in an empty binary search tree (BST) in the sequence shown, the element in the lowest level is
2590Answer: 67
2591452.
2592The number of inputs, minterms in full adder is
2593Answer : 3,
2594453.
2595 The major difference between a moore and mealy machine is that
2596The output of the moore machine depends only on the current state
2597454.
2598The process of analyzing the given relation schemas based on their functional
2599dependencies is known as
2600Normalization
2601
2602
2603
2604455.
2605The main function of dispatcher is:
2606The main function of the dispatcher (the portion of the process scheduler) is assigning ready process to the CPU.
2607
2608456.
2609A complex low pass signal has a bandwidth of 100kHz. What is the minimum sampling rate for this signal
2610Answer: 200000 samples ( 2 times the bandwidth)
2611457.
2612
2613Which of the following sorting algorithms has the lowest worst-case complexity?
2614Merge Sort
2615458.
2616What is the difference between CSMA/CD and ALOHA?
2617Main difference between Aloha and CSMA is that Aloha protocol does not try to detect whether the channel is free before transmitting but the CSMA protocol verifies that the channel is free before transmitting data.
2618
2619459.
2620X=1010100 and Y=1000011 using 2's complement X-Y is
2621Answer: 10001
2622
2623460.
2624Consider ?n? processes sharing the CPU in a round robin fashion. Assume that the context switch takes ?s? seconds. What must be the quantum ?q? such that the overhead of context switching is minimized and at same time each process is getting guaranteed execution on the CPU atleast once in every ?t? seconds?
2625
2626ANSWER: q<=((t-ns)/n-1)
2627461.
2628Which one of the following is the recurrence equation for the worst case time complexity of the Quicksort algorithm for sorting n(≥ 2) numbers? In the recurrence equations given in the options below, c is a constant.
2629T(n) = T(n – 1) + T(0) + cn
2630
2631462.
2632What operator performs pattern matching?
2633Answer: LIKE
2634
2635
2636463.
2637Suppose T is a binary tree with 14 nodes. What is the minimum possible depth of T?
2638Answer: 3
2639464.
2640What is the content of Stack Pointer (SP)?
2641The Stack Pointer is used to indicate where the next value to be removed from the stack should be taken from.
2642
2643465.
2644Identify the minimal key for relational scheme R(A, B, C, D, E) with functional
2645dependencies F = {A → B, B → C, AC → D}
2646466.
2647A heap memory area is used to store the
2648467.
2649If user A wants to send an encrypted message to user B. The plain text of A is encrypted with the _______.
2650Answer: Public Key of User B
2651468.
2652The minimum number of JK flip-flops required to construct a synchronous counter with the count sequence (0,0, 1, 1, 2, 2, 3, 3, 0, 0,??.) is
26533 flip flops
2654
2655
2656469.
2657 For an undirected graph with n vertices and e edges, the sum of the degree of each vertex isequal to
2658Answer : 2e
2659470.
2660Programs tend to make memory accesses that are in proximity of previous access this is called
2661spatial locality
2662471.
2663________ scheduler selects the jobs from the pool of jobs and loads into the ready queue.
2664Long Term Scheduler
2665472.
2666The best normal form of relation scheme R (A, B, C, D) along with the set of functional
2667dependencies F = {AB →C, AB → D, C → A, D → B} is
2668Third Normal Form
2669473.
2670Mnemonic codes and variable names are used in
2671Assembly Language
2672474.
2673Time required to merge two sorted lists of size m and n, is
2674475.
2675What happens to destination address in the header of a packet in a datagram network ?
2676476.
2677___________ mechanism is used for converting a weak entity set into
2678strong entity set in entity-relationship diagram
2679Adding suitable attributes
2680477.
2681Which of the following disk seek algorithms would be the best choice to implement in a system that services an average of 5 disk requests per second
2682478.
2683_________ register keeps track of the instructions stored in program stored in memory.
2684Program Counter
2685479.
2686Bayone-Neill-Concelman(BNC) connectors are used with which type of cables
2687Coaxial Cable
2688480.
2689Which of the following disk seek algorithms has the most variability in response time?
2690
2691
2692
2693
2694481.
2695What data structure is used for depth first traversal of a graph?
2696Stack
2697482.
2698Division operation is ideally suited to handle queries of the type:
2699Division identify the attribute values from relation that are found to be paired with all of the values from the other relation.
2700
2701Customers who have no account in any of the branches in Delhi.
2702Customers who have an account at all branches in Delhi.
2703Customers who have an account in atleast one branch in Delhi.
2704Customers who have only joint account in any one branch in Delhi
2705
2706
2707483.
2708A clustering index is created when _______.
2709Foreign key ordered
2710
2711484.
2712In TDM Data rate management is done by which of these strategies
2713A. Multilevel multiplexing
2714B. Multi-slot allocation
2715C. Pulse stuffing
2716D. all of the above
2717485.
2718Graph traversal is different from a tree traversal, because
2719
2720486.
2721Which of the following instructions should be allowed only in Kernel Mode?
2722(a) Disable all interrupts
2723(b) Read the time-of-day clock
2724(c) Set the time-of-day clock
2725(d) Change the memory map (Answer: A, C & D)
2726
2727
2728487.
2729One operation that is not given by magnitude comparator
2730A. equal
2731B. less
2732C. greater
2733D. addition
2734
2735488.
2736Supervisor call
2737
2738
2739
2740
2741489.
2742Re-balancing of AVL tree costs
2743
2744
2745
2746
2747490.
2748Consider a B+ tree in which the search Answer is 12 bytes long, block size is 1024 bytes,record pointer is 10 bytes long and block pointer is 8 bytes long. The maximum number of keys that can be accommodated in each non-leaf node of the tree is ____ .
2749Answer: 50
2750491.
2751After fetching the instruction from the memory, the binary code of the
2752instruction goes to
2753492.
2754Which of these is correct for synchronous Time Division Multiplexing
2755Data rate of link is n times faster and the unit duration is n times shorter
2756
2757493.
2758In communication satellite, multiple repeaters are known as?
2759Transponders
2760
2761
2762
2763494.
2764Table that is not a part of asynchronous analysis procedure
2765A. transition table
2766B. state table
2767C. flow table
2768D. excitation table
2769
2770495.
2771This Key Uniquely Identifies Each Record
2772Primary Key
2773496.
2774Paging suffer from ………………..
2775Internal Fragmentation
2776497.
2777How many swaps are required to sort the given array using bubble sort - { 2, 5, 1, 3, 4}
2778498.
2779Error detection at the data link layer is achieved by?
2780Cyclic Redundancy Code
2781499.
2782The O notation in asymptotic evaluation represents
2783he Big O notation defines an upper bound of an algorithm
2784
2785500.
2786Which of the following provides interface (UI) between user and OS
2787Shell
2788501.
2789_________ register keeps track of the instructions stored in program stored in
2790memory.
2791Program Counter
2792502.
2793Which of the following is not a function of a DBA?
2794Application Creation
2795503.
2796Assume a relation R with keys X, Y and Z, where X, Y, and Z are sets of one or more attributes. Also assume that Y is a subset or equal to X and Z is a subset of X and Y. Which of the following is true for this case?
2797Y and Z are candidate Keys of R
2798504.
2799What is a shell ?
2800
2801 Shell is a UNIX term for the interactive user interface with an operating system
2802
2803
2804
2805
2806
2807505.
2808Baud means?
28091. a unit of transmission speed equal to the number of times a signal changes state per second. For signals with only two possible states one baud is equivalent to one bit per second.
2810
2811
2812506.
2813A group of bits that tell the computer to perform a specific operation is known as
2814Instruction Code
2815507.
2816Recursion uses more memory space than iteration because
2817Every Recursive call has to be stored
2818508.
2819A 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 heap in that order. The level-order traversal of the heap after the insertion of the elements is:
2820509.
2821We want to design a synchronous counter that counts the sequence 0-1-0-2-0-3 and then repeats. The minimum number of J-K flip-flops required to implement this counter is
2822Answer: 4
2823510.
2824You have 10 users plugged into a hub running 10Mbps half-duplex. There is a server connected to the switch running 10Mbps half-duplex as well. How much bandwidth does each host have to the server?
282510 Mbps
2826511.
2827A system has a resource ‘Z’ with 20 instances; each process needs 5 instances to complete its execution. What is the minimum process in the system that may cause deadlock?
28285 Processes
2829
2830512.
2831The constraint ?primary key cannot be null? is called as?
2832Not Null COnstraint
2833513.
2834In Multi-Processing Operating Systems:
2835Maximum Utilization of CPU can be achieved
2836514.
2837 A circuit produces 1's complement of the input word, one application is binary subtraction. It is called
2838(A) Logic gate
2839(B) Register
2840(C) Multiplexer
2841(D) BCD converter
2842515.
2843A station in a network forwards incoming packets by placing them on its shortest output queue. What routing algorithm is being used?
2844Hot Potato Routing
2845516.
2846Assume that a mergesort algorithm in the worst case takes 30 second for an input of size 64. Which of the following most closely approximates the maximum input size of a problem that can be solved in 6 minutes?
2847Answer: 512
2848517.
2849The cartesian product ,followed by select is equivalent to
2850Answer :Join
2851518.
2852If a , b , c, are three nodes connected in sequence in a singly linked list, what is the statement to be added to change this into a circular linked list?
2853 a) $$$
2854b) $$
2855c) NULL
2856d) error
2857519.
2858The Internet Control Message Protocol (ICMP)
2859520.
2860In a digital counter circuit feedback loop is introduced to
2861A:improve distortion
2862B:improve stability
2863C:reduce the number of input pulses to reset the counter
2864D:synchronous input and output pulses
2865
2866521.
2867Consider the virtual page reference string
28681,2,3,2,4,1,3,2,4,1
2869on a demand paged virtual memory system running on a computer system that has main memory size of 3 page frames which are initially empty. Let LRU, FIFO and OPTIMAL denote the number of page faults under the corresponding page replacement policy. Then
2870(A) OPTIMAL < LRU < FIFO
2871(B) OPTIMAL < FIFO < LRU
2872(C) OPTIMAL = LRU
2873(D) OPTIMAL = FIFO
2874
2875522.
2876A data dictionary does not provide information about
2877Answer : Size of storage disk.
2878
2879523.
2880How many illegitimate states has synchronous mod-6 counter ?
2881A.3 (Answer)
2882B.2
2883C.1
2884D.6
2885
2886524.
2887For the array (77 ,62,114,80,9,30,99), write the order of the elements after two passes using the Radix sort
2888114, 30, 62, 77, 9, 99
2889525.
2890Which of the following technique is used for fragment?
2891one of the pieces that results when an IP gateway divides an IP datagram into smaller pieces for transmission across a network that cannot handle the original datagram size
2892
2893526.
2894Which of the following RDBMS does not incorporate relational algebra
2895527.
2896Which scheduling policy is most suitable for a time-shared operating system?
2897Preemptive scheduling
2898
2899528.
2900 When you ping the loopback address, a packet is sent where?
2901
2902Answer: Down through the layers of IP architecture and then up the layers again
2903
2904529.
2905Round robin scheduling is essentially the preemptive version of __________
2906ANSWER: FIFO
2907530.
2908A ring counter is same as
2909531.
2910Which of these is asymptotically bigger?
2911Answer: 6*2^n
2912532.
2913Which of the following is not a property of DBMS?
2914A). INCREASE DATE REDUNDONCY.
2915B).INTERGRATION OF DATA.
2916C).IMPROVED IN SECURITY.
2917D).ACHIEVING DATA INDEPENDENCE,
2918
2919533.
2920In the blocked state
2921the processes waiting for I/O are found
2922the process which is running is found
2923the processes waiting for the processor are found
2924the process ready to execute
2925534.
2926Which of the following devices assigns IP address to devices connected to a network that uses TCP/IP?
2927DHCP Server
2928
2929535.
2930The preorder traversal sequence of a binary search tree is 30, 20, 10, 15, 25, 23, 39, 35, 42.
2931Which one of the following is the postorder traversal sequence of the same tree?
2932536.
2933A sequential circuit outputs a ONE when an even number (> 0) of one's are input; otherwise the output is ZERO. The minimum number of states required is
2934Answer : 2
2935537.
2936In which category does the discrepancy between duplicate records belong?
2937538.
2938Data Structures and Algorithms:
2939In a min-heap:
2940parent nodes have values less than or equal to their children
2941
2942
2943
2944539.
2945Which of the following technique is used for Time-To-Line (TTL)?
2946a technique used in best-effort delivery system to avoid endlessly looping packets.
2947
2948540.
2949A page fault occurs
2950When the page is not in the memory
2951541.
2952To build a mod-19 counter the number of flip-flops required is
29535 Flip Flops
2954542.
2955The cartesian product ,followed by select is equivalent to
2956Answer: Join
2957543.
2958 The number of clock pulses needed to shift one byte of data from input to the output of a 4-bit shift register is
295916 Clock Pulses
2960544.
2961Consider the following New-order strategy for traversing a binary tree:
29621)Visit the root;
29632)Visit the right subtree using New-order;
29643)Visit the left subtree using New-order;
2965The New-order traversal of the expression tree corresponding to the reverse polish expression 3 4 * 5 - 2 ? 6 7 * 1 + - is given by:
2966
2967Answer : - + 1 * 7 6 ^ 2 - 5 * 4 3
2968
2969
2970545.
2971Routine is not loaded until it is called. All routines are kept on disk in a relocatable load format. The main program is loaded into memory & is executed. This type of loading is called _________
2972Dynamic Linking
2973546.
2974You are trying to decide which type of network you will use at your office, and you want the type that will provide communication and avoid collisions on the cable. Which of the following is the best choice?
2975Token Ring
2976547.
2977Which of the following is not a property of DBMS?
2978548.
2979You are working with a network that has the network ID 172.16.0.0, and you require 25 subnets for your company and an additional 30 for the company that will merge with you within a month. Each network will contain approximately 600 nodes. What subnet mask should you assign?
2980255.255.252.0
2981549.
2982_________________ constraint is specified between two relations and is used to maintain the consistency among tuples of the two relations
2983Referential Integrity
2984550.
2985If the Disk head is located initially at 32, find the number of disk moves required with FCFS if the disk queue of I/O blocks requests are 98,37,14,124,65,67.
2986Answer: 321
2987551.
2988For non-negative functions, f(n) and g(n), f(n) is theta of g(n) if and only if
2989552.
2990The main difference between JK and RS flip-flop is that
2991553.
2992The sign magnitude representation of binary number + 1101.011 is
2993Answer: 01101.011
2994
2995554.
2996Minimum number of moves required to solve a Tower of Hanoi puzzle is
2997Answer: 2^n - 1
2998555.
2999The solution to Critical Section Problem is : Mutual Exclusion, Progress and Bounded Waiting.
3000The Statement is true
3001556.
3002Parity bit is
3003
30041. a bit which acts as a check on a set of binary values, calculated in such a way that the number of 1s in the set plus the parity bit should always be even (or occasionally, should always be odd).
3005
3006
3007557.
3008Changing the conceptual schema without having to change the external schema is called as _________________
3009
3010Physical Data Independence
3011558.
3012The problem of thrashing is effected scientifically by _____Program Strructure.
3013559.
3014A sort which relatively passes through a list to exchange the first element with any element less than it and then repeats with a new first element is called
3015quick sort
3016560.
3017Update operation will violate
3018561.
3019When an inverter is placed between both inputs of an SR flip-flop, then resulting flip-lop is
3020D Flip Flop
3021562.
3022Ethernet and Token-Ring are the two most commonly used network architectures in the world. Jim has heard of the different topologies for networks and wants to choose the architecture that will provide him with the most options. Which of the following would that be? Choose the most correct answer.
3023Ethernet, because it can be set up with most topologies and can use multiple transfer speeds
3024
3025
3026
3027563.
3028A 2 MHz signal is applied to the input of a J-K lip-lop which is operating in the 'toggle' mode. The frequency of the signal at the output will be
3029Answer: 2 MHz
3030564.
3031CSMA (Carrier Sense Multiple Access) is
3032Media Access control protocol
3033565.
3034---------------------is data about data
3035Metadata
3036566.
3037Which module gives control of the CPU to the process selected by the short-term scheduler?
3038Dispatcher
3039567.
3040The searching technique that takes O (1) time to find a data is
3041Hashing
3042568.
3043The master slave JK lip-flop is effectively a combination of
3044569.
3045The mechanism that bring a page into memory only when it is needed is called _____________
3046Demand Paging
3047
3048
3049570.
3050The main difference between synchronous and asynchronous transmission is
3051SR and T Flip FLop
3052571.
3053Let R be the relation on the set of positive integers such that a aRb if and only if a and b are distinct and have a common divisor other than 1. Which one of the following statements about R is true?
3054572.
3055What technique is often used to prove the correctness of a recursive function?
3056A. Communitivity.
3057• B. Diagonalization.
3058• C. Mathematical induction.
3059• D. Matrix Multiplication.
3060573.
3061The command which undo the transaction is
3062Undo-Transaction command
3063574.
3064Which of the following is a Non-linear data structure
3065None of the above
3066575.
3067Which directory implementation is used in most Operating System?
3068Tree Directory Structure
3069576.
3070Which of the following is not true of virtual memory?
3071Virtual memory allows more efficient use of memeory( Actually, it doesn’t)
3072577.
3073ARP (Address Resolution Protocol) is
3074
3075578.
3076A bit-stuffing based framing protocol uses an 8-bit delimiter pattern of 01111110. If the
3077output bit-string after stuffing is 01111100101, then the input bit-string is
3078Answer: 0111110101
3079
3080579.
30811. If a sequence of push(1), push(2), pop,push(1),push(2),pop,pop,pop, push(2) pop operations are performed in a stack , the sequence of popped out values are
3082
3083 2 2 1 1 2
3084
3085580.
3086Changing the conceptual schema without having to change physical schema is
3087Logical Data Independence
3088581.
3089When two or more processes trying to execute a set of instructions and if the output depends on the order of execution of the process, this is termed as:
3090582.
3091With a single resource, deadlock occurs,
3092
3093
3094
3095
3096
3097
3098583.
3099The best index for range query is
3100584.
3101A system has ‘n’ processes and each process need 2 instances of a resource. There are n+1 instances of resource provided. This could:
3102585.
3103How switching is performed in the internet?
3104586.
31051. You are given pointer p that points to the last node in a circular list and another singly linked list whose first node is pointed to by ‘head’ and last node is pointed to by ‘tail’ has to be appended to the end of the circular list. Which of the following is correct?
3106587.
3107Which of the following is shared between all of the threads in a process? Assume a kernel level thread implementation.
3108588.
3109A telephone switch is a good example of which of the following types of switches.
3110
3111589.
3112 Among the following which is not the application of a stack?
3113590.
3114Commit, Savepoint, Rollback are ________
3115TCL Commands
3116591.
3117Which of the following is shared between all of the threads in a process? Assume a kernel level thread implementation.
3118592.
3119In priority scheduling algorithm, when a process arrives at the ready queue, its priority is compared with the priority of
3120Currently Running Process
3121593.
3122The performance of cache memory is frequently measured in terms of a quantity called
3123Hit Ratio
3124594.
3125You are given pointers to first and last nodes of a singly linked list, which of the following operations are dependent on the length of the linked list?
3126Delete the last element of the list
3127
3128595.
3129R right outer join S on a=b gives
3130
3131596.
3132the following pairs of OSI protocol layer/sub-layer and its functionality, the INCORRECT pair is
3133Data Link Layer and Bit synchronization
3134
3135597.
3136Consider a system with ‘M’ CPU processors and ‘N’ processes then how many processes can be present in ready, running and blocked state at maximum
3137
3138lets say you have n number of cpu and p number of processes
3139ready state the mininum number of processes = 0, maximum = M
3140run state the mininum number of processes = 0, maximum = M (at the run state the maximum number of process cannot be p or 0 because we have cpu bound processes. that is n ……..p depicts number of i/o bound processes)
3141at wait state the mininum number of processes = 0, maximum = N
3142
3143598.
3144Four jobs to be executed on a single processor system arrive at time 0 in order A, B, C, and D. Their burst time requirements are 4,1,8,1 time units respectively. Find the completion of A under round robin scheduling with time slice of one time unit.
31459 Units
3146599.
3147Which one of the following protocols is NOT used to resolve one form of address to another one?
3148DHCP
3149
3150600.
3151What is the software that runs a computer, including scheduling tasks, managing storage, and handling communication with peripherals?
3152Operating System
3153601.
31541. If a , b , c, are three nodes connected in sequence in a singly linked list
3155 struct node *temp=a;
3156 while(temp!=NULL) {
3157 temp=temp->next; printf( “$â€); }
3158Assuming ‘c’ to be the last node, the output is $$$
3159602.
3160This user makes canned transaction naïve or end user
3161603.
3162 For 3 page frames, the following is the reference string:
31637 0 1 2 0 3 0 4 2 3 0 3 2 1 2 0 1 7 0 1.
3164How many page faults does the FIFO page replacement algorithm produce?
316515
3166604.
3167Buffering is useful because it allows devices and the CPU to operate asynchronously
3168605.
3169What does the code snippet given below do?
3170void fun1(struct node *head)
3171{ if(head==NULL) return;
3172fun1(head->next);
3173printf("%d",head->data);
3174}
3175Fun1() prints the given Linked List in reverse manner
3176606.
3177The transport layer protocols used for real time multimedia, file transfer, DNS and email, respectively are
3178UDP, TCP, UDP and TCP
3179For real time multimedia, timely delivery is more important than correctness. –> UDP
3180For file transfer, correctness is necessary. –> TCP
3181DNS, timely delivery is more important –> UDP
3182Email again same as file transfer –> TCP
3183607.
3184This Key Uniquely Identifies Each Record
3185Primary Key
3186608.
3187What is the main difference between traps and interrupts?
3188How they are initiated
3189609.
3190Given memory partitions of 100K, 500K, 200K, 300K, and 600K (in order), how would each of the First-ï¬t, Best-ï¬t, and Worst-ï¬t algorithms place processes of 212K, 417K, 112K, and 426K (in order)? Which algorithm makes the most efï¬cient use of memory?
3191First-fit:
3192212k -> 500K (288 left)
3193417k -> 600k (183 left)
3194122k -> 288k (166k left)
3195426k -> nowhere big enough left! doh!
3196
3197Best-fit:
3198212k -> 300k (88k left)
3199417k -> 500k (83k left)
3200122k -> 200k (78k left)
3201426k -> 600k (174k left)
3202
3203Worst-fit:
3204212k -> 600k (388k left)
3205417k -> 500k (83k left)
3206122k -> 388k (266k left)
3207426k -> nowhere big enough again!
3208
3209the best fit algorithms uses memory most efficiently (it's also the only one that can even put all the processes into memory!)
3210610.
3211Which of the following transport layer protocols is used to support electronic mail?
3212TCP(transport layer) SMTP(application layer)
3213611.
3214The following query is called as ? select * from emp where ssn in ( select dssn from dependent order by age desc ) ?;
3215DML query
3216612.
3217Which of the following is termed as reverse polish notation?
3218Any postfix notation
3219613.
3220In one of the pairs of protocols given below, both the protocols can use multiple TCP connections between the same client and the server. Which one is that?
3221SMTP: only one TCP connection
3222Telnet: only one TCP connection
3223HTTP: Multiple connections can be used for each resource
3224FTP: FTP uses Telnet protocol for Control info on a TCP connection and another TCP connection for data exchange
3225So, answer is HTTP and FTP
3226614.
3227The term P means in semaphores
3228Wait(probheer)
3229615.
3230If two interrupts, one of higher priority and other of lower priority occur simultaneously, then the service provided is for
3231Higher priority
3232616.
3233The data type describing the types of values that can appear in each column is called ______________________.
3234domain
3235617.
3236For the given infix expression a+b^c*(d-e) where ‘^’ denotes the EX-OR operator, the
3237 corresponding prefix expression is
3238^+ab*c-de
3239618.
3240Let S and Q be two semaphores initialized to 1, where P0 and P1 processes the following statements wait(S);wait(Q); ---; signal(S);signal(Q) and wait(Q); wait(S);---;signal(Q);signal(S); respectively. The above situation depicts a _________ .
3241deadlock
3242619.
3243The query to print alternate records (i.e even numbered) from a table is
3244Select * from TableName where ColumnName % 2 = 0(even number)
3245SELECT usernameFROM (SELECT ROWNUM num, usernameFROM dba_users)
3246WHERE MOD (num, 2) = 0;(even number)
3247
3248Select * from TableName where ColumnName % 2 = 1(odd number)
3249620.
3250A 4-way set-associative cache memory unit with a capacity of 16 KB is built using a block size of 8 words. The word length is 32 bits. The size of the physical address space is 4 GB. The number of bits for the TAG field is
3251Number of sets = cache size / sizeof a set
3252
3253Size of a set = blocksize * no. of blocks in a set
3254= 8 words * 4 (4-way set-associative)
3255= 8*4*4 (since a word is 32 bits = 4 bytes)
3256= 128 bytes.
3257
3258So, number of sets = 16 KB / (128 B) = 128
3259Now, we can divide the physical address space equally between these 128 sets. So, the number of bytes each set can access
3260= 4 GB / 128
3261= 32 MB
3262= 32/4 = 8 M words = 1 M blocks. (220 blocks)
3263
3264So, we need 20 tag bits to identify these 220 blocks.
3265621.
3266Which of the following is two way list?
3267None of the above
3268622.
3269The protocol data unit (PDU) for the application layer in the Internet stack is
3270Message
3271623.
3272In an Ethernet local area network, which one of the following statements isTRUE?
3273The exponential backoff mechanism reduces the probability of collision on retransmissions
3274624.
3275Consider a join (relation algebra) between relations r(R)and s(S) using the nested loop method. There are 3 buffers each of size equal to disk block size, out of which one buffer is reserved for intermediate results. Assuming size(r(R))
3276relation r(R) is in the outer loop.
3277625.
3278An optimal scheduling algorithm in terms of minimizing the average waiting time of a given set of processes is ________.
3279SJF
3280626.
3281In the process state transition diagram, the transition from the READY state to the RUNNING state indicates that:
3282the process in the running state can be preempted and brought back to ready state.
3283
3284627.
32851. A circularly linked list is used to represent a Queue. A single variable p is used to access the Queue. To which node should p point such that both the operations enQueue and deQueue can be performed in constant time?
3286 Rear node
3287628.
3288Consider the following four schedules due to three transactions (indicated by the subscript) using read and write on a data item x, denoted by r(x) and w(x) respectively. Which one of them is
3289conflict serializable?
3290
3291Answer : D
3292
3293629.
3294The stage delays in a 4-stage pipeline are 800, 500, 400 and 300 picoseconds. The first stage (with delay 800 picoseconds) is replaced with a functionally equivalent design involving two stages with respective delays 600 and 350 picoseconds. The throughput increase of the pipeline is percent
329533.33
3296630.
3297In the IPv4 addressing format, the number of networks allowed under Class C addresses is
32982^21
3299631.
33001. If a sequence of enque(1), enque (2), deque, enque (1), enque (2), deque, deque, deque, enque (2) operations are performed in a queue , the list of elements that would have been processed are
3301632.
3302Which of the following is not true about segmented memory management?
3303virtual memory is used only in multi-user systems
3304633.
3305R has n tuples and S has m tuples, then the Cartesian product of R and S will produce ___________ tuples.
3306m*n
3307634.
33081. In a circular list with 5 nodes, let ‘temp’ point to the 4th node at present.
3309int i;
3310for(i=0;i<4;i++)
3311 temp=temp->next;
3312The above code will make ‘temp’ point to
33133rd Node
3314635.
3315What is the main difference between traps and interrupts?
3316Trap is s/w generated. Interrupt is h/w generated.
3317636.
3318IEEE 802.5 is a _______________
3319Token Ring related
3320637.
3321Which one of the following fields of an IP header is NOT modified by a typical IP router?
3322Source Address
3323638.
3324Minimal super key of a relation is called _______________.
3325Candidate key
3326
3327639.
3328For what value of c1 and c2 , the theta notation of f(n)=5n2+3n+2 is n2?
3329640.
3330When a program tries to access a page that is mapped in address space but not loaded in physical memory, then
3331Page fault occurs
3332641.
3333The main advantage of DMA is that it
3334High transfer rates
3335
3336642.
3337If a class B network on the Internet has a subnet mask of 255.255.248.0, what is the maximum number of hosts per subnet?
33382046
3339
3340643.
3341A typical hard drive has a peak throughput of about
3342600 mbps (not sure)
3343644.
3344Which algorithm chooses the page that has not been used for the longest period of time whenever the page required to be replaced?
3345LRU
3346645.
3347Consider a relation R (A, B, C, D, E) with set of functional dependencies F = {A¿BC, CD¿E, B¿D, E¿A}. Which of the following is one of the candidate keys of R?
3348The candidate keys are A, E, CD, and BC
3349646.
33501. Consider a dynamic queue with two pointers: front and rear. What is the time needed
3351 to insert an element in a queue of length of n?
3352O(1). Insert element at rear.
3353647.
3354DMA is useful for the operations
3355DMA is useful for transferring data between memory and devices if large volume of data is to be transferred, or the devices have small response times. Because after setting up buffers, pointers, and counters for the I/O device, the device controller transfers an entire block of data directly to or from its own buffer storage to memory, with no intervention by the CPU. Only one interrupt is generated per block, rather than the one interrupt per byte (or word) generated for low-speed devices.
3356Alternatively, you may simply say:
3357DMA is useful for transferring large quantities of data between memory and devices. It eliminates the need for the CPU to be involved in the transfer, allowing the transfer to complete more quickly and the CPU to perform other tasks concurrently.
3358648.
33591. Which sorting technique uses a data structure similar to the one used in bucket hashing?
3360 Bucket sort
3361649.
3362How many address bits are needed to select all memory locations in the 16K × 1 RAM?
336314
3364650.
3365RAID is a way to:
3366RAID is the way of combining several independent and relatively small disks into a single storage of a large size. The disks included into the array are called array members. The disks can be combined into the array in different ways which are known as RAID levels.
3367
3368651.
3369Assume that source S and destination D are connected through two intermediate routers labeled R. Determine how many times each packet hasto visit the network layer and the data link layer during a transmission from S to D.
3370Network layer – 4 times and Data link layer – 6 times
3371
3372652.
3373 __________is the description of the database
3374653.
3375Identify the correct sequence in which the following packets are transmitted on the network by a host when a browser requests a webpage from a remote server, assuming that the host has just been restarted.
3376DNS query, TCP SYN, HTTP GET request
3377654.
33781. On adopting shell sort technique, the output of the array (21,62,14,9,30,77,80,25) after a pass with increment size =3, is
3379655.
3380Which of these would not be a good way for the OS to improve battery lifetime in a laptop?
3381
3382656.
3383Which of the following is not included in an inode in Linux?
3384File name and directory
3385657.
3386The DMA controller has _______ registers
33873
3388658.
3389Consider a relational table with the schema R (A, B, C). Assume that the cardinality of attribute A is 10, B is 20, and C is 5. What is the maximum number of records R can have without duplicate?
33901000
3391659.
3392An IP router with a Maximum Transmission Unit (MTU) of 1500 bytes has received an IPpacket of size 4404 bytes with an IP header of length 20 bytes. The values of the relevant fields in the header of the third IP fragment generated by the router for this packet are
3393MF bit: 0, Datagram Length: 1444; Offset: 370
3394660.
33951. For the array , (77 ,62,114,80,9,30,99), write the order of the elements after two passes
3396 using the Radix sort.
3397661.
3398What is the correct HTML for making a hyperlink?
3399a href = “â€
3400
3401662.
3402One of the header fields in an IP datagram is the Time to Live (TTL) field. Which of the following statements best explains the need for this field?
3403It can be used to prevent packet looping
3404663.
3405Assume relations R and S with the schemas R (A, B, C) and S (B, D). Which of the following is equivalent to r ¿ s?
3406664.
3407A Program Counter contains a number 825 and address part of the instruction contains the number 24. The effective address in the relative address mode, when an instruction is read from the memory is
3408849
3409
3410665.
34111. Time complexity of the program to generate Fibonacci sequence is
3412 T(n) = T(n-1) + T(n-2) which is exponential.
3413 Or O(n)
3414666.
3415Which one of the following is NOT a part of the ACID properties of database transactions?
3416Atomicity, Consistency, Isolation, durability
3417667.
34181. While applying Quick sort technique for the array 5 4 3 8 12 6 10 1 7 9, if pivot =5, after the first traversal on both sides, ‘l’ and ‘r’ will be
3419 5 4 3 1 12 6 10 8 7 9
3420668.
3421When process requests for a DMA transfer ,
3422process is temporarily suspended and another process gets executed.
3423669.
3424How switching is performed in the internet?
3425Packet Switching
3426670.
3427The <big> tag makes
3428the text bigger than the normal. Not supported in HTML 5
3429
3430671.
34311. If a[] is the array containing the elements to be sorted using radix sort, during the second iteration in which the second Least Significant Digit is considered, row number in 2D array to which an element has to be stored is given by
3432
3433672.
3434Which of following property returns the window object generated by a frame object
3435contentWindow
3436673.
3437Foreign key is a subset of primary key is stated in _____________ constraint
3438Foreign Key
3439674.
3440What is the unique characteristic of RAID 6 ?
3441Two independent distributed parity.
3442675.
3443A layer -4 firewall (a device that can look at all protocol headers up to the transport layer) CANNOT
3444Block TCP traffic from a specific user on a multi-user system during 9:00PM and 5:00AM
3445676.
3446Which of the following address modes calculate the effective address as
3447address part of the instruction) + (content of CPU register)
3448. Indirect Address Mode
3449677.
3450A telephone switch is a good example of which of the following types of switches.
3451circuit
3452
3453678.
3454Which component of a database is used for sorting?
3455procedure
3456679.
34571What is the output of following JavaScript code
3458
3459
3460680.
3461If a , b , c, d are four nodes connected in sequence in a doubly-linked list
3462 Struct node *temp=a;
3463 Temp=temp->next;
3464 (Temp->next)->prev=temp->prev;
3465 (Temp->prev)->next=temp->next; Which of the following is true?
3466B is deleted from the list
3467681.
3468The load instruction is mostly used to designate a transfer from memory to a
3469processor register known as
3470accumulator
3471682.
3472You can refresh the web page in javascript by using ................ method.
3473Reload()
3474683.
3475The max-heap for the array ( 4, 3, 1, 5, 9, 2, 8 ) is
3476 9
3477 5 8
34783 4 1 2
3479684.
3480If message in Segmentation and Reassembly (SAR) sub layer of Application Adaptation Layer 3/4 has value of Segment type is 11 then it is called a
3481single segment message.
3482685.
3483Consider the following relation
3484Cinema (theater, address, capacity)
3485Which of the following options will be needed at the end of the SQL query
3486SELECT P1. address
3487FROM Cinema P1
3488Such that it always finds the addresses of theaters with maximum capacity?
3489WHERE P1. Capacity> = All (select P2. Capacity from Cinema P2)613.
3490686.
3491In Circuit Switching, resources need to be reserved during the
3492Setup phase
3493687.
3494The load instruction is mostly used to designate a transfer from memory to a processor register known as____.
3495accumulator
3496688.
3497Which of the following is the correct way for writing JavaScript array?
3498var txt = new Array("arr ","kim","jim")
3499689.
3500Among the following ,which has the highest time complexity O(n2) in all the three
3501 cases.(Worst,average and best) and cannot be improved?
3502690.
3503Which of the following relational algebra operations do not require the participating tables to be union-compatible?
3504Join
3505691.
3506In RMI Architecture which layer Intercepts method calls made by the client/redirects these calls to a remote RMI service?
3507Stub and Skeleton layer
3508692.
3509Assume transaction A holds a shared lock R. If transaction B also requests for a shared lock on R.
3510It will immediately be granted
3511693.
3512A bit-stuffing based framing protocol uses an 8-bit delimiter pattern of 01111110. If the output bit-string after stuffing is 01111100101, then the input bit-string is
35130111110101
3514694.
3515For an algorithm whose step-count is 45n3+34n , choose the correct statement.
3516695.
3517What is the output of following JavaScript code
3518696.
3519Relations produced from an E-R model will always be
3520697.
3521How do you put a message in the browser's status bar?
3522 window.status = "put your message here"
3523698.
3524Congestion control and quality of service is qualities of the
3525ATM
3526699.
3527If the associativity of a processor cache is doubled while keeping the capacity and block size unchanged, which one of the following is guaranteed to be NOT affected?
3528Width of processor to main memory data bus
3529700.
3530If the element 12 has to be searched in the array (2,4,8, 9,14,16, 18), using binary
3531 search, the result can be obtained within _____ comparisons.
35323
3533701.
3534A computer system implements 8 kilobyte pages and a +32-bit physical address space. Each page table entry contains a valid bit, a dirty bit, three permission bits, and the translation. If the maximum size of the page table of a process is 24 megabytes, the length of the virtual address supported by the system is _________ bits.
353536
3536702.
3537Which two files are used during operation of the DBMS?
3538data dictionary and transaction log
3539703.
3540In the following pairs of OSI protocol layer/sub-layer and its functionality, the INCORRECT pair is
3541Data Link Layer and Bit Synchronization
3542704.
3543What is the output of following JavaScript code?
3544
3545
3546705.
35471. For the array , (77 ,62,14,80,9,30,99) , if Quick sort technique is followed,what will be
3548 the array status after placing the first pivot element in its appropriate place?
354962,14,9,30,77,80,99
3550706.
3551What is the correct JavaScript syntax to write "Hello World"
3552document. write("Hello World");
3553707.
3554The local host and the remote host are defined using IP addresses. To define the processes, we need second identifiers called.........
3555UDP Addresses
3556708.
3557The number of outputs in n-input decoder is
35582^n
3559709.
3560Which two RAID types use parity for data protection?
3561RAID 4 and RAID 5
3562710.
3563Rotation method of hashing is usually combined with other hashing techniques except
3564Last character
3565711.
3566The two's complement of 101011 is
3567010101
3568712.
3569
3570----------------------is a description of the database
3571Schema
3572713.
3573Browsers typically render text wrapped in ___________ tags as an indented paragraph.
3574<blockquote>
3575714.
3576Which one of the following protocols is NOT used to resolve one form of address to another one?
3577DHCP
3578715.
35791. Among the following sorting techniques ,which has its time complexity as O(n) in the
3580 best-case?
3581Insertion,Bubble
3582716.
3583-------involves finding the best line to fit two attributes so that one attribute is used to predict another attribute.
3584Linear Regression
3585717.
3586The number of boolean functions in n-variables is
3587(2^(2^n))
3588718.
3589UDP uses........ to handle outgoing user datagrams from multiple processes on one host.
3590Multiplexing
3591719.
3592Who invented the JavaScript programming language?
3593 Brendan Eich
3594720.
3595 Java package is a grouping mechanism with the purpose of
3596Controlling the visibility of classes, interface and methods
3597721.
3598A heap memory area is used to store the
3599Heap memory is used for dynamic memory allocation
3600722.
3601The transport layer protocols used for real time multimedia, file transfer, DNS and email, respectively are
3602(A) TCP, UDP, UDP and TCP
3603(B) UDP, TCP, TCP and UDP
3604(C) UDP, TCP, UDP and TCP
3605(D) TCP, UDP, TCP and UDP
3606Answer: (C)
3607723.
3608 What is the output of following JavaScript code?
3609
3610 Output : 44
3611724.
3612The lifetime of flash memory is ---------------------
3613Lifetime of a flash memory is long.
3614725.
3615A schema describes
3616A. Record & files
3617B. data elements
3618C. record relationships
3619D. all of the above
3620Ans Correct Answer is d
3621726.
3622What is the output of following JavaScript code
3623
3624
3625727.
3626The ......... protocol defines a set of messages sent over either User Datagram Protocol (UDP) port53 or Transmission Control Protocol(TCP) port53.
3627A. Name space
3628B. DNS
3629C. Domain space
3630D. Zone transfer
3631Ans: B. DNS
3632728.
3633What is the multiplexer used for?
3634a) It is a type of decoder which decodes several inputs and gives one output
3635b) A multiplexer is a device which converts many signals into one
3636c) It takes one input and results into many output
3637d) None of the Mentioned
3638Ans. B
3639
3640729.
3641Which of the following is true for the given tree?
3642
3643
3644730.
3645Trigger is a
3646Trigger is a special kind of a store procedure that executes in response to certain action on the table like insertion, deletion or updation of data
3647731.
3648Which of the following transport layer protocols is used to support electronic mail?
3649(A) SMTP
3650(B) IP
3651(C) TCP
3652(D) UDP
3653
3654Answer (C)
3655E-mail uses SMTP as application layer protocol. SMTP uses TCP as transport layer protocol.
3656732.
3657What will be printed as the output of the following program?
3658 public class testincr
3659 {
3660 public static void main(String args[])
3661 {
3662 int i = 0;
3663 i = i++ + i;
3664 System.out.println(" I = " +i);
3665 }
3666 }
3667Output: I = 1
3668733.
3669Identify the addressing mode of the following instruction
3670Add R1, R2, R3
3671where R1, R2 are operands and R3 destination
3672Answer : Three-Address Instructions
3673734.
3674R left outer join S on a=b gives
3675No table given
3676735.
3677What is the output of following JavaScript code
3678
3679Output : N
3680736.
3681Foreign key is a subset of primary key is stated in -----------constraint
3682737.
3683What is the output of following JavaScript code
3684738.
3685When a network interface has a failure in its circuitry, it sends a continuous stream of frames causing the Ethernet LAN to enter a Collapse state. This condition is known as __________.
3686a.Scattering
3687b.Jabbering
3688c.Blocking
3689d.Refreshing
3690Ans: b.Jabbering
3691
3692739.
3693To prevent any method from overriding, the method has to declared as,
3694And: Method is declared with a ‘final’ keyword
3695740.
3696Which of the following addressing modes has minimum number of memory access to access the operands?
3697A. Indirect
3698B. Direct
3699C. Indexed
3700D. Immediate
3701And: D.Immediate
3702
3703741.
3704In one of the pairs of protocols given below, both the protocols can use multiple TCP connections between the same client and the server. Which one is that?
3705(A) HTTP, FTP
3706(B) HTTP, TELNET
3707(C) FTP, SMTP
3708(D) HTTP, SMTP
3709Answer: (A)
3710Explanation: HTTP may use different TCP connection for different objects of a webpage if non-persistent connections are used.
3711FTP uses two TCP connections, one for data and another control.
3712TELNET and FTP can only use ONE connection at a time
3713742.
3714R left outer join S on a=b gives
3715743.
3716 The ways to accessing html elements in java script
3717 document.getElementById("intro");
3718 getElementsByTagName("p");
3719 getElementsByClassName("intro");
3720 document.forms["frm1"];
3721744.
3722How many flip-flops are present in register of sixteen bits?
3723Ans: 16 Flip flops
3724745.
3725temp=root->left;
3726 while(temp->right!=NULL)
3727 temp=temp->right;
3728 return temp;
3729 The above code snippet for a BST with the address of the root node in pointer ‘root’
3730 returns
3731Ans:Inorder Predecessor
3732746.
3733A subnet has been assigned a subnet mask of 255.255.255.192. What is the maximum number of hosts that can belong to this subnet?
3734(A) 14
3735(B) 30
3736(C) 62
3737(D) 126
3738Answer: (C)
3739747.
37404. What is the correct syntax for referring to an external script called " abc.js"
3741A. <script href=\" abc.js\">
3742B. <script name=\" abc.js\">
3743C. <script src=\" abc.js\">
3744D. None of the above
3745Ans: C. <script src=\" abc.js\">
3746748.
3747Which one of the following is not true?
3748749.
3749
3750In a relational schema, each tuple is divided into fields called
3751A) Relations
3752B) Domains
3753C) Queries
3754D) All of the above
3755Ans: B) Domains
3756750.
3757If a pipeline has five stages, assuming each stage is one cycle, the earliest time to receive an output from an instruction without any forwarding (not nop) is after which cycle?
3758751.
3759The term scheme means:
3760752.
3761How many phases are present in the simplest pipeline system?
3762753.
3763Identify the sorting technique that supports divide and conquer strategy and has (n2) complexity in worst case
3764a. Bubble sort
3765b. Insertion sort
3766c. Quick sort
3767d. All of above
3768Ans: c. Quick sort
3769754.
3770 A system of interlinked hypertext documents accessed via the Internet is known as
3771The World Wide Web (abbreviated as WWW or W3, commonly known as the web), is a system of interlinked hypertext documents accessed via the Internet
3772755.
3773Value of checksum must be recalculated regardless of
3774De-fragmentation
3775Fragmentation
3776Transfer
3777Size
3778Ans: Fragmentation
3779756.
3780In Circuit Switching, resources need to be reserved during the
3781Ans: the resources need to be reserved during the setup phase
3782757.
3783The language used in application programs to request data from the DBMS is referred to as the
3784A. DML
3785B. DDL
3786C. query language
3787D. All of the above
3788E. None of the above
3789Answer: Option A
3790758.
3791A ____________ is often used if you want the user to verify or accept
3792confirm box
3793759.
3794Can any unsigned number be represented using one register in 64-bit processor
3795ANS: 2^63 – 1 numbers (Not sure).
3796760.
37971. Inorder and postorder traversal sequences of a binary tree are 45 50 55 65 70 75 80 85 90
3798and 45 55 65 50 75 90 85 80 70. What are its leaf nodes?
3799Ans: 45,55,70,85
3800761.
3801Which normal form is considered adequate for relational database design?
3802Ans: Which normal form is considered adequate for normal relational database design? Explanation: A relational database table is often described as “normalized†if it is in the Third Normal Form because most of the 3NF tables are free of insertion, update, and deletion anomalies
38033NF
3804762.
3805 In Javascript, which of the following method is used to find out the character at a position in a string?
3806 a) charAt()
3807 b) CharacterAt()
3808 c) CharPos()
3809 d) characAt()
3810 ans: a
3811763.
3812If the page size is 1024 bytes, what is the page number in decimal of the following virtual address
38131110 1010010101
3814764.
3815The protocol data unit (PDU) for the application layer in the Internet stack is
3816(A) Segment
3817(B) Datagram
3818(C) Message
3819(D) Frame
3820
3821Answer (C)
3822The Protocol Data Unit for Application layer in the Internet Stack (or TCP/IP) is called Message.
3823765.
38241. The preorder traversal of the AVL tree obtained by inserting 17,7,20,10,8 is
3825766.
3826A queue data structure can be used for
3827Ans: Typical uses of queues are in simulations and operating systems.
3828Operating systems often maintain a queue of processes that are ready to execute or that are waiting for a particular event to occur.
3829Computer systems must often provide a “holding area†for messages between two processes, two programs, or even two systems. This holding area is usually called a “buffer†and is often implemented as a queue.
3830767.
3831 What is the JavaScript syntax to insert a comment that has more than one line?
3832 ans: “/* … */†can be used to insert comment > 1line
3833768.
3834Given four frames in main memory, the following is the content of the page table. Assuming the frames are fetched at time instant 3, 4, 1, 2 which frame will be replaced to place the page 46 using first in first out replacement algorithm?
383523
383634
383710
38384
3839
3840page 46?????
3841
3842
3843769.
3844In an Ethernet local area network, which one of the following statements isTRUE?
3845 (A) A station stops to sense the channel once it starts transmitting a frame.
3846(B) The purpose of the jamming signal is to pad the frames that are smaller than the minimum frame size.
3847(C) A station continues to transmit the packet even after the collision is detected.
3848(D) The exponential backoff mechanism reduces the probability of collision on retransmissions
3849
3850Answer: (D)
3851770.
3852The concept of locking can be used to solve the problem of
3853Deadlock
3854 Lost update
3855 Inconsistent
3856 All of the above
3857Ans: All of the above
3858771.
3859………… is very useful in situation when data have to stored and then retrieved in reverse order.
3860Ans: Stack
3861772.
3862In a E-R diagram, ellipses represent a
3863Ans : Attributes are represented by means of ellipses. Every ellipse represents one attribute
3864773.
3865What does isNaN function do in JavaScript?
3866Ans: The isNaN() function determines whether a value is an illegal number (Not-a-Number). This function returns true if the value equates to NaN. Otherwise it returns false.
3867774.
3868Consider the following message M = 1010001101. The cyclic redundancy check (CRC) for this message using the divisor polynomial x5 + x4 + x2 + 1 is :
3869Ans: 01110
3870775.
3871The daisy chaining prioirty gives least priority to which device?
3872Ans: Slow devices such as Keyboard
3873776.
3874A binary search tree whose left subtree and right subtree differ in hight by at most 1 unit is called ……
3875Ans AVL Tree
3876777.
3877Which method is implemented in RAID 1?
3878RAID 1 consists of an exact copy (or mirror) of a set of data on two or more disks; a classic RAID 1 mirrored pair contains two disks. This configuration offers no parity, striping, or spanning of disk space across multiple disks, since the data is mirrored on all disks belonging to the array, and the array can only be as big as the smallest member disk. This layout is useful when read performance or reliability is more important than write performance or the resulting data storage capacity.
3879778.
3880Dotted-decimal notation of 10000001 00001011 00001011 11101111 would be
3881Ans: 129 .11 .11.239
3882779.
3883Which of the following desired features are beyond the capability of relational algebra?
3884(a) Aggregate computation
3885(b) Multiplication
3886 (c) Finding transitive closure
3887 (d) None of the above
3888Ans: All a,b,c (Aggregate Computation,Multiplication,Finding transitive closure)
3889780.
3890 How do you create a new object in JavaScript?
3891 Ans : There are various ways to create an object in js:
3892 a)define a constructor function and then create an object by using the new keyword
3893 b)Using object.create() method
3894 Object.create(proto [, propertiesObject ])
3895781.
3896A processor can support a maximum memory of 4 GB, where the memory is word-addressable (a word consists of two bytes). The size of the address bus of the processor is at least __________ bits
3897Ans: Maximum Memory = 4GB = 232 bytes
3898Size of a word = 2 bytes
3899Therefore, Number of words = 232 / 2 = 231
3900So, we require 31 bits for the address bus of the processor.
3901782.
3902When determining the efficiency of algorithm the time factor is measured by
3903Ans: Counting the number of key operations
3904783.
3905What is the output of following JavaScript code?
3906
3907Ans: Quality 100
3908784.
3909What are the potential problems when a DBMS executes multiple transaction concurrently
3910Ans: Lost update problem,dirty read problem
3911785.
3912In the IPv4 addressing format, the number of networks allowed under Class C addresses is
3913Ans: 2^21
3914786.
3915Which one of the following allows a user at one site to establish a connection to another site and then pass keystrokes from local host to remote host?
3916Ans : Telnet
3917
3918787.
3919RAM type is justified as
3920Ans RAM is justified as being reliable and error detecting
3921788.
3922Linked lists are best suited
3923
3924Ans for the size of the structure and the data in the structure are constantly changing
3925789.
3926 Which of the following object is the highest-level object in the browser object hierarchy?
3927 Ans Javascript Window object
3928790.
3929Let R be a relation. Which of the following comments about the relation R are correct?
3930791.
3931The resources needed for communication between end systems are reserved for the duration of session between end systems in
3932Ans Circuit Switching
3933792.
3934The size of the data count register of a DMA controller is 16 bits. The processor needs to transfer a file of 29,154 kilobytes from disk to main memory. The memory is byte addressable. The minimum number of times the DMA controller needs to get the control of the system bus from the processor to transfer the file from the disk to main memory is
3935
3936Ans
3937Size of data count register of the DMA controller = 16 bits
3938Data that can be transferred in one go = 216 bytes = 64 kilobytes
3939File size to be transferred = 29154 kilobytes
3940So, number of times the DMA controller needs to get the control of the system bus from the processor to transfer the file from the disk to main memory = ceil(29154/64) = 456
3941793.
3942Linked list are not suitable data structure of which one of the following problems ?
3943Ans: Binary Search(Because it will take O(n/2) time to find the middle element)
3944794.
3945What is the output of following JavaScript code?
3946
3947Ans 2
3948795.
3949Changing the conceptual schema without having to change physical schema is
3950Ans Data Independence
3951796.
3952________ extracts the DML statements from a host language and passes to DML Compiler
3953Ans Precompiler
3954797.
3955What is the output of following JavaScript code?
3956
3957Ans 16
3958798.
3959Which of the following is useful in implementing quick sort?
3960Ans Stacks
3961799.
3962Which of the following raid levels provides maximum usable disk space?
3963Ans Raid 0
3964800.
3965Which one of the following fields of an IP header is NOT modified by a typical IP router?
3966
3967Ans Source Address
3968801.
3969What are the states of the Auxiliary Carry (AC) and Carry Flag (CF) after executing the following 8085 program? MVI H, 5DH; MIV L, 6BH; MOV A, H; ADD L
3970Ans AC=1 CY 0
3971802.
3972Which of the following object represents the HTML document loaded into a browser window?
3973Ans Window object
3974803.
3975What is the result of the following operation Top (Push (S, X))
3976Ans X
3977804.
3978These networking classes encapsulate the "socket" paradigm pioneered in the (BSD) Give the abbreviation of BSD?
3979Ans Berkeley Software Distribution
3980805.
3981Truncate is _________ command
3982Ans DDL
3983806.
3984In a priority queue insertion and deletion takes place at
3985Ans Any Position
3986807.
3987A transaction is permanently saved in the hard disk only after giving
3988Ans COMMIT Command
3989808.
3990The performance of cache memory is frequently measured in terms of a quantity called
3991Ans Hit Ratio
3992809.
3993If message in Segmentation and Reassembly (SAR) sub layer of Application Adaptation Layer 3/4 has value of Segment type is 11 then it is called a
3994Ans Single segmented Message
3995810.
3996 What is the output of following JavaScript code?
3997
3998811.
3999When does the top value of stack changes?
4000Ans Before Insertion
4001812.
4002Digital signature envelope is decrypted by using _________.
4003Ans Symmetric key
4004813.
4005What is mean by "this" keyword in javascript?
4006Ans In JavaScript, the thing called this, is the object that "owns" the JavaScript code. The value of this, when used in a function, is the object that "owns" the function. The value of this, when used in an object, is the object itself. The this keyword in an object constructor does not have a value.
4007814.
4008DMA is useful for the operations
4009Ans DMA is useful for transferring data between memory and devices if large volume of data is to be transferred, or the devices have small response times.
4010815.
4011The data manipulation language (DML)
4012816.
4013If a class B network on the Internet has a subnet mask of 255.255.248.0, what is the maximum number of hosts per subnet?
4014
4015Ans 2046
4016817.
4017int unknown(int n) {
4018 int i, j, k = 0;
4019 for (i = n/2; i <= n; i++)
4020 for (j = 2; j <= n; j = j * 2)
4021 k = k + n/2;
4022 return k;
4023 }
4024818.
4025Math. round(-20.5)=?
4026Ans 21
4027819.
4028Computers use addressing mode techniques for _____________________.
4029Ans : A. giving programming versatility to the user by providing facilities as pointers to memory counters for loop control
4030B. to reduce no. of bits in the field of instruction
4031C. specifying rules for modifying or interpreting address field of the instruction
4032Ans ALL ABC
4033820.
4034An advantage of the database approach is
4035Ans The advantages in the database approach are as follows:
4036
4037ï‚§ All the three managers are using the same database; hence, any report using the information will not be inconsistent.
4038
4039ï‚§ All the three managers can view the database as per their needs.
4040
4041ï‚§ The application systems can be developed independent of the database.
4042
4043ï‚§ The data validation and updating will be once and same for all.
4044
4045ï‚§ The data is shared by all users.
4046
4047ï‚§ The data security and privacy can be managed and ensured because the data entry in the database occurs once only and is protected by the security measures.
4048
4049ï‚§ Since the database is storage of the structured information, the queries can be answered fast by using the logic of the data structures.
4050
4051821.
4052Which of the following is not characteristics of a relational database model
4053822.
4054 The maximum number of binary trees that can be formed with three unlabeled nodes is:
40555
4056823.
4057A computer has a 256 KByte, 4-way set associative, write back data cache with block size of 32 Bytes. The processor sends 32 bit addresses to the cache controller. Each cache tag directory entry contains, in addition to address tag, 2 valid bits, 1 modified bit and 1 replacement bit. The size of the cache tag directory is
4058 16
4059824.
4060Which built-in method sorts the elements of an array
4061Sort()
4062825.
4063In ………………. Mode, the authentication header is inserted immediately after the IP header.
4064Tunnel
4065826.
4066Assume that source S and destination D are connected through two intermediate routers labeled R. Determine how many times each packet hasto visit the network layer and the data link layer during a transmission from S to D.
4067network layer -4 times, data link layer-6times
4068
4069
4070
4071
4072
4073827.
4074The minimum duration of the active low interrupt pulse for being sensed without being lost must be
4075one machine cycle
4076828.
4077Microsoft SQL Server is an example for which OLAP Server?
4078Specialized SQL servers
4079829.
4080Which built-in method returns the length of the string?
4081length()
4082830.
4083Trace the output of the following code?
4084
4085#include
4086using namespace std;
4087int main()
4088{
4089int x=15,y=27;
4090x = y++ + x++;
4091y = ++y + ++x;
4092cout<<x+y++<<++x+y;
4093 return 0;
4094}</x+y++<<++x+y;
4095116,116
4096
4097831.
4098Which of the following is not a stored procedure?
4099832.
4100Determine the output of the following code?
4101
4102#include
4103using namespace std;
4104class one
4105{
4106int a;
4107static int b;
4108public:
4109void initialize();
4110void print();
4111static void print_S();
4112};
4113int one::b = 0;
4114
4115void one::initialize()
4116{
4117a = 10;
4118b ++;
4119
4120}
4121void one::print()
4122{
4123cout<<a;
4124 cout<<b;
4125 }
4126void one::print_S()
4127{
4128
4129cout<<b;
4130 }
4131
4132
4133int main()
4134{
4135one o;
4136o.initialize();
4137o.print();
4138o.print_S();
4139return 0;
4140}
4141</b;
4142</b;
4143</a;
41441011
4145833.
4146Which of the following statements is FALSE regarding a bridge
4147Bridge reduces broadcast domain
4148834.
4149How many 8-bit characters can be transmitted per second over a 9600 baud serial communication link using asynchronous mode of transmission with one start bit, eight data bits, two stop bits, and one parity bit?
4150800
4151835.
4152Which of the following function of Array object calls a function for each element in the array?
4153forEach()
4154836.
4155Consider the following pseudo code fragment:
4156printf (“Helloâ€);
4157if(!fork( ))
4158printf(“Worldâ€);
4159Which of the following is the output of the code fragment?
4160
4161837.
4162Congestion control and quality of service is qualities of the
4163frame relay
4164838.
4165Which one of these is characteristic of RAID 5?
4166Distributed parity
4167839.
4168A file system with 300 GByte disk uses a file descriptor with 8 direct block addresses, 1 indirect block address and 1 doubly indirect block address. The size of each disk block is 128 Bytes and the size of each disk block address is 8 Bytes. The maximum possible file size in this file system in KBytes is
416935 Kbytes
4170840.
4171Dynamic web page
4172generates on demand by a program or a request from browser
4173841.
4174Identify the correct sequence in which the following packets are transmitted on the network by a host when a browser requests a webpage from a remote server, assuming that the host has just been restarted.
4175DNS query, TCP SYN, HTTP GET request
4176842.
4177Generally Dynamic RAM is used as main memory in a computer system as it______.
4178has higher speed
4179843.
4180Which one of the following statements is false?
4181844.
4182Which of the following is not a function of a DBA?
4183Network maintenance
4184845.
4185What is the return value of f(p,p) if the value of p is initialized to 5 before the call? Note
4186that the first parameter is passed by reference, whereas the second parameter is passed by value.
4187int f (int &x, int c) {
4188c=c-1;
4189if (c-0) return 1;
4190x=x+1;
4191return f (x,c)*x;}
4192846.
4193Uniform Resource Locator (URL), is a standard for specifying any kind of information on the
4194internet
4195847.
4196Which one of the following is a cryptographic protocol used to secure HTTP connection?
4197transport layer security (TSL)
4198848.
4199If a virtual memory system has 4 pages in real memory and the rest must be swapped to disk. Which of the following is the hit ratio for the following page address stream. Assume memory starts empty, use the FIFO algorithm
4200
4201
420231%
4203
4204
4205849.
4206Consider a relation R (A, B). If A ¿ B is a trivial functional dependency and A is the super key for R, then what is the maximum normal form R can be in?
4207BCNF
4208850.
4209What is the unique characteristic of RAID 6 (Choose one)?
4210Two independent distributed parity
4211851.
4212An IP router with a Maximum Transmission Unit (MTU) of 1500 bytes has received an IPpacket of size 4404 bytes with an IP header of length 20 bytes. The values of the relevant
4213fields in the header of the third IP fragment generated by the router for this packet are
4214
4215MF bit: 0, Datagram Length: 1444; Offset: 370
4216852.
4217What will be the values of x, m and n after the execution of the following statements?
4218int x, m, n;
4219m = 10;
4220n = 15;
4221x = ++m + n++;
422226 11 16
4223853.
4224What is the code to be used to trim whitespaces ?
4225let trimmed = (l.trim() for (l in lines));
4226854.
4227Consider a disk queue with requests for I/O to blocks on cylinders 47, 38, 121, 191, 87, 11,92, 10. The C-LOOK scheduling algorithm is used. The head is initially at cylinder number 63, moving towards larger cylinder numbers on its servicing pass. The cylinders are numbered from 0 to 199. The total head movement (in number of cylinders) incurred while servicing these requests is
4228165
4229855.
4230What’s the output of the following code?
4231var city = new Array("delhi", "agra", "akot", "aligarh");
4232city.push('palampur');
4233document.write(city);
4234["delhi", "agra", "akot", "aligarh", "palampur"]
4235856.
4236RAID is a way to:
4237combining several independent and relatively small disks into a single storage of a large size
4238857.
4239If the offset of the operand is stored in one of the index registers, then it is
4240is indexed addressing mode
4241858.
4242What happens when a pointer is deleted twice?
4243it can cause a trap
4244859.
4245The local host and the remote host are defined using IP addresses. To define the processes, we need second identifiers called
4246port addressess
4247860.
4248Consider the following relation
4249Cinema (theater, address, capacity)
4250Which of the following options will be needed at the end of the SQL query
4251SELECT P1. address
4252FROM Cinema P1
4253Such that it always finds the addresses of theaters with maximum capacity?
4254WHERE P1. Capacity> = All (select P2. Capacity from Cinema P2)
4255861.
4256Which of the following are sufficient conditions for deadlock?
4257mutual exclusion
4258b) a process may hold allocated resources while awaiting assignment of other resources
4259c) no resource can be forcibly removed from a process holding it
4260d) all of the mentioned
4261Answer-All of the mentioned
4262862.
4263One of the header fields in an IP datagram is the Time to Live (TTL) field. Which of the following statements best explains the need for this field?
4264It can be used to prevent packet looping
4265863.
4266Which of the following type casts will convert an Integer variable named amount to a Double type?
4267(double) amount
4268864.
4269Assume that a table R with 1000 records is to be joined with another table S with 10000 records. What is the maximum number of records that would result in if we join R with S and the equi-join attribute of S is the primary key?
42701000
4271865.
4272UDP uses........ to handle outgoing user datagrams from multiple processes on one host.
4273multiplexing
4274866.
4275When an instruction is read from the memory, it is called
4276instruction cycle (sometimes called a fetch–decode–execute cycle)
4277867.
4278What should be used to point to a static class member?
4279Normal pointer
4280868.
4281The ‘$’ present in the RegExp object is called a
4282metacharacter
4283869.
4284Which of the following is a disadvantage of file processing system?
4285(I) Efficiency of high level programming,
4286(II) Data Isolation
4287(III) Integrity issues
4288(IV) Storing of records as files
4289870.
4290Foreign key is a subset of primary key is stated in _____________ constraint
4291871.
4292The ......... protocol defines a set of messages sent over either User Datagram Protocol (UDP) port53 or Transmission Control Protocol(TCP) port53.
4293DNS
4294872.
4295Consider the following statement containing regular expressions
4296var text = "testing: 1, 2, 3";
4297var pattern = /\d+/g;
4298In order to check if the pattern matches, the statement is
4299pattern.test(text)
4300873.
4301Which two RAID types use parity for data protection?
4302RAID 4, RAID 5
4303874.
4304Which cause a compiler error?
4305875.
4306The regular expression to match any one character, not between the brackets is
4307[^…]
4308876.
4309Using public key cryptography, X adds a digital signature σ to message M, encrypts <M, σ >, and sends it to Y, where it is d
4310ecrypted. Which one of the following sequences of keys is used for the operations?
4311Encryption: X’s private key followed by Y’s public key; Decryption: Y’s private key followed by X’s public key
4312
4313
4314
4315
4316
4317
4318877.
4319Which of the following relational algebra operations do not require the participating tables to be union-compatible?
4320JOIN
4321878.
4322Which of the following scan() statements is true?
4323
4324
4325879.
4326A process executes the code
4327fork();
4328fork();
4329fork();
4330The total number of child process created is
43317
4332880.
4333A variable P is called pointer if
4334P contains the address of an element in DATA.
4335881.
4336Suppose that everyone in a group of N people wants to communicate secretly with N-1 others using symmetric key cryptographic system. The communication between any two persons should not be decodable by the others in the group. The number of keys required in the system as a whole to satisfy the confidentiality requirement is
4337 N(N – 1)/2
4338
4339882.
4340Which of the following statement on the view concept in SQL is invalid?
4341The definition of a view should not have GROUP BY clause in it.
4342883.
4343A 20-bit address bus allows access to a memory of capacity
43441Mb
4345884.
4346What does /[^(]* regular expression indicate ?
4347Match zero or more characters that are not open paranthesis
4348885.
4349A RAM chip has a capacity of 1024 words of 8 bits each (1K*8). The number of 2*4 decoders with enable line needed to construct a 16K*6 RAM from 1K*8 RAM is
43505
4351886.
4352A layer -4 firewall (a device that can look at all protocol headers up to the transport layer) CANNOT
4353block HTTP traffic during 9:00PM and 5:00AM
4354887.
4355The function scanf() reads
4356Multiple characters
4357
4358888.
4359In SQL, testing whether a subquery is empty is done using
4360EXISTS
4361889.
4362What will be the result when non greedy repetition is used on the pattern /a+?b/ ?
4363Matches the letter b preceded by the fewest number of a’s possible
4364890.
4365DMA is useful for the operations
4366DMA is useful for transferring large quantities of data between memory and devices. It eliminates the need for the CPU to be involved in the transfer, allowing the transfer to complete more quickly and the CPU to perform other tasks concurrently
4367891.
4368main() is an example of
4369
4370
4371892.
4372What does the subexpression /java(script)?/ result in ?
4373It matches “java†followed by the optional “scriptâ€
4374893.
4375Which of the following is not a characteristic of a relational database model?
4376treelike structure
4377894.
4378Which type of error detection uses binary division?
4379Cyclic Redundancy Check (CRC)
4380895.
4381When a network interface has a failure in its circuitry, it sends a continuous stream of frames causing the Ethernet LAN to enter a Collapse state. This condition is known as __________.
4382 Jabbering
4383896.
4384An identifier in C
4385
4386
4387897.
4388A RAM chip has a capacity of 1024 words of 8 bits each (1K*8). The number of 2*4 decoders with enable line needed to construct a 16K*6 RAM from 1K*8 RAM is
43895
4390898.
4391Given the basic ER and relational models, which of the following is INCORRECT?
4392In a row of a relational table, an attribute can have more than one value
4393899.
4394What is the most essential purpose of parantheses in regular expressions ?
4395Define subpatterns within the complete pattern
4396
4397
4398
4399900.
4400Which of the following are sufficient conditions for deadlock?
44015. mutual exclusion
4402The resources involved must be unshareable; otherwise, the processes would not be prevented from using the resource when necessary.
44036. hold and wait or partial allocation
4404The processes must hold the resources they have already been allocated while waiting for other (requested) resources. If the process had to release its resources when a new resource or resources were requested, deadlock could not occur because the process would not prevent others from using resources that it controlled.
44057. no pre-emption
4406The processes must not have resources taken away while that resource is being used. Otherwise, deadlock could not occur since the operating system could simply take enough resources from running processes to enable any process to finish.
44078. resource waiting or circular wait
4408
4409
4410901.
4411The method that performs the search-and-replace operation to strings for pattern matching is
4412a) searchandreplace()
4413b) add()
4414c) edit()
4415d) replace()
4416902.
4417Which of the following is TRUE?
4418
4419903.
4420A variable whose size is determined at compile time and cannot be changed at run time is
4421A. Static Variable
4422B. Dynamic Variable
4423C. Not a variable
4424D. None of These
4425904.
4426Value of checksum must be recalculated regardless of
4427a) De-fragmentation
4428b) Fragmentation
4429c) Transfer
4430d) Size
4431
4432
4433905.A union that has no constructor can be initialized with another union of __________ type
4434
4435A. different
4436B. same
4437C. virtual
4438D. class
4439
4440906.
4441Dotted-decimal notation of 10000001 00001011 00001011 11101111 would be
4442A. 193.131.27.255
4443B. 129.11.11.239
4444C. 192.168.10.9
4445D. 172.16.11.3
4446
4447907.
4448Memory mapped displays
4449
4450Uses ordinary memory to store the display data in character form
4451
4452908.
4453What would be the result of the following statement in JavaScript using regular expression methods ?
4454a) Returns [“123″â€456″â€789â€].
4455b) Returns [“123″,â€456″,â€789â€].
4456c) Returns [1,2,3,4,5,6,7,8,9].
4457d) Throws an exception
4458
4459909.
4460Which one of the following statements if FALSE?
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471910.
4472Consider the following code snippet. What purpose does exec() solve in the above code ?
4473var pattern = /Java/g;
4474 var text = "JavaScript is more fun than Java!";
4475 var result;
4476 while ((result = pattern.exec(text)) != null)
4477 {
4478 alert("Matched '" + result[0] + "'" +" at position " + result.index +"; next search begins at " + pattern.lastIndex);
4479 }
4480
4481a) Returns the same kind of array whether or not the regular expression has the global g flag
4482b) Returns different arrays in the different turns of iterations
4483c) All of the mentioned
4484d) None of the mentioned
4485
4486911.
4487Consider a computer system with 40-bit virtual addressing and page size of sixteen kilobytes. If the computer system has a one-level page table per process and each page table entry requires 48 bits, then the size of the per-process page table is __________ megabytes.
4488(A) 384
4489(B) 48
4490(C) 192
4491(D) 96
4492
4493912.
4494Structured programming involves
4495A. decentralisation of program activity
4496B. functional modularisation
4497C. localisation of errors
4498D. All of the above
4499E. None of the above
4500913.
4501Which one of the following allows a user at one site to establish a connection to another site and then pass keystrokes from local host to remote host?
4502a) HTTP
4503b) FTP
4504c) Telnet
4505d) None of the mentioned
4506
4507
4508
4509
4510
4511
4512
4513914.
4514Let E1 and E2 be two entities in an E/R diagram with simple single-valued attributes. R1 and R2 are two relationships between E1 and E2, where R1 is one-to-many and R2 is many-to-many. R1 and R2 do not have any attributes of their own. What is the minimum number of tables required to represent this situation in the relational model?
4515(a) 2
4516(b) 3
4517(c) 4
4518(d) 5
4519
4520915.
4521Which function among the following lets to register a function to be invoked once?
4522a) setTimeout()
4523b) setTotaltime()
4524c) setInterval()
4525d) none of the mentioned
4526
4527916.
4528Select operation in SQL is equivalent to
4529(A) the selection operation in relational algebra
4530(B) the selection operation in relational algebra, except that select in SQL retains duplicates
4531(C) the projection operation in relational algebra
4532(D) the projection operation in relational algebra, except that select in SQL retains duplicates
4533
4534917.
4535By default, any real number in C is treated as
4536A. A float
4537B. A double
4538C. A long double
4539D. Depend upon memory model that you are using
4540
4541918.
4542These networking classes encapsulate the "socket" paradigm pioneered in the (BSD) Give the abbreviation of BSD?
4543
4544A) Berkeley Software Distribution
4545B) Berkeley Socket Distribution
4546C) Berkeley System Distribution
4547D) None of the above
4548
4549
4550
4551
4552
4553919.
4554. For computers based on three - address instruction formats, each address field can be used to specify which of the following:
4555S1: A memory operand
4556S2: A processor register
4557S3: An implied accumulator registers
4558(A) Either S1 or S2
4559(B) Either S2 or S3
4560(C) Only S2 and S3
4561(D) All of S1, S2 and S3
4562
4563920.
4564Integer division in a C program results in
4565A. Truncation
4566B. Rounding
4567C. Underflow
4568D. None of these
4569921.
4570Which function among the following lets to register a function to be invoked repeatedly after a certain time?
4571a) setTimeout()
4572b) setTotaltime()
4573c) setInterval()
4574d) none of the mentioned
4575
4576922.
4577Grant and revoke are ....... statements
4578DCL Commands – Data Control Language
4579
4580923.
4581The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined by
4582a) the instruction set architecture
4583b) page size
4584c) physical memory size
4585d) number of processes in memory
4586
4587
4588
4589
4590924.
4591Which is the handler method used to invoke when uncaught JavaScript exceptions occur?
4592a) Onhalt
4593b) Onerror
4594c) Both onhalt and onerror
4595d) None of the mentioned
4596View Answer
4597925.
4598For CÂ Programming language
4599926.
4600The processed S/MIME along with security related data is called as ________.
4601a. public key cryptography standard.
4602b. private key cryptography standard.
4603c. S/MIME.
4604d. MIME.
4605
4606927........... command can be used to modify a column in a table
4607Answer: ALTER
4608
4609928.
4610The function f(x) = ab + a can be simplified as
4611Answer: a
4612929.
4613Consider the C function given below.
4614int f(int j)
4615{
4616static int i = 50;
4617int k;
4618if (i == j)
4619{
4620printf(?something?);
4621k = f(i);
4622return 0;
4623}
4624else return 0;
4625}
4626Which one of the following is TRUE?
4627(A) The function returns 0 for all values of j.
4628(B) The function prints the string something for all values of j.
4629(C) The function returns 0 when j = 50.
4630(D) The function will exhaust the runtime stack or run into an infinite loop when j = 50
4631
4632
4633
4634930.Which property is used to obtain browser vendor and version information?
4635
4636a) modal
4637b) version
4638c) browser
4639d) navigator
4640
4641931.
4642___________ Substitution is a process that accepts 48 bits from the XOR operation.
4643a. S-box.
4644b. P-box.
4645c. Expansion permutations.
4646d. Key transformation.
4647932.
4648The number of squares in K-map of n-variables is 2^n
4649933.
4650Data independence means
4651It means we change the physical storage/level without affecting the conceptual or external view of the data.
4652934.
4653In ………………. Mode, the authentication header is inserted immediately after the IP header.
4654A) Tunnel
4655B) Transport
4656C) Authentication
4657D) Both A and B
4658
4659935.
4660The output of combinational circuit depends on the levels present at input terminals.
4661936.
4662Which method receives the return value of setInterval() to cancel future invocations?
4663a) clearInvocation()
4664b) cancelInvocation()
4665c) clearInterval()
4666d) None of the mentioned
4667937.
4668DCL stands for DATA CONTROL LANGUAGE
4669
4670938.
46716. Consider the below code fragment:
4672if(fork k( ) = = 0)
4673{
4674a= a+5; printf(?%d, %d \n?, a, &a);
4675}
4676else
4677{
4678a= a ? 5;
4679printf(?%d %d \n?, 0, &a);
4680}
4681Let u, v be the values printed by parent process and x, y be the values printed by child process. Which one of the following is true?
4682(A) u = x + 10 and v = y
4683(B) u = x + 10 and v != y
4684(C) u + 10 = x and v = y
4685(D) u + 10 = x and v != y
4686
4687939.
4688_________ uniquely identifies the MIME entities uniquely with reference to multiple contexts.
4689a. Content description.
4690b. Content -id.
4691c. Content type.
4692d. Content transfer encoding.
4693
4694940.
4695.………………… is preferred method for enforcing data integrity
4696A) Constraints
4697B) Stored procedure
4698C) Triggers
4699D) Cursors
4700
4701941.
4702Find the output of the following program?
4703
4704#include
4705using namespace std;
4706typedef int * IntPtr;
4707int main()
4708{
4709IntPtr A, B, C;
4710int D,E;
4711A = new int(3);
4712B = new int(6);
4713C = new int(9);
4714D = 10;
4715E = 20;
4716*A = *B;
4717B = &E;
4718D = (*B)++;
4719*C= (*A)++ * (*B)--;
4720E= *C++ - *B--;
4721cout<<*A<<*B<<*C<<d<<e;
4722 return 0;
4723}</d<<e;
4724
4725942.
4726The setTimeout() belongs to which object?
4727a) Element
4728b) Window
4729c) Location
4730d) None of the mentioned
4731943.
4732Which of the folloiwng is fully functional ?
4733944.
4734Which one of the following is a cryptographic protocol used to secure HTTP connection?
4735a) stream control transmission protocol (SCTP)
4736b) transport layer security (TSL)
4737c) explicit congestion notification (ECN)
4738d) resource reservation protocol
4739945.
4740The alpahbet are represented in which format inside the computer?
4741Answer: Binary/ASCII
4742946.
4743Which method receives the return value of setTimeout() to cancel future invocations?
4744a) clearTimeout()
4745b) clearInterval()
4746c) clearSchedule()
4747d) none of the mentioned
4748947.
4749Which of the following is not a binary operator in relational algebra?
4750A) Join
4751B) Semi-Join
4752C) Assignment
4753D) Project
4754
4755
4756
4757
4758
4759948.
4760The library function exit() causes an exit from
4761a) the loop in which it occurs
4762
4763(b) the block is which it occurs
4764
4765(c) the functions in which it occurs
4766
4767(d) the progam in which it occurs
4768949.
4769Which of the following statement is correct about destructors?
4770A). A destructor has void return type.
4771B). A destructor has integer return type.
4772C). A destructor has no return type.
4773D). A destructors return type is always same as that of main().
4774
4775950.
4776------------- is a mode of operation for a block cipher, with the characteristic that each possible block of plaintext has a defined corresponding ciphertext value and vice versa.
4777Answer: Electronic Code Book
4778
4779951.
4780What will happen if we call setTimeout() with a time of 0 ms?
4781In short, setTimeout(someFunc, 0) will run someFunc 0ms after the current executing functions has finished running.
4782952.
4783
4784Which of the following is/are not a DDL statements?
4785a) UPDATE
4786b) TRUNCATE
4787c) ALTER
4788d) None of the Mentioned
4789Explanation: Data definition language (DDL) commands enable you to perform the following tasks:Create, alter, and drop schema objects.
4790
4791953.
4792The number of bits to represent 128 sets in direct mapped cache is 7 bits
4793954.
4794To which object does the location property belong?
4795a) Window
4796b) Position
4797c) Element
4798d) Location
4799
4800955. Which database level is closest to the users?
4801A. External
4802B. Internal
4803C. Physical
4804D. Conceptual
4805
4806956.
4807The interrupts are serviced using which of the following
4808Answer: Interrupt Service Routine
4809957.
4810A network with CSMA/CD protocol in the MAC layer is running at 1 Gbps over a 1 km cable with no repeaters. The signal speed in the cable is 2 x 108 m/sec. The minimum frame size for this network should be
4811(A) 10000 bits
4812(B) 10000 bytes
4813(C) 5000 bits
4814(D) 5000 bytes
4815958. Java package is a grouping mechanism with the purpose of
4816Answer: encapsulate a group of classes
4817
4818959. What is the data structure used for executing interrupt service subroutine ?
4819
4820960.
48211. What will be printed as the output of the following program?
4822 public class testincr
4823 {
4824 public static void main(String args[])
4825 {
4826 int i = 0;
4827 i = i++ + i;
4828 System.out.println(" I = " +i);
4829 }
4830 }
4831 (a) I = 0
4832 (b) I = 1
4833 (c) I = 2
4834 (d) I = 3
4835
4836961.
4837 ........ data type can store unstructured data
4838A. RAW
4839B. CHAR
4840C. NUMERIC
4841D. VARCHAR
4842962.
4843What is the result of the following code snippet?
4844window.location === document.location
4845a) False
4846b) True
4847c) 0
4848d) 1
4849
4850963.
4851What is the access point (AP) in wireless LAN?
4852a) device that allows wireless devices to connect to a wired network
4853b) wireless devices itself
4854c) both (a) and (b)
4855d) none of the mentioned
4856
4857
4858964.
4859 Which multiple access technique is used by IEEE 802.11 standard for wireless LAN?
4860a) CDMA
4861b) CSMA/CA – Carrier Service Multiple Access with Collision Avoidance
4862c) ALOHA
4863d) None of the mentioned
4864
4865
4866965.
4867The output in sequential circuit depends on which of the folloiwng?
4868Answer: Present and past inputs
4869
4870966.A table can have only one PRIMARY KEY
4871
4872967.
4873To prevent any method from overriding, the method has to declared as, FINAL
4874
4875968.
4876*In which part does the form validation should occur?
4877a) Client
4878b) Server
4879c) Both Client and Server
4880d) None of the mentioned
4881
4882
4883969.How to find the index of a particular string?
4884a.position()
4885b.index()
4886c.indexOf()
4887d.Noneofthementioned
4888Explanation : The indexOf() function can be used to find out the index of a particular character or a string.
4889
4890970.
4891The power consumed by full adder can be reduced by using which of the following?
4892971.
4893What is the output of the following program:
4894 public class testmeth
4895 {
4896 static int i = 1;
4897 public static void main(String args[])
4898 {
4899 System.out.println(i+†, “);
4900 m(i);
4901 System.out.println(i);
4902 }
4903 public void m(int i)
4904 {
4905 i += 2;
4906 }
4907 }
4908a) 1 , 3
4909b) 3 , 1
4910c) 1 , 1
4911d) 1 , 0
4912e) none of the above.
4913
4914972.
4915-------------------module of the DBMS controls access to DBMS information that is stored on disk, whether it is part of the database or the catalog
4916Answer: Data Manager Module (Higher Level Stored)
4917973.
4918A 20 Kbps satellite link has a propagation delay of 400 ms. The transmitter employs the "go back n ARQ" scheme with n set to 10. Assuming that each frame is 100 bytes long, what is the maximum data rate possible?
4919A. 5 Kbps
4920B. 10 Kbps
4921C. 15 Kbps
4922D. 20 Kbps
4923974.
4924Which of the following is the child object of the JavaScript navigator?
4925a.Navicat
4926b.Plugins
4927c.NetRight
4928d. None of the mentioned
4929Explanation : The JavaScript navigator object includes a child object called plugins.
4930
4931975.
4932A wireless network interface controller can work in
4933a) infrastructure mode
4934b) ad-hoc mode
4935c) both (a) and (b)
4936d) none of the mentioned
4937
4938Explanation: In infrastructure mode WNIC needs access point but in ad-hoc mode access point is not required.
4939
4940
4941976.
4942Given the code
4943 String s1 = “ VIT†;
4944 String s2 = “ VIT “ ;
4945 String s3 = new String ( s1);
4946 Which of the following would equate to true?
4947
4948 (A) s1 == s2
4949(B) s1 = s2
4950(C) s3 == s1
4951(D) s1.equals(s2)
4952(E) s3.equals(s1)
4953
4954a) (A), (D) & (E)
4955b) (A), (C) & (E)
4956c) (A), (B) & (C)
4957d) (C), (D) & (E)
4958e) (D) & (E)
4959Explanation: s1==s2 is indeed “true†since they point to the same instance of “VIT†as they are “not†declared with the new String(“VITâ€) function.
4960
4961
4962977.
4963The number of distinct symbols in radix-r is
4964Answer: r
4965Explanation: A number system of radix r uses a string consisting of r distinct symbols to represent a value.
4966
4967
4968978.---PRECOMPILER---- component of DBMS extracts DML commands from an application program written in a host programming language
4969
4970
4971979.
4972Which one of the following event is not possible in wireless LAN.
4973a) collision detection
4974b) acknowledgement of data frames
4975c) multi-mode data transmission
4976d) none of the mentioned
4977
4978980.
4979Which of the following are the properties of a plug-in entry?
4980a) name
4981b) filename
4982c) mimeTypes
4983d) all of the mentioned
4984
4985Each plug-in has an entry in the array. Each entry has the following properties:
4986• name – is the name of the plug-in.
4987• filename – is the executable file that was loaded to install the plug-in.
4988• description – is a description of the plug-in, supplied by the developer.
4989• mimeTypes – is an array with one entry for each MIME type supported by the plug-in
4990
4991981.
4992The runtime database processor of DBMS executes-----QUERY CODE------
4993982.
4994What is the sequence of major events in the life of an applet?
4995Answer:
4996i) loading the applet
4997ii) leaving and returning to the applet’s page
4998iii) reloading the applet
4999iv)quitting the browser
5000
5001
5002983.
5003Can a system have multiple DMA controllers?
5004Answer: True ??
5005
5006984.
5007Which of the following events will cause a thread to die?
5008Which of the following events will cause a thread to die?
5009
5010ANSWER : D
5011
5012985.
5013What is Wired Equivalent Privacy (WEP) ?
5014a) security algorithm for ethernet
5015b) security algorithm for wireless networks
5016c) security algorithm for usb communication
5017d) none of the mentioned
5018
5019986.
5020A relation R(A,B,C,D,E,H) has the following functional dependencies
5021 F= {{A→BC},{CD→E},{E→C}, {D→AEH}, {ABH→BD}, {DH→BC}}.
5022Find the Normal form of the relation
5023
5024987.
5025What is the number of maxterms in a function of n variables?
5026Answer: The number of possible max terms posiible for n variable : 2^n
5027 The number of possible min terms posiible for n variable : 2^n
5028
5029988.What is the purpose of the mimeTypes property of a plug-in entry?
5030
5031a. Contains MIME properties
5032b. Contains MIME sizes
5033c. Contains MIME types
5034d. None of the mentioned
5035
5036Answer : c
5037
5038989.A method within a class is only accessible by classes that are defined within the same package as the class of the method. Which one of the following is used to enforce such restriction?
5039
5040(a) Declare the method with the keyword public
5041(b) Declare the method with the keyword private
5042(c) Declare the method with the keyword protected
5043(d) Do not declare the method with any accessibility modifiers
5044(e) Declare the method with the keyword public and private
5045
5046Reason: The desired accessibility is package accessibility, which is the default accessibility for members that have no accessibility modifier. Package is not an accessibility modifier.
5047
5048990.
5049How many output lines are present in an encoder with 2^n input lines?
5050ANSWER: n
5051
5052991.
5053------DENSE-------index has an entry for every search key value (and hence every record) in the data file
5054992.
5055A subset of a network that includes all the routers but contains no loops is called:
5056a) spanning tree
5057b) spider structure
5058c) spider tree
5059d) none of the mentioned
5060Answer: a
5061
5062993.
5063AJAX has become very commonly used because
5064a) It allows pages to be interactive without further communication with the server.
5065b) Xml is a close relative of html.
5066c) It avoids the need for javascript.
5067d) It allows page content to be updated without requiring a full page reload.
5068
5069
5070
5071
5072994.
5073If link transmits 4000 frames per second, and each slot has 8 bits,the transmission rate of circuit this TDM is
5074a) 32kbps
5075b) 500bps
5076c) 500kbps
5077d) None of the mentioned
5078
5079995.
5080Consider the following code.
5081static void nPrint(String message, int n) {
5082 while (n > 0) {
5083 System.out.print(message);
5084 n--;
5085 }
5086}
5087What is the printout of the call nPrint('a', 4)?
5088(a) aaaaa
5089(b) aaaa
5090(c) aaa
5091(d) aa
5092(e) invalid call.
5093
5094Reason : Invalid call because char 'a' cannot be passed to string message
5095
5096996.
5097Which flip flop has the characterstic function Q(next) = input
5098997.
5099More than one transaction can apply this lock on X for reading its value but no write lock can be applied on X by any other transaction. What is that lock?
5100Two-Phase Locking Techniques: Essential components
5101ï¬ Two locks modes:
5102ï¬ (a) shared (read) (b) exclusive (write).
5103ï¬ Shared mode: shared lock (X)
5104 More than one transaction can apply share lock on X for
5105 its value but no write lock can be applied on X by any
5106other transaction.
5107
5108
5109
5110
5111
5112998.
5113Which of the following is not a reason XML gained popularity as a data interchange format for AJAX?
5114a) It has been around a while and libraries exist for many languages to work with it
5115b) It can be navigated using JavaScript DOM methods.
5116c) It is extensible, allowing it to be adapted to virtually any application.
5117d) It is concise and simple to use.
5118999.
5119The performance of cache memories is measured by
5120Answer: hit ratio
51211000.
5122Lock manager uses -----LOCK TABLE--------- to store the identify of transaction locking a data item, the data item, lock mode and pointer to the next data item locked.
51231001.
5124Which one of the following allows a user at one site to establish a connection to another site and then pass keystrokes from local host to remote host?
5125a) HTTP
5126b) FTP
5127c) Telnet
5128d) None of the mentioned
5129
51301002.
5131Which method must be defined by a class implementing the java.lang.Runnable
5132 interface?
5133Answer: public void run()
5134
51351003.
5136The jQuery AJAX methods .get(), .post(), and .ajax() all require which parameter to be supplied?
5137a) method
5138b) url
5139c) data
5140d) headers
51411004.
5142If an AJAX request made using jQuery fails,
51431. the browser will automatically report the problem with an alert message.
51442. an error message will be displayed in the browser window content area.
51453. the programmer should arrange for it to be reported using the jQuery .fail() method.
51464. there is no way to notify the user.
5147
5148
5149
5150
51511005.
5152class X implements Runnable
5153{
5154 public static void main(String args[])
5155 {
5156 /* Missing code? */
5157 }
5158 public void run() {}
5159}
5160Which of the following line of code is suitable to start a thread ?
5161A.
5162Thread t = new Thread(X);
5163B.
5164Thread t = new Thread(X); t.start();
5165C.
5166X run = new X(); Thread t = new Thread(run); t.start();
5167D.
5168Thread t = new Thread(); x.run();
5169Answer: Option C
5170
51711006.
5172-----AGGREGATE FUNCTION--------is used to summarize information from multiple tuples into a single-tuple summary
5173
51741007.In negative edge triggered flip flop, the transitions happen at
5175
51761008.The probability that a single bit will be in error on a typical public telephone line using 4800 bps modem is 10 to the power -3. If no error detection mechanism is used, the residual error rate for a communication line using 9-bit frames is approximately equal to
5177[A]. 0.003
5178[B]. 0.009
5179
5180[C]. 0.991
5181[D]. 0.999
5182[E]. None of the above
5183
51841009.
5185In ER- Relational Mapping, Binary 1:1 Relationship types are mapped to ----------
5186
51871010.
5188Which method is used to call the base class methods from the subclass?
5189super
51901011.
5191Nested documents in the HTML can be done using
51921012.
5193The race condition in RS flip flop is rectified in which flip flop
5194Master Slave JK Flip Flop
51951013.
5196Frames from one LAN can be transmitted to another LAN via the device
5197Bridge
51981014.
5199A new web browser window can be opened using which method of the Window object ?
5200createtab()
5201b. Window.open()
5202c. open()
5203d. All of the mentioned
52041015.
5205Answer the following question based on the given table.
5206Package Name Class Name
5207Lab.project.util Date, Time
5208Lab.project.game Car, Puzzle
5209
5210What will be the access modifier if a method in Date class is inherited in the Puzzle class?
5211
52121016.
5213You are working with a network that is 172.16.0.0 and would like to support 600 hosts per subnet. What subnet mask should you use?
5214255.255.252.0 (/10)
52151017.
5216--------------contains information such as the structure of each file, the type and storage format of each data item, and various constraints on the data
5217DBMS Catalog
52181018.
5219What does the command XCHG in 8085 do?
5220Exchange H and L with D and E. The contents of register H are exchanged with the contents of register D, and the contents of register L are exchanged with the contents of register E.
52211019.
5222Which of the following digits are known as the sub-address digits (for use by the user) of the Network User Address (NUA)?
5223 5-7
5224[B]. 1-4
5225[C]. 8-12
5226[D]. 13-14
5227
52281020.
5229What statement is used to execute stored procedure in Java JDBC
5230CallableStatement cstmt = null;
5231try {
5232 String SQL = "{call getEmpName (?, ?)}";
5233 cstmt = conn.prepareCall (SQL);
5234 . . .
5235}
5236catch (SQLException e) {
5237 . . .
5238}
5239finally {
5240 . . .
5241
5242
52431021.
5244Which object serves as the global object at the top of the scope chain?
5245a) Hash
5246b) Property
5247c) Element
5248d) Window
5249Answer: d
5250Explanation: The Window object serves as the global object at the top of the scope chain in client-side JavaScript.
5251
52521022.
5253If the opearand of stack operation is register, the stack contents in 8085 store which of the following?
5254
52551023.
5256Who is responsible for correlating the different perspectives of distinct users?
5257
52581024. A modulator converts a _____ signal to a(n) _____ signal.
5259
5260A. FSK; PSK
5261B. PSK; FSK
5262C. analog; digital
5263D. digital; analog
5264E. None of the above
5265
52661025.
5267In 8085 subtraction is performed using which method?
5268Answer: by the 2's complement method
52691026.
5270Data Model that provides ad-hoc queries is --------------
52711027.
5272Consider following code.
5273public class Test {
5274public static void main(String[] args) {
5275 System.out.println(m(2));
5276}
5277public static int m(int num) {
5278 return num;
5279}
5280public static void m(int num) {
5281 System.out.println(num);
5282}
5283}
5284(a) The program has a syntax error because the two methods m have the same signature
5285(b) The program has a syntax error because the second m method is defined, but not invoked in the main method
5286(c) The program runs and prints 2 once
5287(d) The program runs and prints 2 twice
5288(e) The program runs and prints 2 thrice.
5289
5290
5291
5292
52931028.
5294What does the location property represent?
5295a) Current DOM object
5296b) Current URL
5297c) Both DOM object and URL
5298d) None of the mentioned
52991029.
5300Which among the following is not a property of the Location object?
5301a) protocol
5302b) host
5303c) hostee
5304d) hostname
5305Explanation: The various properties of the location object are the protocol, host, hostname, port, search, and hash.
53061030.
5307What is the number of distinct symbols in base-16 ?
5308Answer: 16
53091031.
5310What is the loopback address?
5311Answer: type of IP address that is used to test the communication or transportation medium on a local network card and/or for testing network applications. Special ip address 127.0.0.1
5312
53131032.
5314A state that refers to the database when it is loaded is---- Initial Database State -----
53151033.
5316Consider the following code:
5317public class Test {
5318public static void main(String[] args) {
5319 int[] x = new int[5];
5320 int i;
5321 for (i = 0; i < x.length; i++)
5322 x[i] = i;
5323 System.out.println(x[i]);
5324}
5325}
5326(a) The program displays 0 1 2 3 4
5327(b) The program displays 4
5328(c) The program has a runtime error because the last statement in the main method causes ArrayIndexOutOfBoundsException
5329(d) The program has syntax error because i is not defined in the last statement in the main method
5330(e) The program displays 1 2 3 4 5.
5331
5332
53331034.
5334How many bits are present in registers A, B, C together in 8085?
5335Answer: 24 – ( 3 x 8 )
53361035.
5337What is the return type of the hash property?
5338The hash property sets or returns the anchor part of a URL
53391036.
5340------------------ is used to describe the structure and constraints for the whole database for a community of users hides the details of physical storage structures in three -schema architecture
53411037.
5342A 4 KHz noise less channel with one sample ever 125 per sec is used to transmit digital signals. Differential PCM with 4 bit relative signal value is used. Then how many bits per second are actually sent?
5343A.
534432 Kbps
5345B.
534664 Kbps
5347C.
53488 Kbps
5349D.
5350128 Kbps.
5351
53521038.
5353What will be the value of c at the end of execution?
5354public static void main(String args[])
5355{ int a = 10, b = 2,c=0,d=0;
5356int[] A = {1,2,3};
5357try { c=a/b;
5358try { d = a/(a-a); d= A[1]+1; }
5359 catch(ArrayIndexOutOfBoundsException e)
5360 { System.out.println("Array - unreachable element "+e); }
5361Finally { System.out.println("Finally block inside "); } }
5362 catch(Exception e)
5363 { System.out.println("Some Problem:"+e); b = 1; c = a/b; }
5364 finally { System.out.println("Finally block outside“) }
5365 System.out.println("after try/catch blocks");
5366System.out.println("Ans = " +c); }
5367
5368ERROR two
5369
53701039.
5371What does the instruction INX H perform in 8085 microprocessor?
5372Increment register pair by 1.
5373Eg: INX H (It means the location pointed by the HL pair is incremented by 1)
5374
53751040.
5376Which is the method that removes the current document from the browsing history before loading the new document?
5377a) modify()
5378b) assign()
5379c) replace()
5380d) remove()
53811041.
5382Which method is used for loading the driver in Java JDBC.
5383Answer: . Class.forName()
5384
53851042.
5386What is the minimum number of wires required for sending data over a serial communications links?
5387A. 1
5388B. 2 (answer)
5389C. 4
5390D. 6
5391
53921043. --------EXTERNAL SCHEMA--------describes the the part of the database that a particular user group is interested in and hides the rest.
5393
53941044.
5395Which one is the first high level programming language
53961045.
5397The 8255 chip is an example of
53981046.
5399------------ is used to define internal schema
54001047.
5401Why is the replace() method better than the assign() method?
5402
5403
5404
5405
54061048.
5407In cyclic redundancy checking, the divisor is _____ the CRC.
5408A) The same size as
5409B) one bit less than
5410C) one bit more than
5411D) none of the above
5412
54131049.
5414Centralized DBMS has----------
5415A centralized database (sometimes abbreviated CDB) is a database that is located, stored, and maintained in a single location.
5416
54171050.
5418What is 8254 used for?
5419The Intel 8253 and 8254 are Programmable Interval Timers (PITs), which perform timing and counting functions using three 16-bit counters.
5420
54211051.
5422An error-detecting code inserted as a field in a block of data to be transmitted is known as
5423A. Frame check sequence
5424B. Error detecting code
5425C. Checksum
5426D. flow control
5427E. None of the above
5428
54291052.When a class extends the Thread class ,it should override ............ method of Thread class to start that thread.
5430A. start()
5431B. run()
5432C. init()
5433D. go()
5434
54351053.What is the purpose of the assign() method?
5436a) Only loading
5437b) Loading of window and display
5438c) Displays already present window
5439d) Unloading of window
5440The assign() method of the Location object makes the window load and display the document at the URL you specify.
5441
54421054.
5443Which two are valid constructors for Thread?
5444
5445a.) Thread(Runnable r, String name)
5446b.) Thread()
5447c.) Thread(int priority)
5448d.) Thread(Runnable r, ThreadGroup g)
5449e.) Thread(Runnable r, int priority)
5450A. 1 and 3
5451B. 2 and 4
5452C. 1 and 2
5453D. 2 and 5
5454
54551055.
5456Working of the WAN generally involves
5457A. telephone lines
5458B. microwaves
5459C. satellites
5460D. All of the above
5461
54621056.
5463How many modes are present in 8255 and what are they?
54641. Bit Set/Reset mode (BSR mode).
54652. Input/Output mode (I/O mode). –
5466• Mode 0 - Simple I/O
5467• Mode 1 - Strobed I/O
5468• Mode 2 - Strobed Bi-directional I/O
5469
54701057.
5471The history property belongs to which object?
5472a) Element
5473b) Window
5474c) History
5475d) Location
5476Explanation: The history property of the Window object refers to the History object for the window.
54771058.
5478An Employee entity of a company database can be a SECRETARY, TECHNICIAN or MANAGER.
5479What kind of participation constraint can be used for Employee and its job types?
5480
5481
5482
5483
54841059.
5485public class MyRunnable implements Runnable
5486{
5487public void run()
5488{
5489// some code here
5490}
5491}
5492
5493which of these will create and start this thread?
5494[A]. new Runnable(MyRunnable).start();
5495[B]. new Thread(MyRunnable).run();
5496[C]. new Thread(new MyRunnable()).start();
5497
5498[D]. new MyRunnable().start();
5499
5500
55011060.
5502If you configure the TCP/IP address and other TCP/IP parameters manually, you can always verify the configuration through which of the following? Select the best answer.
5503A. Network Properties dialog box
5504B. Server Services dialog box
5505C. DHCPINFO command-line utility
5506D. Advanced Properties tab of TCP/ IP Info.
5507E. None of the above
55081061.
5509Which of the following is one of the fundamental features of JavaScript?
5510a) Single-threaded
5511b) Multi-threaded
5512c) Both Single-threaded and Multi-threaded
5513d) None of the mentioned
5514Explanation: One of the fundamental features of client-side JavaScript is that it is single-threaded: a browser will never run two event handlers at the same time, and it will never trigger a timer while an event handler is running, for example.
5515
55161062.If we can determine exactly those entities that will become members of each subclass by a condition then such subclasses are called------ predicate-defined --------
5517
55181063.
5519Which of the following is DMA controller?
5520
5521
5522
5523
5524
5525
55261064.
5527Given the code
5528String s1 = ? VIT? ;
5529String s2 = ? VIT ? ;
5530String s3 = new String ( s1);
5531Which of the following would equate to true?
5532 (A) s1 == s2
5533(B) s1 = s2
5534(C) s3 == s1
5535(D) s1.equals(s2)
5536(E) s3.equals(s1)
5537
5538a) (A), (D) & (E)
5539b) (A), (C) & (E)
5540c) (A), (B) & (C)
5541d) (C), (D) & (E)
5542e) (D) & (E)
5543
55441065.
5545The expected size of the join result divided by the maximum size is called _________________.
55461066.
5547Four bits are used for packet sequence numbering in a sliding window protocol used in a computer network. What is the maximum window size?
5548(a) 4
5549(b) 15
5550(c) 8
5551(d) 16.
5552
55531067.
5554OOPs
5555Find the output of the following program?
5556
5557#include
5558#define pow(x) (x)*(x)*(x)
5559using namespace std;
5560
5561int main()
5562{
5563int a=3,b=3;
5564a=pow(b++)/b++;
5565cout<<a<<b;
5566 return 0;
5567}
5568Answer: 107
5569
55701068.
5571How many gate delays are present in efficient implementation of XOR gate ?
55721069.
5573. The attributes in foreign key and primary key have the same ____________.
55741070.
5575What is the output of the following program?
5576
5577#include
5578using namespace std;
5579int main()
5580{
5581int x=20;
5582if(!(!x)&&x)
5583cout<<x;
5584 else
5585{
5586x=10;
5587cout<<x;
5588 return 0;
5589}}
5590Answer: 20
5591
55921071.
5593What is the correct HTML for making a hyperlink?
5594<a href=â€linkâ€> text</a>
5595
55961072.
5597Error control is needed at the transport layer because of potential errors occurring _____.
5598A. from transmission line noise
5599B. in routers
5600C. from out-of-sequence delivery
5601D. from packet losses.
5602
56031073.
5604How many possible outcome values are present in boolean algebra?
5605Answer: 2
56061074.
5607Determine the output of the following code?
5608
5609#include
5610using namespace std;
5611
5612void func_a(int *k)
5613{
5614*k += 20;
5615}
5616
5617void func_b(int *x)
5618{
5619int m=*x,*n = &m;
5620*n+=10;
5621}
5622
5623int main()
5624{
5625int var = 25,*varp=&var;
5626func_a(varp);
5627*varp += 10;
5628func_b(varp);
5629cout<<var<<*varp;
5630 return 0;
5631}
5632Answer: 5555
5633
56341075.
5635Data link layer retransmits the damaged frames in most networks. If the probability of a frame's being damaged is p, what is the mean number of transmissions required to send a frame if acknowledgements are never lost.
5636
5637A. K / K - P
5638B. 1 / K - P
5639C. K / K(1 + p)
5640D. p / K + 1
5641
56421076.
5643 ___ Naïve or parametric end users __ users work on canned transactions
56441077.
5645Which of the following input controls that cannot be placed using tag?
56461078.
5647What does JSP stand for?
5648Answer: Java Server Pages
5649
56501079.
5651What will be the output of the following program?
5652
5653#include
5654using namespace std;
5655
5656class x {
5657public:
5658int a;
5659x();
5660};
5661x::x() { a=10; cout<
5662
5663class b:public x {
5664public:
5665b();
5666};
5667b::b() { a=20; cout<
5668
5669int main ()
5670{
5671b temp;
5672return 0;
5673}
5674
5675Answer: 10 20
5676
56771080.
5678If a hospital has to store the description of each visit of a patient according to date what attribute you will use in the patient entity type?
5679Answer: Composite
5680
56811081.
5682The SQL statement SELECT SUBSTR('123456789', INSTR('abcabcabc','b'), 4) FROM EMP; prints
5683The SQL statement
5684SELECT SUBSTR('123456789', INSTR('abcabcabc', 'b'), 4) FROM DUAL;
5685
5686A. 6789
5687B. 2345
5688C. 1234
5689D. 456789
56901082.
5691Find the output of the following program?
5692
5693#include
5694using namespace std;
5695
5696void myFunction(int& x, int* y, int* z) {
5697static int temp=1;
5698temp += (temp + temp) - 1;
5699x += *(y++ + *z)+ temp - ++temp;
5700*y=x;
5701x=temp;
5702*z= x;
5703cout<<x<<*y<<*z<<temp;
5704
5705}
5706
5707int main() {
5708int i = 0;
5709int j[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
5710i=i++ - ++i;
5711myFunction(i, j, &i);
5712return 0;
5713}
5714Answer: 3-333/ 3425379433
5715
57161083.
5717__SELECTORS__ is used to define a special CSS style for a group of HTML elements
57181084.
5719In HTTP, which method gets the resource as specified in the URI - GET
57201085.
5721JAVA PROGRAMMING
5722
5723Java package is a grouping mechanism with the purpose of
57241086.
5725In SQL, which command is used to issue multiple CREATE TABLE, CREATE VIEW and GRANT statements in a single transaction?
5726a) CREATE PACKAGE
5727b) CREATE SCHEMA
5728c) CREATE CLUSTER
5729d) All of the mentioned
57301087.
5731Which of the following is the right syntax for assertion?
5732Create assertion ‘assertion-name’ check ‘predicate’;
5733
57341088.
5735Which of these is Server side technology?
57361089.
5737Which one of these lists contains only Java programming language keywords
5738A. class, if, void, long, Int, continue
5739B. goto, instanceof, native, finally, default, throws
5740C. try, virtual, throw, final, volatile, transient
5741D. strictfp, constant, super, implements, do
5742E. byte, break, assert, switch, include
5743Answer: Option B
5744
5745
57461090.
5747. __FLASH MEMORY________ is increasingly being used in server systems to improve performance by caching frequently used data, since it provides faster access than disk, with larger storage capacity than main memory.
57481091.
5749Which of these interface abstractes the output of messages from httpd?
5750a) LogMessage
5751b) LogResponse
5752c) Httpdserver
5753d) httpdResponse
57541092.
5755The C++ language is
57561093.
5757Passing the request from one schema to another in DBMS architecture is called as _______MAPPING______
57581094.
5759Where in an HTML document is the correct place to refer to an external style sheet?
5760Answer: In the <head> section
5761
57621095.
5763Changing the conceptual schema without having to change the external schema is called as ______LOGICAL INDEPENDENCE__________
57641096.
5765Which method is used to remove the first element of an Array object?
5766Answer: Shift
57671097.
5768What does the following bit of JavaScript print out?
5769var a = [1,,3,4,5];
5770console.log([a[4], a[1], a[5]]);
5771Output - 5,null,indefined
5772
57731098.
5774 Creating a B Tree index for your database has to specify in _____.
5775 a. DDL
5776 b. SDL
5777 c. VDL
5778 d. TCL
5779
57801099.
5781Which one of the following statements is NOT correct about HTTP cookies?
5782A. A cookie is a piece of code that has the potential to compromise the security of an Internet user
5783B. A cookie gains entry to the user's work area through an HTTP header
5784C. A cookie has an expiry date and time
5785D. Cookies can be used to track the browsing pattern of a user at a particular site
5786
5787
57881100.
5789The following HTML attribute is used to specify the URL of the html document to be opened when a hyperlink is clicked.
5790Answer: HREF
57911101.
5792HTTP is implemented over - TCP
57931102.
5794If the directive session.cookie_lifetime is set to 3600, the cookie will live until..
5795a) 3600 sec
5796b) 3600 min
5797c) 3600 hrs
5798d) the browser is restarted
57991103.
5800AJAX made popular by
5801Option A):Sun Micro system
5802Option B):Google
5803Option C):IBM
5804Option D):Microsoft
58051104.
5806How to create a Date object in JavaScript?
5807dateObjectName = new Date([parameters])
5808
58091105.
5810
5811Output------?
5812
58131106.
5814Choose the correct HTML tag to make a text italic
5815Answer: <i></i>
5816
58171107.
5818table {color: blue;}
5819With the above code snippet in use, what happens to a table?
5820a) The table border would be colored blue.
5821b) The table background would be colored blue.
5822c) The text inside the table would be colored blue
58231108.
5824What sever support AJAX ?
5825
5826
5827
5828
5829
58301109.
5831What does the XMLHttpRequest object accomplish in Ajax?
5832A.It's the programming language used to develop Ajax applications
5833B.It provides a means of exchanging structured data between the Web server and client.
5834C.It provides the ability to asynchronously exchange data between Web browsers and a Web server.
5835D.It provides the ability to mark up and style the display of Web-page text.
5836
58371110.
5838Which Web browser is the least optimized for Microsoft's version of AJAX?
5839SAFARI
58401111.
5841Which one of these technologies is NOT used in AJAX?
5842A. CSS
5843B. DOM
5844C. DHTML
5845D. Flash
58461112.
5847When a user views a page containing a JavaScript program, which machine actually executes the script?
5848The User’s machine running the web browser
5849
58501113.
5851A graphical HTML browser resident at a network client machine Q accesses a static HTML webpage from a HTTP server S. The static HTML page has exactly one static embedded image which is also at S. Assuming no caching, which one of the following is correct about the HTML webpage loading (including the embedded image)?
5852(A) Q needs to send at least 2 HTTP requests to S, each necessarily in a separate TCP connection to server S
5853(B) Q needs to send at least 2 HTTP requests to S, but a single TCP connection to server S is sufficient
5854(C) A single HTTP request from Q to S is sufficient, and a single TCP connection between Q and S is necessary for this
5855(D) A single HTTP request from Q to S is sufficient, and this is possible without any TCP connection between Q and S
58561114.
5857How does servlet differ from CGI?
5858Servlets are thread based and CGI is process based
5859Servlet is light weight.
5860
5861
5862
58631115.
5864What does JSP stand for?
5865Java Server Pages
5866
58671116.
5868Which of these is a stand alone tag?
5869<img> <br>
5870Standalone tags are used for elements which have no logical beginning or end. One example of a standalone tag is the br tag,
5871
58721117.
5873If you don’t want the frame windows to be resizeable, simply add what to the lines ?
5874noresize
5875
58761118.
5877<a> and </a> are the tags used for ?
5878Adding links to your page