Q. Which one of the following is commonly used to define the overall design of the database?
- Application program
- Data definition language
- Schema
- Source code
Answer :- (C)
Q. Which of the following comment syntax is correct to create a single-line comment in the C++ program?
- //Comment
- /Comment/
- Comment//
- None of the above
Answer :- (A)
Explanation: To create a single line comment (or one-line comment in C++ program one can use the “// write comment” syntax.
. C++ is a ___ type of language.
- High-level Language
- Low-level language
- Middle-level language
- None of the above
Answer :- (C)
Q. For inserting a new line in C++ program, which one of the following statements can be used?
- \n
- \r
- \a
- None of the above
Answer :- (A)
Q. Which one of the following represents the tab?
- \n
- \t
- \r
- None of the above
Answer :- (B)
Explanation: The “\t” is a type of space sequence representing the tab, which means a set of blank space adds to the line.
Q. Which of the following refers to characteristics of an array?
- An array is a set of similar data items
- An array is a set of distinct data items
- An array can hold different types of datatypes
- None of the above
Answer :- (A)
Q. Which of the following is not a feature of DBMS?
(A) Minimum Duplication and Redundancy of Data
(B) High Level of Security
(C) Single-user Access only
(D) Support ACID Property
Answer: c
Q. Which of the following is not an example of DBMS?
(A) MySQL
(B) Microsoft Acess
(C) IBM DB2
(D) Google
Answer: d
6. In which of the following formats data is stored in the database management system?
(A) Image
(B) Text
(C) Table
(D) Graph
Answer: c
Q. Which of the following is the prefix form of A+B*C?
- A+(BC*
- +AB*C
- ABC+*
- +A*BC
Answer :- (D)
Q. When the user tries to delete the element from the empty stack then the condition is said to be a ____
- Underflow
- Garbage collection
- Overflow
- None of the above
Answer :- (A)
Q. Which one of the following is the process of inserting an element in the stack?
- Insert
- Add
- Push
- None of the above
Answer :- (C)
Q. What is the output of the below code?
#include <stdio.h>
int main
(
{
int arr[5]={10,20,30,40,50};
printf(“%d”, arr[5];
return 0;
}
- Garbage value
- 10
- 50
- None of the above
Answer :- (A)
Q. Which of the following is the function of the control unit in the CPU?
- It stores program instruction
- It decodes program instruction
- It performs logic operations
- None of the above
Answer :- (B) It decodes program instruction
Q. Which of the following building block can be used to implement any combinational logic circuit?
- AND
- OR
- NAND
- None of the above
Answer :- (C) NAND
Q. Which of the following is a combinational logic circuit that change the binary information into N output lines?
- Moltiplexer
- Demoltiplexer
- Encoder
- Decoder
Answer :- (C) Encoder