Computer Science MCQs

 

Computer Science MCQs



Q. A CPU has a few cores while a normal GPU contains how many cores?
(A) dozens
(B) hundreds
(C) millions
(D) billions

The answer is: (B) hundreds ☑

Q. The basic components of a machine language program is
(A) Statements
(B) Directives
(C) Injunctions
(D) Instructions

The answer is: (D) Instructions ☑

Q. In which switching techniques there is no resource allocation for a packet?
(A) Circuit switching
(B) Datagram switching
(C) Frame switching
(D) None of these

The answer is: (B) Datagram switching ☑

Q. Which number system is used by computer machines?
(A) digital
(B) decimal
(C) analogue
(D) binary

The answer is: (D) binary ☑

Q. The main function of a web server is to store and process
(A) internet
(B) websites
(C) database
(D) programs

The answer is: (B) websites ☑

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 ☑Q. Internet uses _____ to communicate between devices and networks.

(A) HTTPS

(B) email

(C) website

(D) internet protocol suite


The answer is: (D) internet protocol suite ☑


Q. C++ is an object oriented language, and C, BASIC, and Pascal are ________ languages.

(A) procedural

(B) scripting

(C) general purpose

(D) web based


The answer is: (A) procedural ☑


Q. The amount of time taken by a device to begin reading data is called

(A) Seek time

(B) Read time

(C) Access time

(D) Write time


The answer is: (C) Access time ☑


Q. The main function of a web server is to store and process

(A) internet

(B) websites

(C) database

(D) programs


The answer is: (B) websites ☑


Q. “Google Language Translator” is an example of the application of

(A) internet

(B) debugging

(C) computer simulations

(D) machine learning


The answer is: (D) machine learning ☑

Leave a Comment

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

Scroll to Top