Skip to main content

Posts

Showing posts from April 14, 2024

SPSC COMPUTER SCIENCE LECTURESHIP MCQS SET1 2024

A computer has a main memory of 960 Kbytes. What is the exact number of bytes contained in this memory? A. 960 x 8 B. 960 x 1000 C. 960 x 1024 ✓ D. 960 x 1024 x 1024 What is the primary purpose of an operating system? A. Managing hardware resources ✓ B. Running applications C. Storing data D. Connecting to the internet Which of the following is an example of a high-level programming language? A. Assembly language B. Machine language C. C++ ✓ D. Binary code Which data structure follows the Last-In-First-Out (LIFO) principle? A. Queue B. Stack ✓ C. Tree D. Linked list Which of the following is a protocol used for sending email over the internet? A. HTTP B. FTP C. SMTP ✓ D. TCP What is the purpose of a compiler? A. Executes program instructions B. Translates high-level code into machine code ✓ C. Manages memory allocation D. Provides a user interface In object-oriented programming, what is the process of creating an instance of a class called? A. Inheritance B. Encapsulation C. Abstractio