Computer Science Previous Year Questions 2026 | CDS

Computer Science - MOST IMPORTANT CDS Previous Year Questions

Practice real questions from previous year exams of CDS.

📘 Network Protocols📚 Telnet & SSH
Q1

Which one among the following protocols works at application layer in a TCP/IP protocol suit ?

🎯 UPSC CDS-II 2026
📘 Operating System📚 Core OS Functions (Process Management, Memory Allocation, etc.)
Q2

Which one among the following tasks is NOT carried out by an operating system ?

🎯 UPSC CDS-II 2026
📘 Programming and Scripting Languages📚 Markup Languages (HTML, XML, SGML, XHTML)
Q3

Which one among the following is NOT true about Standard Generalised Markup Language (SGML) ?

🎯 UPSC CDS-II 2026
📘 Operating System - Command Line Type📚 MS-DOS
Q4

Which one among the following consists of a list of commands that is executed automatically as the computer system starts up ?

🎯 UPSC CDS-II 2026
📘 Microsoft Office - MS Word📚 Home tab
Q5

In MS Word, which one among the following is used to set the alignment for the content in the document ?

🎯 UPSC CDS-II 2026
📘 Computer Generations📚 Fourth Generation Computers
Q6

Which one among the following generation computers used microprocessors in their hardware technology?

🎯 UPSC CDS-I 2026
📘 Programming and Scripting Languages📚 Low Level Languages (Machine, Assembly)
Q7

Which of the following computer languages is/are assembly language(s) ?

  1. Python
  2. Java
  3. x86
  4. MIPS

Select the answer using the codes given below :

🎯 UPSC CDS-I 2026
📘 Memory Devices - Secondary Memory📚 Flash Storage Devices (Pen Drive, etc.)
Q8

Which one of the following is not a characteristic of flash memory ?

🎯 UPSC CDS-I 2026
📘 Operating System - Command Line Type📚 Unix
Q9

Which one of the following statements is not correct with regard to the UNIX operating system ?

🎯 UPSC CDS-I 2026
📘 File Extensions and Associations📚 Audio/Video File Extensions (MP3, WAV, etc.)
Q10

In MP3 compression scheme, 60 minutes of music can be stored in about :

🎯 UPSC CDS-I 2026
📘 Wireless Technology📚 Cellular Technology (2G, 3G, 4G, 5G)
Q11

Code Division Multiple Access (CDMA) technology is primarily used in :

🎯 UPSC CDS-I 2026
📘 E-Governance in India📚 Other Government Portals
Q12

The Sujalam Bharat App, launched in December 2025, aims at :

🎯 UPSC CDS-I 2026
📘 Network Security Measures📚 Firewall and Its Types
Q13

Which one of the following is the purpose of firewall?

🎯 UPSC CDS-I 2025
📘 Software - System Software (Other than OS)📚 Linker and Loader
Q14

Which one of the following is not an application software?

🎯 UPSC CDS-I 2025
📘 Threats to Computer Security📚 Trojan Horse
Q15

Which among the following is a malicious software?

🎯 UPSC CDS-I 2025
📘 Introduction to Computers📚 Basic Facts (Data, Information, etc.)
Q16

What is an interactive combination of text, graphics, video, audio and images termed as?

🎯 UPSC CDS-I 2025
📘 Emerging Technologies & Future Trends📚 Artificial Intelligence and Machine Learning
Q17

Which one of the following is the characteristic of Artificial Intelligence?

🎯 UPSC CDS-I 2025
📘 Programming and Scripting Languages📚 Low Level Languages (Machine, Assembly)
Q18

Which language uses the symbolic representation of machine codes needed to program a particular processor or processor family?

🎯 UPSC CDS-II 2025
📘 Network Protocols📚 Protocol Ports & Uses
Q19

What are the uses of software ports?

  1. Connect client computer to server
  2. Connect external devices to computer
  3. Identify different services like email, file transfer
  4. Connecting peripherals like cameras, scanners

Select the answer using the code given below :

🎯 UPSC CDS-II 2025
📘 Data Representation and Number System📚 Arithmetic Operations (1's and 2's Complement)
Q20

Assuming the computer is a 4-bit computer, what result is produced after subtraction of 3 from 5 using the 2's complement representation ?

🎯 UPSC CDS-II 2025