Free Programming Basics MCQs with Answers
53 Programming Basics MCQs from Computer Science and IT, each with the correct answer and a written explanation of why it is correct. Free and unlimited, with no account needed.
53 questions · page 2 of 6
11. Computer program is also known as ___________?
- A. Software
- B. Process
- C. Procedure
- D. Compiler
Explanation: A computer program is a set of instructions that directs the computer to perform tasks, and such instructions collectively form software. A compiler translates a program but is not the program itself.
Correct answer: Software12. Which of the following do not belong to queues for processes?
- A. Job Queue
- B. PCB queue
- C. Device Queue
- D. Ready Queue
Explanation: Operating systems commonly maintain job, ready and device queues for processes. A PCB is the process control block describing a process, not normally a standard process queue in this classification.
Correct answer: PCB queue13. The basic unit of CPU utilization is called?
- A. Process
- B. Thread
- C. program
- D. None of these
Explanation: A thread is the basic unit of CPU utilization and scheduling within a process. A process is a larger resource-owning program instance that may contain one or more threads.
Correct answer: Thread14. which of the following is a programming language?
- A. Lotus
- B. Pascal
- C. MS-Excel
- D. Netscape
Explanation: Pascal is a programming language designed for structured programming. Lotus, MS-Excel, and Netscape are software applications rather than programming languages.
Correct answer: Pascal15. Compiler Is Also__________?
- A. Software
- B. Program
- C. Code
- D. All Of These
Explanation: A compiler is a software program that translates source code into machine code or another lower-level form. “Code” describes what the compiler processes or contains, not the compiler itself, so “program” is the most precise option.
Correct answer: Program16. Angular is framework of_________?
- A. Php
- B. javaScript
- C. Python
- D. None
Explanation: Angular is a web-application framework in the JavaScript ecosystem, although modern Angular applications are written primarily in TypeScript. JavaScript is therefore the intended choice among these options.
Correct answer: javaScript17. In a computer spreadsheet, value of formula (7-3)x(1+6)/4 is __________ ?
- A. 7
- B. 1.5
- C. 2
- D. 12Science
Explanation: Evaluate the parentheses first: (7−3)×(1+6)÷4 = 4×7÷4 = 7. Multiplication and division are then performed from left to right.
Correct answer: 718. Which programming language is much in vogue among users of microcomputers ________ ?
- A. FORTH
- B. LOGO
- C. APL
- D. ALGOL
- E. None of these
Explanation: FORTH became notably popular on microcomputers because it was compact, fast, and suitable for systems with limited resources. LOGO was mainly associated with educational programming, while APL and ALGOL were less typical choices for microcomputer users.
Correct answer: FORTH19. Which is the limitation of high level language?
- A. Lower efficiency
- B. Machine dependence
- C. Machine level coding
- D. None of the above
Explanation: High-level languages are easier for humans to write but generally have lower efficiency than machine-level code because they require translation and additional processing. Machine dependence and machine-level coding are associated with low-level languages.
Correct answer: Lower efficiency20. Which of the following languages is more suited to a structured program?
- A. PL/1
- B. FORTRAN
- C. BASIC
- D. PASCAL
Explanation: Pascal was specifically designed to encourage structured programming through procedures, functions and clear control structures. The other listed languages are not as strongly associated with structured-programming education.
Correct answer: PASCAL