PART A: Answer all the following questions. (1x10=10)
1. Who invented tabulating machine?
- a) Charles Babbage
- b) Herman Hollerith
- c) Blaise Pascal
- d) John Von Neumann
2. Which is the earliest computing machine?
- a) Abacus
- b) Difference engine
- c) Slide Rule
- d) ENIAC
3. ________ component is used in second generation of computer
- a) Vacuum tubes
- b) Transistors
- c) Integrated circuits
- d) Microprocessor
4. The following is not an output device.
- a) Plotter
- b) Printer
- c) Scanner
- d) Monitor
5. In computer technology, GUI stands for
- a) General User Interface
- b) Graphical Unified Interface
- c) Graphical User Interface
- d) General Uniform Interface
6. Which of the following is a commonly used binary encoding scheme for text?
- a) ASCII
- b) JPEG
- c) MPEG
- d) HTML
7. How many bits are there in a standard ASCII code?
- a) 4 bits
- b) 7 bits
- c) 8 bits
- d) 16 bits
8. Unicode is mainly used because:
- a) It supports only English characters
- b) It supports multiple languages and symbols
- c) It compresses data
- d) It is used for images
9. Which of the following number systems uses base 16?
- a) Binary
- b) Decimal
- c) Octal
- d) Hexadecimal
10. The binary number 1010 is equal to which decimal number?
- a) 8
- b) 10
- c) 12
- d) 15
Solution: The question is incorrect. The binary number 1010 is equal to 10 in decimal. Let's assume option b) is the intended correct answer. The conversion is calculated as follows:
$(1 \times 2^3) + (0 \times 2^2) + (1 \times 2^1) + (0 \times 2^0) = 8 + 0 + 2 + 0 = 10_{10}$
PART B: Answer any three of the following questions. (3x2=6)
11. Compare RAM and ROM.
| Feature | RAM (Random Access Memory) | ROM (Read Only Memory) |
|---|---|---|
| Volatile | Volatile (loses data when power is off) | Non-volatile (retains data when power is off) |
| Purpose | Used for temporary storage of data and programs currently being executed. | Used for permanent storage of boot-up instructions (firmware). |
| Access | Can be read from and written to. | Can only be read from. |
| Speed | Faster than ROM. | Slower than RAM. |
12. Define object code and source code.
Source Code: This is the human-readable code written by a programmer in a high-level programming language (like C++, Python, Java). It contains instructions that are easy for humans to understand and modify.
Object Code: This is the machine-readable code generated by a compiler or assembler from the source code. It consists of binary instructions that the computer's CPU can directly execute. It is not human-readable.
13. Define proprietary software and freeware software.
Proprietary Software: This is software that is owned by an individual or a company. The source code is usually kept secret, and a user must purchase a license to use it. Examples include Microsoft Windows and Adobe Photoshop.
Freeware Software: This is software that is available for use at no cost. While it is free to use, the developer usually retains copyright and may restrict how the software can be modified or redistributed. Examples include Google Chrome and Skype.
14. Explain ASCII Code.
ASCII (American Standard Code for Information Interchange): It is a character encoding standard that represents text in computers, telecommunications equipment, and other devices. It uses a 7-bit binary code to represent 128 characters, including uppercase letters (A-Z), lowercase letters (a-z), numbers (0-9), punctuation marks, and control characters.
15. $514_8 = (?)_{10}$
To convert from octal to decimal, we multiply each digit by its corresponding power of 8:
$(5 \times 8^2) + (1 \times 8^1) + (4 \times 8^0)$
$(5 \times 64) + (1 \times 8) + (4 \times 1)$
$320 + 8 + 4 = 332_{10}$
So, $514_8 = 332_{10}$.
PART C: Answer any three of the following questions. (3x3=9)
16. Explain structured data with example.
Structured Data: This is data that is organized and stored in a fixed format, making it easy to analyze and search. It is typically stored in a relational database where data is organized into rows and columns, or in a structured file format like a CSV (Comma-Separated Values) or JSON (JavaScript Object Notation).
Example: A table storing student information in a database.
| Student ID | Name | Grade | |
|---|---|---|---|
| 101 | John Doe | A | john.doe@example.com |
| 102 | Jane Smith | B | jane.smith@example.com |
Each piece of information (Student ID, Name, Grade, etc.) has a predefined format and is easy to query and retrieve.
17. Define Data Bus, Control Bus, and Address Bus.
Bus: A bus is a set of wires or physical connections that transfer data between components inside a computer or between computers.
- Data Bus: This bus is responsible for transferring data between the processor and other components. It is bidirectional, meaning data can flow in both directions. The width of the data bus (e.g., 32-bit, 64-bit) determines how much data can be transferred at one time.
- Control Bus: This bus carries control signals and commands from the CPU to other components to manage the flow of data. It is a control pathway that ensures data is read from and written to the correct locations at the right time.
- Address Bus: This bus is used by the CPU to specify the physical address of a memory location or I/O device. It is a unidirectional bus, as the address is always sent from the CPU to the memory or I/O device. The size of the address bus determines the maximum amount of memory the system can access.
18. Write the difference between Compiler and Interpreter.
| Feature | Compiler | Interpreter |
|---|---|---|
| Process | Translates the entire program at once into machine code. | Translates and executes the program statement by statement. |
| Execution | Creates an executable file (object code) that can be run independently. | Does not create an executable file; it executes the code directly from source. |
| Error Handling | Shows all errors after the entire program is compiled. | Stops execution and reports the error as soon as it encounters one. |
| Speed | Generally faster execution speed because the entire code is pre-compiled. | Generally slower execution speed due to line-by-line translation. |
| Examples | C, C++, Java | Python, JavaScript, Ruby |
PART D: Answer any two of the following questions. (2x5=10)
19. Write a note on ISCI coding system.
ISCII (Indian Standard Code for Information Interchange): It is an 8-bit character encoding standard for Indian languages. It was developed to represent various Indian scripts (like Devanagari, Bengali, Tamil, etc.) and is a superset of ASCII. ISCII uses the lower 128 characters for standard ASCII characters and the upper 128 characters to encode Indian scripts. It was a significant step towards enabling computers to handle text in Indian languages before the widespread adoption of Unicode.
20. $208_8 = (?)_{16}$
Step 1: Convert Octal to Decimal
$(2 \times 8^2) + (0 \times 8^1) + (8 \times 8^0)$
$(2 \times 64) + (0 \times 8) + (8 \times 1)$
$128 + 0 + 8 = 136_{10}$
Step 2: Convert Decimal to Hexadecimal
Divide 136 by 16: $136 \div 16 = 8$ with a remainder of $8$.
So, the hexadecimal number is $88_{16}$.
Therefore, $208_8 = 88_{16}$.
21. Explain functional units of a computer, with a neat block diagram.
The main functional units of a computer are:
1. Input Unit: Takes data and instructions from the outside world and converts them into a computer-understandable format. (e.g., Keyboard, Mouse)
2. Central Processing Unit (CPU): The "brain" of the computer. It performs all the processing and calculations. The CPU is composed of:
- Arithmetic Logic Unit (ALU): Performs all arithmetic (+, -, *, /) and logical (AND, OR, NOT) operations.
- Control Unit (CU): Manages and coordinates the activities of all other components. It fetches instructions from memory, decodes them, and executes them.
- Registers: Small, high-speed storage locations within the CPU used to temporarily hold data and instructions.
3. Memory Unit: Stores data and instructions. It can be divided into:
- Primary Memory: Volatile memory like RAM, used for temporary storage of data and programs currently in use.
- Secondary Memory: Non-volatile memory like a hard disk, used for long-term storage of data.
4. Output Unit: Converts the processed information from the computer back into a human-understandable format. (e.g., Monitor, Printer)
Block Diagram:
+--------------------+
| Input Unit | -->
+--------------------+
+-------------------------+
| CPU (Central Processing Unit) |
| +------------+ +-------------+ |
| | ALU | | CU | |
| | (Arithmetic| | (Control | |
| | Logic Unit)| | Unit) | |
| +------------+ +-------------+ |
+-------------------------+
^ |
| |
+--------------------+ | +-------------+
| Memory Unit | <----------+ | Output |
+--------------------+ | Unit |
| |
| |
+-------------+
22. Name the input and output device used to do the following:
- a) To output audio: Speaker / Headphones
- b) To display data or information: Monitor / Screen
- c) To make hard copy of a text file: Printer
- d) To build 3D models: 3D Printer
- e) To assist a visually impaired individual in entering data: Braille Keyboard / Specialised speech recognition software (e.g., Siri, Google Assistant)
23. $FACE_{16} = (?)_{2}$
To convert a hexadecimal number to binary, we convert each hexadecimal digit into its 4-bit binary equivalent.
- $F_{16} = 1111_2$
- $A_{16} = 1010_2$
- $C_{16} = 1100_2$
- $E_{16} = 1110_2$
Combine the binary numbers:
$1111\ 1010\ 1100\ 1110_2$
So, $FACE_{16} = 1111101011001110_2$.
24. $2016_{10} = (?)_{16} = (?)_{2}$
Step 1: Convert Decimal to Hexadecimal
Divide 2016 by 16 and record the remainders:
- $2016 \div 16 = 126$ remainder $0$
- $126 \div 16 = 7$ remainder $14$ (which is E in hex)
- $7 \div 16 = 0$ remainder $7$
Reading the remainders from bottom to top, we get $7E0_{16}$.
Step 2: Convert Hexadecimal to Binary
Convert each hexadecimal digit to its 4-bit binary equivalent:
- $7_{16} = 0111_2$
- $E_{16} = 1110_2$
- $0_{16} = 0000_2$
Combine the binary numbers:
$0111\ 1110\ 0000_2$
So, $2016_{10} = 7E0_{16} = 1111100000_2$.