BSc First Year (Sem 1 & 2) Computer Science – Daily Revision MCQ (English Medium)
Timed quiz: 15 seconds per question, the next one loads by itself when time runs out. Or solve without the timer: tap an option, right turns green, wrong turns red. New sets are added regularly.
Or scroll down and solve without the timer.
What is the decimal value of the binary number 1011?
Chapter 4: Number Systems
Show answer
Answer: C. 11
1011₂ = 1×8 + 0×4 + 1×2 + 1×1 = 11.Which memory loses its contents when the power is switched off?
Chapter 3: Computer Memory and Storage Devices
Show answer
Answer: A. RAM
RAM is volatile primary memory; ROM, hard disks and flash drives keep data without power.Which of these is called a universal gate because any logic circuit can be built using only this gate?
Chapter 5: Boolean Algebra and Logic Gates
Show answer
Answer: D. NAND
NAND (and also NOR) alone can build NOT, AND and OR, so it is a universal gate.Who is known as the 'Father of the Computer' for designing the Analytical Engine?
Chapter 1: Fundamentals of Computers
Show answer
Answer: B. Charles Babbage
Charles Babbage designed the Difference Engine and the Analytical Engine, the plan for a general-purpose computer.Which of these is system software?
Chapter 7: Operating System Basics
Show answer
Answer: B. An operating system such as Linux
The operating system manages hardware and runs other programs, so it is system software; the rest are application software.Which format specifier prints an int value with printf() in C?
Chapter 10: C Programming Basics
Show answer
Answer: A. %d
%d is for int; %f is for float/double, %c for a char and %s for a string.In C, what value is stored in x after: int x = 7 / 2;
Chapter 11: Operators, Expressions and Type Conversion in C
Show answer
Answer: C. 3
Both 7 and 2 are integers, so integer division drops the fraction: 7 / 2 = 3.Which loop in C runs its body at least once, even if the condition is false at the start?
Chapter 12: Control Statements in C
Show answer
Answer: D. do-while
do-while checks its condition after the body, so the body always runs at least once.For the declaration int a[5]; in C, what is the index of the last element?
Chapter 13: Arrays and Strings
Show answer
Answer: B. 4
C arrays start at index 0, so 5 elements use indexes 0 to 4.Which C library function releases memory that was allocated with malloc()?
Chapter 16: Dynamic Memory Allocation in C
Show answer
Answer: C. free()
free() returns dynamically allocated memory to the heap; delete is C++, and calloc() allocates memory.
BSc First Year (Sem 1 & 2): MCQ in other subjects
All questions are written by PadhaiNotes in our own words from the common syllabus of Maharashtra universities (NEP). Your own university's syllabus may differ a little.