Computer Science Answers
Computer Science Answers
Questions
Question 1(g):
Define switching.
Question 1(h):
What is the purpose of testing?
Question 1(i):
What is the difference between a process and a program?
Question 2(a):
Explain the characteristics of digital computers.
Question 2(b):
Draw a flowchart to find the largest among three numbers.
Question 2(c):
Define the difference between RAM and ROM.
Question 2(d):
What are the BATCH files in MS-DOS?
Batch files are text files containing a series of commands to be executed by the command-
line interpreter in DOS or Windows. File extension is .BAT. Used for automating repetitive
tasks like backups, file copying, etc.
Question 2(e):
Explain the idea of multiplexing.
Multiplexing is a technique that combines multiple signals for transmission over a single
communication channel. It increases efficiency and reduces cost. Types:
- TDM (Time Division Multiplexing)
- FDM (Frequency Division Multiplexing)
- WDM (Wavelength Division Multiplexing)
Question 3:
Discuss the different types of switching technique.
Question 4:
What is the difference between computer hardware and software?
Discuss the different categories of computer hardware.
Question 5:
What is computer output microfilm? Discuss the classification of
secondary storage devices.
COM is a method to archive data by converting digital output into microfilm for long-term
storage. It's durable, secure, and space-saving.
Classification of Secondary Storage Devices:
- Magnetic Storage – Hard disks, tapes
- Optical Storage – CDs, DVDs
- Solid-State Storage – SSDs, USB drives
Question 6:
What are the features of good programming language? Write an
algorithm to calculate a factorial of an N number.
Features:
- Simplicity
- Readability
- Portability
- Modularity
- Efficiency
- Robustness
Algorithm:
Step 1: Start
Step 2: Input N
Step 3: Set Fact = 1
Step 4: Repeat from i = 1 to N → Fact = Fact * i
Step 5: Output Fact
Step 6: End
Question 7:
Discuss the layers of TCP/IP model.