Professional Documents
Culture Documents
1st_COC
1st_COC
Select one:
a. In linked list memory is not efficiently utilized
b. Arrays are used to dynamically allocating memory space
c. Arrays and Linked List are used to access the data’s
sequentially
d. All
Feedback
The correct answer is: Arrays and Linked List are used to
access the data’s sequentially
Select one:
a. Compilation time
b. Rum time
c. Declaration time
d. None
Select one:
a. Decrement count and get the element in stk[count]
b. Increment top and store the element in stk[top]
c. Store the element in stk [count] and decrement count
d. Get the element from stk[top] and decrement top.
The correct answer is: Increment top and store the element in
stk[top]
Select one:
a. Last index of array is size of the array
b. Array index starts with 0
c. Array is a collection of related data
d. size of the array should be integer type
The correct answer is: Last index of array is size of the array
Question 5
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. istream
b. ifstream
c. ostream
d. ofstream
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. A function that is defined in terms of it self
b. A recursive function without a base case is meaningless
c. recursion is very cheap in terms of time complexity
d. all are correct
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. A general tree is not empty.
b. It consists of a node (the root) that stores an element
c. It has at most 2 node , right sub tree and left sub tree
d. All
Feedback
The correct answer is: It has at most 2 node , right sub tree
and left sub tree
Question 8
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
What is the programming difference between while and do-
while loop
Select one:
a. do-while loop don't need condition
b. while loop will guarantee at least 1 time execution
c. do-while loop will guarantee at least 1 time execution
d. while is exacly the same as do-while
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. break
b. continue
c. goto
d. None
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. flowchart
b. execution
c. implementation
d. coding
Feedback
Select one:
a. All functions have a return type which the default return is
integer
b. C++ does not allow nested functions
c. In the inline function the compiler can ignore the inline
qualifier
d. All are true
Feedback
The correct answer is: All functions have a return type which
the default return is integer
Question 12
Correct
Mark 1.00 out of 1.00
Flag question
Question text
_________? Determine the approximate number of
operations required to solve a problem of size n.
Select one:
a. Algorithm Analysis
b. Time Complexity
c. Space Complexity
d. None
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. Tree
b. Stack
c. Graphs
d. None
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. isEmpty
b. Pop
c. Delete
d. Push
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. int INT
b. INT int;
c. int INT;
d. int int
Feedback
for(int i=1;i<=5;i++)
{
if(i==3)
continue;
else
break;
}
Select one:
a. 1,2,3,4,5
b. 1,3
c. 3
d. None
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. int a[3]={1,2};
b. int a[]={2,4};
c. int a[5]={2,4,5,6,7,8}
d. int a[1]={1};
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. Algorithm is an infinite set of instructions.
b. Each and every steps of an algorithm is clear and no
ambiguity among them.
c. Algorithm should be terminated and should be correct.
d. None
Feedback
Select one:
a. every for loop statement can be converted to while loop
b. every if statement can be converted to switch statement
c. every for loop statement can be converted to do-while
loop
d. every switch statement can be converted to if statement
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. O(logn)
b. O(n)
c. O(n2)
d. O(1)
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. Described
b. Metadata compatible
c. Self-describing
d. An application program
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. Relatively simple for authorized users to encrypt and decrypt
data.
b. Encryption scheme depends only on the secrecy of the
algorithm
c. It should be extremely difficult for an intruder to determine
the encryption key.
d. None
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. It is used to describe file design organizations, and indexes
b. It translate the logical description of data into the technical
specifications
c. It create a design for storing data that will provide adequate
performance
d. All
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. Insert into
b. Alter table
c. Drop table
d. Create table
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. Data definition language
b. Data control language
c. Data dictionary
d. Data manipulation language
Feedback
Select one:
a. Cross-product
b. Set deference
c. Projection
d. Selection
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. No relation can be in both BCNF and 3NG
b. A relation R is in 3NF if every non-prime attribute of R is
fully functionally dependent on every key of R
c. Every relation in BCNF is also in 3NG
d. Every relation in 2NF is also BCNF
Feedback
Select one:
a. T1 ->T3 -> T2
b. T2 -> T1 -> T3
c. T3 -> T1->T2
d. T2 -> T3 -> T1
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. Hierarchical model
b. Conceptual Model
c. Physical model
d. Entity relationship model
Feedback
The correct answer is: Physical model
Question 33
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. Courses in which all the female students are enrolled
b. Courses in which a proper subset of female students are
enrolled
c. Courses in which only male students are enrolled
d. None
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. 1-to-1
b. M-to-1
c. 1-to-M
d. M-to-M
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Consider a schema R(A, B, C, D) and functional
dependencies A->B and C->D. Then the decomposition of R
into R1 (A, B) and R2(C, D) is?
Select one:
a. Not dependency preserving and not loss less join
b. Dependency preserving but not loss less join
c. Loss less join but not dependency preserving
d. Dependency preserving and loss less join
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. Group by
b. Sort by
c. Align by
d. Order by
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. It ensures order of operations to specify how to retrieve the
query result
b. There is no order of operations to specify how to retrieve the
query result
c. It is considered to be a procedural language.
d. None
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. As a wildcard
b. To limit the columns displayed
c. For range
d. None of the above is correct
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. E-commerce database application
b. Data mining database application
c. Single-user database application
d. Multiuser database application
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. CREATE INDEX ID;
b. ADD INDEX ID;
c. REMOVE INDE ID;
d. CHANGE INDEX ID;
Feedback
The correct answer is: CREATE INDEX ID;
Question 42
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The relation book (title, price) contains the titles and prices of
the books. Assuming that no two books have the same price,
what does the following SQL query list? Select title from
book as B Where (select count (*) From book as T Where
T.price > B.price) > 5
Select one:
a. Titles of the four most expensive books
b. Title of the fifth most expensive book
c. Title of the fifth most inexpensive book
d. Titles of the five most expensive books
Feedback
The correct answer is: Titles of the five most expensive books
Question 43
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. Sophisticated end user
b. Standalone end user
c. Casual end user
d. Parametric end user
Feedback
Select one:
a. In a row of a relation table, an attribute can have exactly one
value or Null value
b. An attribute of an entity can have more than one value
c. In a row of a relation table, an attribute can have more than
one value
d. An attribute of an entity can be composite
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. Referential integrity constraint
b. Semantic integrity constraint
c. Domain integrity constraint
d. Entity integrity constraint
Feedback
Select one:
a. select * from student where sex="M";
b. select age from student where sex="M";
c. select name,age in student where sex equals_to "M";
d. select age from student table where sex="M";
Feedback
The correct answer is: select age from student where sex="M";
Question 47
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. SQL
b. MySQL
c. WAMP
d. PHP
Feedback
Select one:
a. PHP is server side script
b. PHP file extenstion can be .php3 or .phtml
c. PHP is open source software
d. PHP is compatible with only MySQL and Oracle
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. Web browser
b. Search engine
c. Mozilla firefox
d. All
Feedback
The correct answer is: Search engine
Question 50
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. mysql_con
b. mysql_connect
c. mysql_php_connect
d. mysql_connection
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. Software engineer
b. Hacker
c. Thief
d. All
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. SMTP
b. HTTP
c. WWW
d. FTP
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. Select * from student where email not like '_@gmail.com*';
b. Select * from student where email not like '_@gmail.com';
c. Select * from student where email not like '%@gmail.com';
d. Select * from student where email not like 'a%@gmail.com*';
Feedback
The correct answer is: Select * from student where email not
like '%@gmail.com';
Question 54
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. Web Address
b. Domain Name System
c. Internet Address
d. Proxy
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. Good
b. Bye
c. Bye Good
d. Good Bye
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. Universal selector
b. Descendant selector
c. Pseudo-Class selector
d. ID selector
Feedback
The correct answer is: Descendant selector
Question 58
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. C++
b. Java
c. PHP
d. All
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. Browser
b. Website
c. Apache
d. WAMP
Feedback
The correct answer is: Apache
Select one:
a. Sequential circuits are designed only from NAND gates.
b. Output of sequential circuits depends only on current inputs.
c. Sequential circuits don’t have storage elements but
combinational circuits do.
d. Output of sequential circuits depends on current and past
input.
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. Compaction
b. Swapping
c. Paging
d. A and C
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. Single level directory structure
b. Two level directory structure
c. Tree-Structured Directories
d. Acyclic-Graph Directories
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. job scheduler
b. thread
c. Dispatcher latency
d. Dispatcher
Feedback
The correct answer is: Dispatcher
Question 64
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. Load-time and Execution-time address-binding
b. Compile-time and Execution-time address-binding
c. Compile-time and Run-time address-binding
d. Compile-time and Load-time address-binding
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. Exactly 2N unique outputs.
b. Exactly N unique outputs
c. A maximum of 2N unique outputs.
d. A minimum of 2N unique outputs.
Feedback
The correct answer is: A maximum of 2N unique outputs.
Question 66
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. 0 and 255
b. -128 and 127
c. -127 and 128
d. -127 and 127
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. Device Driver
b. Polling
c. Segmentation
d. Paging
Feedback
The correct answer is: Device Driver
Question 68
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. The sum result generated by full-adders is represented as
SUM = X + Y
b. Half-adders used only for adding two single bits.
c. Full-adders are constituting of two inputs and two outputs.
d. The sum result generated by half-adders is represented as
SUM = X’Y’ + XY
Feedback
The correct answer is: Half-adders used only for adding two
single bits.
Question 69
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. the encryption key can be made publicly available
b. encrypts the data three times using three separate keys
c. AES is best example of asymmetric key encryption
d. Messages are broken down into 64-bit chunks
Feedback
Select one:
a. process control block
b. semaphores
c. Scheduler
d. critical section
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. Accumulator Architecture
b. Memory-Memory Architecture
c. Register-Memory Architecture
d. Stack Architecture
Feedback
The correct answer is: Stack Architecture
Question 72
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. Register Addressing
b. Immediate Addressing
c. Indexed Addressing
d. Indirect Addressing
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. First-fit
b. Second-fit
c. Worst-fit
d. Best-fit
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Assume each RAM chips are size of 256 X 8-bits, then how
many chips are needed to design a memory of total capacity
4096 bytes?
Select one:
a. 16
b. 4
c. 12
d. 8
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. Compilation time
b. Response time
c. Burst time
d. Waiting Time
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. Virtual memory
b. Register
c. Cache
d. Main memory
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Which one of the following used to handle the I/O of one job
along with the computation of another job by putting job in a
buffer?
Select one:
a. Polling
b. Spooling
c. Busy-waiting
d. A and C
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. Register
b. DMA-controller
c. Cache
d. Control-Unit
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Memories are ordered from left-to-right with longer access
times in
Select one:
a. Registers ->Cache RAMs-> Main Memory -> Hard Drive
b. Registers ->Main Memory -> Cache RAMs -> Hard Drive
c. Hard Drive -> Cache -> Main Memory-> Registers
d. Hard Drive -> Main Memory-> Cache -> Registers
Feedback
Select one:
a. Programmable Read-Only Memory (PROM)
b. Electrically Erasable Programmable Read-Only Memory
(EEPROM)
c. Erasable Programmable Read-Only Memory (EPROM)
d. Flash Memory
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Which method is used to implement Contiguous memory
allocation?
Select one:
a. Virtual memory
b. Paging
c. Segmentation
d. Partitioning
Feedback
Select one:
a. Operability
b. Observability
c. Controllability
d. Decomposability
e. None
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. Minimize the memory required
b. Minimize the effort required to complete the program
c. Maximize the program clarity
d. Maximize the number of statements
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Which one is the Unified Modeling Language (UML)
notation?
Select one:
a. Use cases
b. Class diagrams
c. State diagrams
d. Activity diagrams
e. All
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. Function-oriented
b. Bottom-up design
c. Top-down design
d. Object-oriented
Feedback
Select one:
a. Sequential cohesion
b. Temporal cohesion
c. Coincidental cohesion
d. Logical cohesion
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. Inheritance coupling
b. Interaction coupling
c. Component coupling
d. External coupling
Feedback
The correct answer is: Component coupling
Question 89
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. System testing
b. Beta testing
c. Unit testing
d. Integration testing
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. Test-Driven Development
b. An Incremental Coding Process
c. Pair-Programming
d. A and C
e. None
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. Code optimizer
b. Syntax analyzer
c. Semantics analyzer
d. Intermediate code generator
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. LL(1) grammar
b. Quasi simple grammar
c. Simple grammar
d. LR(1) grammar
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. 1
b. 3
c. 0
d. 2
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Which of the following lexical tokens are identified by the
lexical analyzer but not included in the output
Select one:
a. Keyword
b. Special characters
c. Comments
d. Identifiers
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. Semantic tree
b. A stream of tokens
c. Syntax tree
d. Assembly code
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Which of the following pushdown machine operation
indicates the presence of ƛ production in the grammar
Select one:
a. Pop retain
b. Pop and advance
c. Reject
d. Replace and retain
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select one:
a. Nfa
b. Turing machine
c. Pushdown machine
d. Dfa
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
which of the following is not an operation for pushdown
machine
Select one:
a. Move
b. Pop
c. Push
d. Replace
Feedback