BSc Third Year (Sem 5 & 6) 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.
Which disk-scheduling algorithm is also called the elevator algorithm, because the head sweeps to one end servicing requests and then reverses?
Chapter 4: File Systems and Disk Scheduling
Show answer
Answer: C. SCAN
In SCAN the arm moves in one direction serving requests till the end, then reverses, like a lift in a building.Which Linux command is used to change the access permissions (read, write, execute) of a file?
Chapter 5: Linux Commands and Shell Scripting
Show answer
Answer: B. chmod
chmod (change mode) sets permissions, e.g. chmod 755 file; chown changes the owner, not the permissions.Which transport-layer protocol is connectionless and does not guarantee delivery of data?
Chapter 8: TCP/IP and the Internet
Show answer
Answer: D. UDP
UDP sends datagrams without setting up a connection and without acknowledgements; TCP is connection-oriented and reliable, FTP and HTTP are application-layer protocols.In classful IPv4 addressing, the address 172.16.5.4 belongs to which class?
Chapter 9: IP Addressing and Subnetting
Show answer
Answer: B. Class B
Class B addresses have a first octet from 128 to 191; 172 lies in this range.Which UML diagram shows how objects interact by exchanging messages, arranged in time order?
Chapter 11: UML Diagrams
Show answer
Answer: A. Sequence diagram
A sequence diagram places objects across the top and messages down a timeline (lifelines), showing the order of interaction.Which CSS property is used to change the colour of the text of an element?
Chapter 12: HTML and CSS
Show answer
Answer: C. color
The CSS property for text colour is color (e.g. p { color: red; }); font-color and text-color do not exist in CSS.In JavaScript, what does the expression typeof null return?
Chapter 13: JavaScript Basics
Show answer
Answer: D. "object"
typeof null returns "object" — a long-standing quirk of JavaScript kept for compatibility.Which keyword is used in Java for one class to inherit from another class?
Chapter 15: Java Basics
Show answer
Answer: A. extends
class B extends A makes B a subclass of A; implements is used for interfaces, and inherits is not a Java keyword.Which listener interface is implemented to handle the click of a Button in Java AWT/Swing?
Chapter 16: Java GUI: AWT, Swing and Event Handling
Show answer
Answer: C. ActionListener
Clicking a button generates an ActionEvent, handled by ActionListener's actionPerformed() method.A fake email that looks like it is from your bank and asks you to enter your password on a look-alike website is an example of:
Chapter 19: Cyber Security Basics
Show answer
Answer: B. Phishing
Phishing tricks users into giving away passwords or card details by impersonating a trusted organisation.
BSc Third Year (Sem 5 & 6): MCQ in other subjects
Previous days
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.