Quiz
Comprehensive Exam Computer Science - 2017
This quiz has a time limit, so it opens in the usual player.
Questions in this quiz (150)
1Given a binary tree whose inorder and preorder traversal are given by
Inorder : EICFBGDJHK
Preorder : BCEIFDGHJK
The post order traversal of the above binary tree is- AIEFCGJKHDB
- BIEFCJGKHDB
- CIEFCGKJHDB
- DIEFCGJKDBH
2An all-pairs shortest-paths problem is efficiently solved using
- ADijkstra' algorithm
- BBellman-Ford algorithm
- CKruskal Algorithm
- DFloyd-Warshall algorithm
3Consider the Breshenham’s circle generation algorithm for plotting a circle with centre (0,0) and radius ‘r’ units in first quadrant. If the current point is (x1,y1) and decision parameter is pi then what will be the next point (xi+1,yi+1) and updated decision parameter pi+1 for pi ≥ 0
- Axi+1 = xi + 1 yi+1 = yi pi+1 = pi + 4xi + 6
- Bxi+1 = xi + 1 yi+1 = yi - 1 pi+1 = pi + 4(xi - yi) + 10
- Cxi+1 = xi yi+1 = yi - 1 pi+1 = pi + 4(xi - yi) + 6
- Dxi+1 = xi - 1 yi+1 = yi pi+1 = pi + 4xi + 10
4A point P(5,1) is rotated by 900 about a pivot point (2,2). What is the coordinate of new transformed point P’ ?
- A(3,5)
- B(5,3)
- C(2,4)
- D(1,5)
5Consider a triangle A(0, 0), B(1, 1), C(5, 2). The triangle has to be rotated by an angle of 450 about the point P(-1, -1). What shall be the coordinates of the new triangle?
- AA'=(1, √2-1), B'=(-1, 2√2-1), C'=(3√2-1, (9/2)√2-1)
- BA'=(1, √2-1), B'=(2√2-1, -1), C'=(3√2-1, (9/2)√2-1)
- CA'=(-1, √2-1), B'=(-1, 2√2-1), C'=(3√2-1, (9/2)√2-1)
- DA'=(√2-1, -1), B'=(-1, 2√2-1), C'=(3√2-1, (9/2)√2-1)
6Let R be the rectangular window against which the lines are to be clipped using 2D Sutherland-Cohen line clipping algorithm. The rectangular window has lower left-hand corner at (-5,1) and upper right-hand corner at (3,7). Consider the following three lines for clipping with the given end point co-ordinates:
Line AB: A(-6,2) and B(-1,8)
Line CD: C(-1,5) and D(4,8)
Line EF: E(-2,3) and F(1,2)
Which of the following line(s) is/are candidate for clipping?- AAB
- BCD
- CEF
- DAB and CD
7The Boolean expression x' y' z + y z + x z is equivalent to
- Ax
- By
- Cz
- Dx+y+z
8Match the following:
(a) Huffman codes (i) O(n2)
(b) Optimal polygon triangulation (ii) θ(n3)
(c) Activity selection problem (iii) O(nlgn)
(d) Quicksort (iv) θ(n)
Codes:
(a) (b) (c) (d)- A(i) (ii) (iv) (iii)
- B(i) (iv) (ii) (iii)
- C(iii) (ii) (iv) (i)
- D(iii) (iv) (ii) (i)
9Which of the following is asymptotically smaller?
- Alg(lg*n)
- Blg*(lg n)
- Clg(n!)
- Dlg*(n!)
10Suppose that we have numbers between 1 and 1000 in a binary search tree and want to search for the number 364. Which of the following sequences could not be the sequence of nodes examined?
- A925, 221, 912, 245, 899, 259, 363, 364
- B3, 400, 388, 220, 267, 383, 382, 279, 364
- C926, 203, 912, 241, 913, 246, 364
- D3, 253, 402, 399, 331, 345, 398, 364
11Which of the following statement is correct?
- AAggregation is a strong type of association between two classes with full ownership.
- BAggregation is a strong type of association between two classes with partial ownership.
- CAggregation is a weak type of association between two classes with partial ownership.
- DAggregation is a weak type of association between two classes with full ownership.
12When one object reference variable is assigned to another object reference variable then
- Aa copy of the object is created.
- Ba copy of the reference is created.
- Ca copy of the reference is not created.
- Dit is illegal to assign one object reference variable to another object reference variable.
13Software safety is quality assurance activity that focuses on hazards that
- Aaffect the reliability of a software component
- Bmay cause an entire system to fail.
- Cmay result from user input errors.
- Dprevent profitable marketing of the final product
14Which of the following sets represent five stages defined by Capability Maturity
Model (CMM) in increasing order of maturity?- AInitial, Defined, Repeatable, Managed, Optimized.
- BInitial, Repeatable, Defined, Managed, Optimized.
- CInitial, Defined, Managed, Repeatable, Optimized.
- DInitial, Repeatable, Managed, Defined, Optimized.
15Which design metric is used to measure the compactness of the program in terms of lines of code?
- AConsistency
- BConciseness
- CEfficiency
- DAccuracy
16What is resolution of 4k UHD
- A480*720
- B720*1020
- C1024*768
- D4096*2160
17What are the two main types of access control lists (ACLs)?
1. Standard
2. IEEE
3. Extended
4. Specialized- A1 and 3
- B2 and 4
- C3 and 4
- D1 and 2
18What is the name of the views that allow to organize the position of the graphical components on the active screen in Android?
- Aframes
- Bcontainers
- Clayouts
- Dgrids
19Which of the following services use TCP?
1. DHCP
2. SMTP
3. HTTP
4. TFTP
5. FTP- A1 and 2
- B2, 3 and 5
- C1, 2 and 4
- D1, 3 and 4
20What is the default subnet mask for a class C network?
- A127.0.0.1
- B255.0.0.0
- C255.255.0.0
- D255.255.255.0
- ENone of the above
21Which of the following TCP/IP protocol is used for transferring electronic mail messages from one machine to another?
- AFTP
- BSNMP
- CSMTP
- DRPC
- ENone of the above
22What part of 192.168.10.51 is the Network ID, assuming a default subnet mask?
- A192
- B192.168
- C192.168.10
- D51
23Which WAN encapsulations can be configured on an asynchronous serial connection?
1. PPP
2. ATM
3. HDLC
4. SDLC
5. Frame Relay- A1 and 2
- B2 and 4
- C3, 4 and 5
- DAll of the above
24Which layer 1 devices can be used to enlarge the area covered by a single LAN segment?
1. Switch
2. NIC
3. Hub
4. Repeater
5. RJ45 transceiver- A1 only
- B1 and 3
- C3 and 4
- D5 only
25Routers operate at layer _____. LAN switches operate at layer _____. Ethernet hubs operate at layer _____. Word processing operates at layer _____.
- A3, 3, 1, 7
- B3, 2, 1, none
- C3, 2, 1, 7
- D3, 3, 2, none
26A Process Control Block(PCB) does not contain which of the following
- AProgram Counter
- BProcess State
- CI/O status information
- Dbootstrap program
27With round robin scheduling algorithm in a time shared system,
- Ausing very large time slices converts it into First come First served scheduling algorithm
- Busing very small time slices converts it into First come First served scheduling algorithm
- Cusing extremely small time slices increases performance
- Dusing very small time slices converts it into Shortest Job First algorithm
28The following three conditions must be satisfied to solve the critical section problem : (choose three)
- AAging
- BMutual Exclusion
- CDeadlock
- DProgress
- EBounded Waiting
29Each request requires that the system consider the __________, _____________, ____________ to decide whether the current request can be satisfied or must wait to avoid a future possible deadlock. (choose three)
- Aresources currently available
- Bprocesses that have previously been in the system
- Cresources currently allocated to each process
- Dfuture requests and releases of each process
30The main memory accommodates : (choose two)
- Aoperating system
- BCPU
- Cuser processes
- DAll of these
31Linux uses a time-sharing algorithm
- Ato pair preemptive scheduling between multiple processes
- Bfor tasks where absolute priorities are more important than fairness
- Cboth (a) and (b)
- Dnone of the mentioned
32In CRC there is no error if the remainder at the receiver is _____.
- Aequal to the remainder at the sender
- Bzero
- Cnonzero
- Dthe quotient at the sender
33What is Pending Intent in android?
- AIt is a kind of an intent
- BIt is used to pass the data between activities
- CIt will fire at a future point of time.
- DNone of the Above
34Which one of the following statements is NOT correct about HTTP cookies?
- AA cookie is a piece of code that has the potential to compromise the security of an internet user
- BA cookie gains entry to the user‟s work area through an HTTP header
- CA cookie has an expiry date and time
- DCookies can be used to track the browsing pattern of a user at a particular site
35The 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 ___________.- A1
- B2
- C3
- D4
- E8
36Consider six memory partitions of sizes 200 KB, 400 KB, 600 KB, 500 KB, 300 KB and 250 KB, 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?
- A200KB and 300 KB
- B200KB and 250 KB
- C250KB and 300 KB
- D300KB and 400 KB
37How many address lines are needed to address each memory location in a 2048 x 4 memory chip?
- A10
- B11
- C8
- D16
38Identify the correct order in which the following actions take place in an interaction between a web browser and a web server.
1. The web browser requests a webpage using HTTP.
2. The web browser establishes a TCP connection with the web server.
3. The web server sends the requested webpage using HTTP.
4. The web browser resolves the domain name using DNS.- A4,2,1,3
- B1,2,3,4
- C4,1,2,3
- D2,4,1,3
39Assume that there are 3 page frames which are initially empty. If the page reference string 1, 2, 3, 4, 2, 1, 5, 3, 2, 4, 6, the number of page faults using the optimal replacement policy is ___________
- A5
- B6
- C7
- D8
40Mnemonic a memory trick is used in which of the following language?
- AMachine language
- BAssembly language
- CHigh level language
- DNone of above
41The smallest integer than can be represented by an 8-bit number in 2’s complement form is
- A- 256
- B- 127
- C- 128
- D0
42A process executes the code
fork ();
fork ();
fork ();
The total number of child processes created is -------------.- A5
- B6
- C7
- D8
- E4
43Which of the following provides access to the uploaded file in the temporary directory on the web server?
- A$_FILES['file']['tmp_name']
- B$_FILES['file']['name']
- C$_FILES['file']['size']
- D$_FILES['file']['type']
44An instruction cycle is made up of
- AOne or more execute cycle
- BOne or more fetch cycles
- COne opcode and one execute cycle
- DOne fetch cycle and one or more execute cycle
45Which of the following method can be used to create a MySql database using PHP?
- Amysql_connect()
- Bmysql_query()
- Cmysql_close()
- DNone of the above
46When determining the efficiency of algorithm, the space factor is measured by
- ACounting the maximum memory needed by the algorithm
- BCounting the minimum memory needed by the algorithm
- CCounting the average memory needed by the algorithm
- DCounting the maximum disk space needed by the algorithm
47Which of the following is not a valid rule for XOR
- A0 XOR 0 =0
- B1 XOR 1 = 1
- C1 XOR 0 = 1
- DB XOR B = 0
48Linked lists are best suited
- Afor relatively permanent collections of data
- Bfor the size of the structure and the data in the structure are constantly changing
- Cfor both of above situation
- Dfor none of above situation
49In linear search algorithm the Worst case occurs when
- AThe item is somewhere in the middle of the array
- BThe item is not in the array at all
- CThe item is the last element in the array
- DThe item is the last element in the array or is not there at all
50For an algorithm the complexity of the average case is
- AMuch more complicated to analyze than that of worst case
- BMuch more simpler to analyze than that of worst case
- CSometimes more complicated and some other times simpler than that of worst case
- DNone or above
51Which of the following data structure is linear data structure?
- ATrees
- BGraphs
- CArrays
- DNone of above
52The elements of an array are stored successively in memory cells because
- Aby this way computer can keep track only the address of the first element and the addresses of other elements can be calculated
- Bthe architecture of computer memory does not allow arrays to store other than serially
- Cboth of above
- Dnone of above
53Which of the following data structure is not linear data structure?
- AArrays
- BLinked lists
- CBoth of above
- DNone of above
54The Average case occur in linear search algorithm
- AWhen Item is somewhere in the middle of the array
- BWhen Item is not in the array at all
- CWhen Item is the last element in the array
- DWhen Item is the last element in the array or is not there at all
55Which of the following case does not exist in complexity theory
- ABest case
- BWorst case
- CAverage case
- DNull case
56The operation of processing each element in the list is known as
- ASorting
- BMerging
- CInserting
- DTraversal
57Arrays are best data structures
- Afor relatively permanent collections of data
- Bfor the size of the structure and the data in the structure are constantly changing
- Cfor both of above situation
- Dfor none of above situation
58A disk drive has 100 cyclinders, numbered 0 to 99. Disk requests come to the disk driver for cyclinders 12, 26, 24, 4, 42, 8 and 50 in that order. The driver is currently serving a request at cyclinder 24. A seek takes 6 msec per cyclinder move. How much seek time is needed for shortest seek time first (SSTF) algorithm ?
- A0.984 sec
- B0.396 sec
- C0.738 sec
- D0.42 sec
59<SCRIPT> … </SCRIPT> tag can be placed within
- Ahead
- Bbody
- Cboth head and body
- Dnone of the above
60Which of the following is NOT an example of a client-side operation in web page rendering?
- AA database lookup for a customer name.
- BA format check for a phone number field input.
- CThe detection of which web browser is being used.
- DWriting a cookie.
- EAn alert popup.
61Which of the following is valid declaration for array?
1. char [] startsWith [];
2. int [] Score;
3. char [8] dist;
4. School students[];
5. School students[5];- A1, 2, 4
- B2, 4, 5
- C2, 3, 4
- DAll are correct.
62In this Below which of the following statement is suitable to start the thread?
class ABC implements Runnable {
Public static void main(String args[]) {
/**** Some Code is Missing Here *****/
}
public void run() {}
}- AThread t = new Thread(ABC);
- BThread t = new Thread(ABC); t.start();
- CABC run = new ABC(); Thread t = new Thread(run); t.start();
- DThread t = new Thread(); t.run();
63Which of the following sentences is FALSE:
- AIn a magnetic disk, a sector is a group of clusters
- BIn a magnetic disk, a cluster is a group of sectors
- CIn a magnetic disk, the same magnetic head reads and writes the data
- DA magnetic disk is slower than a SSD
64Select the INCORRECT sentence:
- ARAM contents are lost in the event of a power failure
- BRAM memory stores both programs and data
- CCache memory is faster than standard RAM memory
- DRAM memory and ROM memory are interchangeable, as they can do the same functions
- ECMOS memory has a low power consumption
65Which Of the following are true regarding Java.lang.ArrayList ?
- AElements in the ArrayList is Ordered.
- BCollections are gaurentee to Immutable
- CElements in Collections are unique.
- DElements in the Collections are acessed using Unique value
66public class A implements Runnable {
public static void main(String args[]) {
//Some Code is missig here
}
public void run() {}
}
From the below which of the following statement is suitable to replace that code missig Comment?- AThread x = new Thread(A);
- BThread x = new Thread(A); x.start();
- CA run = new A(); Thread t = new Thread(run); x.start();
- DThread x = new Thread(); x.run();
67What will be the content of array variable table after executing the following code?
for(int i = 0; i < 3; i + +)
for(int j = 0; j < 3; j + +)
if(j = i) table[i][j] =1;
else table[i][j] = 0;- A0 0 0 0 0 0 0 0 0.
- B1 0 0 1 1 0 1 1 1.
- C1 0 0 0 1 0 0 0 1.
- D0 0 1 0 1 0 1 0 0.
68What is Expected Output Of the Following Program
Class A{
public static void main(String args[]){
int i = l, j = 6;
while (j--) {
i++;
}
System.out.println("x = " + x +" y = " + y);
}
}- Ai = 6 j = 0
- Bi = 7 j = 0
- Ci = 6 j = -1
- DCompile Error
69Match the following :
(a) Disk scheduling 1. Round-robin
(b) Batch processing 2. SCAN
(c) Time sharing 3. LIFO
(d) Interrupt processing 4. FIFO- A(a) (b) (c) (d)
3 4 2 1 - B(a) (b) (c) (d)
4 3 2 1 - C(a) (b) (c) (d)
2 4 1 3 - D(a) (b) (c) (d)
1 4 3 2
- A(a) (b) (c) (d)
70consider the 3 processes, P1, P2 and P3 shown in the table
Process Arrival time Time unit required
P1 0 5
P2 1 7
P3 3 4
The completion order of the 3 processes under the policies FCFS and RRS (round robin scheduling with CPU quantum of 2 time units) are- AFCFS: P1, P2, P3 RR2: P1, P2, P3
- BFCFS: P1, P3, P2 RR2: P1, P3, P2
- CFCFS: P1, P2, P3 RR2: P1, P3, P2
- DFCFS: P1, P3, P2 RR2: P1, P2, P3
71Consider the virtual page reference string
1, 2, 3, 2, 4, 1, 3, 2, 4, 1
On a demand paged virtual memory system running on a computer system that main memory size of 3 pages frames which are initially empty. Let LRU, FIFO and OPTIMAL denote the number of page faults under the corresponding page replacements policy. Then- AOPTIMAL < LRU < FIFO
- BOPTIMAL < FIFO < LRU
- COPTIMAL = LRU
- DOPTIMAL = FIFO
72In the architecture of a database system external level is the
- Aphysical level.
- Blogical level.
- Cconceptual level
- Dview level.
73The sum of products expansion for the function F(x, y, z) = (x + y)z’ is given as
- Ax’y’z + xyz’ + x’yz’
- Bxyz + xyz’ + xy’z’
- Cxy’z’ + x’y’z’ + xyz’
- Dxyz’ + xy’z’ + x’yz’
74The property / properties of a database is / are :
- AIt is an integrated collection of logically related records
- BIt consolidates separate files into a common pool of data records.
- CData stored in a database is independent of the application programs using it.
- DAll of the above
75Which one of the following statements is false?
- AThe data dictionary is normally maintained by the database administrator.
- BData elements in the database can be modified by changing the data dictionary.
- CThe data dictionary contains the name and description of each data element.
- DThe data dictionary is a tool used exclusively by the database administrator.
76Transaction processing is associated with everything below except
- Aproducing detail, summary, or exception reports
- Brecording a business activity.
- Cconfirming an action or triggering a response.
- Dmaintaining data.
77SET concept is used in :
- ANetwork Model
- BHierarchical Model
- CRelational Model
- DNone of these
78The file organization that provides very fast access to any arbitrary record of a file is
- AOrdered file
- BUnordered file
- CHashed file
- DB-tree
79Which of the following operation is used if we are interested in only certain columns of a table?
- APROJECTION
- BSELECTION
- CUNION
- DJOIN
80Using Relational Algebra the query that finds customers, who have a balance of over 1000 is
- APCustomer_name(s balance >1000(Deposit))
- Bs Customer_name(Pbalance >1000(Deposit))
- CPCustomer_name(s balance >1000(Borrow))
- Ds Customer_name(Pbalance >1000(Borrow))
81Consider the join of a relation R with relation S. If R has m tuples and S has n tuples,then the maximum size of join is:
- Amn
- Bm+n
- C(m+n)/2
- D2(m+n)
82What is Manifest.xml in android?
- AIt has information about layout in an application
- BIt has the information about activities in an application
- CIt has all the information about an application
- DNone of the above
83What is the life cycle of broadcast receivers in android?
- Asend intent()
- BonRecieve()
- CimplicitBroadcast()
- DsendBroadcast(), sendOrderBroadcast(), and sendStickyBroadcast().
84Which of the following method is suitable when you need to send larger form submissions?
- AGet
- BPost
- CBoth Get and Post
- DThere is no direct way for larger form. You need to store them in a file and retrieve
85Is it mandatory to call onCreate() and onStart() in android?
- ANo, we can write the program without writing onCreate() and onStart()
- BYes, we should call onCreate() and onStart() to write the program
- CAt least we need to call onCreate() once
- DNone of the above
86The difference between include() and require() in PHP
- Aare different how they handle failure
- Bboth are same in every aspects
- Cis include() produced a Fatal Error while require results in a Warning
- Dnone of above
87Which of the following is not true?
- APHP can be used to develop web applications.
- BPHP makes a website dynamic.
- CPHP applications can not be compiled.
- DPHP can not be embedded into html.
88Any type of modification on the parameter inside the function will reflect in actual variable value can be related to
- Acall by value
- Bcall by reference
- Cboth of above
- Dnone of above
89Which of the following is NOT a valid deadlock prevention scheme?
- ARelease all resources before requesting a new resource
- BNumber the resources uniquely and never request a lower numbered resource than the last one requested
- CNever request a resource after releasing any resource
- DRequest and all required resources be allocated before execution.
90UML meaning is
- AUnique modeling language
- BUnified modeling language
- CUnified modern language
- DUnified master language
91In Python,
What is the output when following code is executed ?
str1="helloworld"
str1[ : : -1]- Adlrowolleh
- Bhello
- Cworld
- Dhelloworld
92In python, What will be the output?
t=(1,2,4,3)
t[1:3]- A(1, 2)
- B(1, 2, 4)
- C(2, 4)
- D(2, 4, 3)
93Which of the following is a Python tuple?
- A[1, 2, 3]
- B(1, 2, 3)
- C{1, 2, 3}
- D{ }
94Which of the following are unary operators in C?
1. !
2. sizeof
3. ~
4. &&- A1, 2
- B1, 3
- C2, 4
- D1, 2, 3
95Which bitwise operator is suitable for turning on a particular bit in a number?
- A&& operator
- B& operator
- C|| operator
- D| operator
96What will be the output of the program?
#include<stdio.h>
int main()
{ printf("%d %d\n", 32<<1, 32<<0);
printf("%d %d\n", 32<<-1, 32<<-0);
printf("%d %d\n", 32>>1, 32>>0);
printf("%d %d\n", 32>>-1, 32>>-0);
return 0;
}- AGarbage values
- B64 32
0 32
16 32
0 32 - CAll zeros
- D8 0
0 0
32 0
0 16
97Which one is not a nickname of a version of Android ?
- ACupcake
- BGingerbread
- CHoneycomb
- DMuffin
98In Unix/Linux, Which command is used to print a file
- Aprint
- Bptr
- Clpr
- Dpg
- ENone of the above
99Which of the following commands is used to update access and modification times of a file?
- Agrep
- Bwc
- Ctouch
- Dcat
- ENone of the above
100What is the minimum number of two-input NAND gates used to perform the function of two input OR gate ?
- AOne
- BTwo
- CThree
- DFour
101The decimal equivalent of hex number 1A53 is
- A6793
- B6739
- C6973
- D6379
102How many Flip-Flops are required for mod–16 counter?
- A5
- B6
- C3
- D4
103The 2’s complement of the number 1101101 is
- A0101110
- B0111110
- C0110010
- D0010011
104When simplified with Boolean Algebra (x + y)(x + z) simplifies to
- Ax
- Bx + x(y + z)
- Cx(1 + yz)
- Dx + yz
105A 4-bit synchronous counter uses flip-flops with propagation delay times of 15 ns each. The maximum possible time required for change of state will be
- A15 ns
- B30 ns
- C45 ns
- D60 ns
1061’s complement representation of decimal number of -17 by using 8 bit representation is
- A1110 1110
- B1101 1101
- C1100 1100
- D0001 0001
107Which command is used to extract specific columns from the file?
- Acat
- Bcut
- Cgrep
- Dfind
- ENone of the above
108Grant and revoke are ....... statements.
- ADDL
- BTCL
- CDCL
- DDML
109How many lines the truth table for a four-input NOR gate would contain to cover all possible input combinations ?
- A4
- B8
- C12
- D16
110Match the following
A.Plasma paneL i) Polarizer
B.DVST ii) Zinc sulfide
C.LCD iii) Dielectric mesh
D.Thin film electroluminescent iv) Neon gas- AA-ii, B-iv, C-i, D-iii
- BA-ii, B-iii, C-iv, D-i
- CA-iv, B-iii, C-i, D-ii
- DA-i ,B-iv, C-ii, D-iii
111What type of join is needed when you wish to include rows that do not have matching values?
- AEqui-join
- BNatural join
- COuter join
- DAll the above
112If an object is rotated through an angle A in clockwise direction, the rotation matrix R= ...............
- Acos A sin A
-sin A cos A - Bcos A -sin A
sin A cos A - Csin A cos A
cos A sin A - DNone
- Acos A sin A
113Forming products of transformation matrices is often referred as
- AConcatenation
- BComposition
- Cboth a&b
- DNone of above
114In a risk-based approach the risks identified may be used to:
i. Determine the test technique to be employed
ii. Determine the extent of testing to be carried out
iii. Prioritize testing in an attempt to find critical defects as early as possible.
iv. Determine the cost of the project- Aii is True; i, iii, iv and v are False
- Bi,ii,iii are true and iv is false
- Cii and iii are True; i, iv are False
- Dii, iii and iv are True; i is false
115Which of the following is not a part of the Test Implementation and Execution Phase?
- ACreating test suites from the test cases
- BExecuting test cases either manually or by using test execution tools
- CComparing actual results
- DDesigning the Tests
116What can static analysis NOT find?
- AThe use of a variable before it has been defined.
- BUnreachable (“dead”) code.
- CMemory leaks.
- DArray bound violations.
117Which plan describes how the skills and experience of the project team members will be developed ?
- AHR Plan
- BManager Plan
- CTeam Plan
- DStaff Development Plan
118Alpha and Beta Testing are forms of _______ .
- AAcceptance testing
- BIntegration testing
- CSystem Testing
- DUnit testing
119Which is the most important feature of spiral model?
- AQuality management
- BRisk management
- CPerformance management
- DEfficiency management
120Key to represent relationship between tables is called
- Aprimary key
- Bsecondary key
- Cforeign key
- Dnone of the above
121Which method executes only once
- Astart() method
- Binit() method
- Cstop() method
- Ddestroy() method
122__________ generate interrupt signal to microprocessor and receive acknowledge
- Apriority resolver
- Bcontrol logic
- Cinterrupt request register
- Dinterrupt register
123In 8086 the overflow flag is set when _____________.
- Athe sum is more than 16 bits.
- Bsigned numbers go out of their range after an arithmetic operation.
- Ccarry and sign flags are set.
- Dsubtraction
124Address line for TRAP is?
- A0023H
- B0024H
- C0033H
- D0099H
125The instruction, MOV AX, 1234H is an example of
- Aregister addressing mode
- Bdirect addressing mode
- Cimmediate addressing mode
- Dbased indexed addressing mode
126In which order, Processor status word of 8085 microprocessor has five flags ?
- AS, Z, AC, P, CY
- BS, OV, AC, P, CY
- CS, Z, OV, P, CY
- DS, Z, AC, P, OV
127In Java, Runnable is
- AClass
- BMethod
- CVariable
- DInterface
128Consider the following statements: In 8085 microprocessor, data-bus and address bus are multiplexed in order to
I) Increase the speed of microprocessor.
II) Reduce the number of pins.
III) Connect more peripheral chips.
Which of these statements is/are correct?- A(I) only
- B(II) only
- C(II) & (III)
- D(I),(II) & (III)
129colspan can be added to only what tag?
- A<table>
- B<tr>
- C<td>
- DAll the above
130Which class cannot be subclassed (or extended) in java?
- Aabstract class
- Bparent class
- CFinal class
- DNone of above
131A technology called ____ makes it possible for one person's computer to directly access the contents of another person's hard disk.
- AP2P
- BURL
- CHTML
- DDTD
132The main reason for using encryption on the Internet is:
- ATo speed up the communication
- BTo prevent people other than the recipients from reading the message
- CTo guarantee that the message reached its intended target..
- DAll of the above
133The Internet allows strangers to group together to gain bulk price discounts normally available to large companies; this is defined as:
- ACustomer-to-customer transaction
- BBusiness-to-business transaction
- CPrice bidding
- DBuying cartel
134How can you open a link in a new browser window?
- A<a href="url" new>
- B<a href="url" target="new">
- C<a href="url" target="_blank">
- D<a href="url" target="_new">
135What method is used to specify a container's layout in JSP?
- AsetLayout()
- BsetContainerLayout()
- CContainerLayout()
- DsetConLayout().
136What value does readLine() return when it has reached the end of a file in JSP?
- ALast character in the file
- BNull
- CTrue.
- DFalse
137In JSP, a Canvas object provides access to a Graphics object via one of its method called:
- AgetCanvas()
- BgetGraphics()
- Cpaint()
- DaccessGraphics()
138The following web page is loaded into a web server:
<html>
<head><title>JavaScript question</title></head>
<body>
<script language="JavaScript">
book = new Array(1,2,3,4,5,6,7,8);
document.write(book[1]);
book[10]=10;
document.write(book[10]);
</script>
</body>
</html>
Once the above web page is loaded what will its body contain?- A2
10 - B1
10 - C210
- D110
- A2
139Consider the following script:
<html>
<head><title>JavaScript</title></head>
<body>
<script language="JavaScript">
document.write((125/5)%12);
</script>
</body>
</html>
What would be the output of the above script?- A0
- B1
- C2.083
- D25%12
140Consider the following entries in a Cascading Style Sheet (CSS) file.
P {colour: blue; background-colour: white; border-colour: red; border-left: solid}
BODY {colour: black; border-colour: green}
What is the colour of text in a paragraph of an HTML document that uses the above style sheet?- Agreen
- Bblue
- Cblack
- DWhite.
141Matlab stands for
- AMathematics Lab
- BMatrix Laboratory
- CMathematical Laboratory
- DNone of the Above
142Look at this series: 664, 332, 340, 170, ____, 89, ... What number should fill the blank?
- A85
- B97
- C109
- D178
143Which of the following is not a pair tag?
- A<p>
- B<u>
- C<i>
- D<img>
144CALANDER is coded in a code as CLANAEDR. Find the code for CIRCULAR under the same rule.
- ALACANDER
- BCRIUCALR
- CCLANADER
- DNone of these
145In one's complement representation 1111 1111 represents
- A+0
- B-0
- C+1
- D-1
146Using Demorgan's theorem we can convert AND-OR circuit to
- AOR-AND
- BNOR-NOR
- CNAND-NAND
- DNAND-NOR
147The number of interrupt lines in 8085 is
- A2
- B3
- C4
- D5
148Ability to learn how to do tasks based on the data given for training or initial experience
- ASelf Organization
- BAdaptive Learning
- CFault tolerance
- DRobustness
149Which of the following propositions is tautology?
- A(p v q)→q
- Bp v (q→p)
- Cp v (p→q)
- DBoth (b) & (c)
150Which actions can be triggered by a button click in Android ? (check all that apply)
- Achange appearance of other views of the same activity
- Bstart a different activity
- Cchange appearance of the button
Information
- Description
- ThirdYear Third Year Quiz on Comprehensive Exam Computer Science - 2017, created by Faheem Ahmed on 09/03/2017.
- Author
- Faheem Ahmed
- Language
- English
- Views
- 755
- Tags
- Rating
- 3.0 out of 5 · 1 rating Rate this quiz