Computer Science MCQs IBA 5 TO 15 TEST

 

Computer Science MCQs IBA 5 TO 15 TEST 






Q. A computer program that translates one statement of program instructions at a time into machine language is called
(A) CPU
(B) Interpreter
(C) Compiler
(D) Simulator

The answer is: (B) Interpreter ☑

Q. NTFS stands for?
(A) New Trend File Saving
(B) Network File Saving
(C) New Technology File System
(D) None Of These

The answer is: (C) New Technology File System ☑

Q. Which variable type can have only two possible values?
(A) integer
(B) string
(C) double
(D) bool

The answer is: (D) bool ☑

Q. In computer science and information technology (IT), DNS is an abbreviation of
(A) Direct Name System
(B) Domain Name System
(C) Direct Name Software
(D) Domain Name Software

The answer is: (B) Domain Name System ☑

Q. In C++, the library function exit() causes an exit from the
(A) statement
(B) loop in which it occurs
(C) function in which it occurs
(D) program in which it occurs

The answer is: (D) program in which it occurs ☑

Q. In C++, a function name must be followed by
(A) braces
(B) parentheses
(C) statement
(D) variable name

The answer is: (B) parentheses ☑

Q. Consider the main body of a program,
string a = “4”;
string b = “8”;
string c = a + b;
cout << c << endl;
If the program is run, what will be displayed on the screen?
(A) 4
(B) 8
(C) 12
(D) 48

The answer is: (D) 48 ☑

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top