Académique Documents
Professionnel Documents
Culture Documents
CHAPTER
1
Q1: Encircle one choice A, B, C or D in each case.
1. Which of the following is not a high level language?
(a) Fortran (b) Basic
(c) C and C++ (d) Assembly Language
2. Which of the following is not true about Personal Computers?
(a) The PC was introduced by IBM in 1981 (b) Computers are easy to use
(c) They are analogue machines
(d) People could do work at home that would be transferable to the company’s computer.
3. The third generation computers used
(a) Vaccum Tubes (b) Transistors
(c) Integrated Circuits (d) Microprocessors
4. A terminal consists of
(a) a keyboard, mouse and printer (b) mouse and monitor
(c) Keyboard and monitor (d) system unit and I/O devices
5. Minicomputer is
(a) Faster than microcomputer (b) smaller in size than microcomputer
(c) Expensive than micro computer (d) a and b
Q3: Describe the advancements in the computers during the 1950’s and 1960’s?
Ans: In early 1950’s two important engineering discoveries changed the image of the computer
field. These discoveries were the magnetic core memories and the transistor circuit elements.
During this period, the computer equipment with different prices as well as
Q4: Write a note on different computer generations, briefly explaining their features?
Ans: Generations in computer talk is a step in technology. It provides a framework for the
growth of the computer industry.
First Generation Computers:
• Vaccum tubes were used as the principle of electronic component.
• Memory access time was expressed in mile second.
• Punch cards were used as secondary storage to store data and input the computer.
• Computer languages were consisting on machine language.
• Computer operating systems were primitive and jobs were process regularly and manual
control of the computer operator.
Second Generation Computers:
• Transistors were used.
• Memory access time was expressed in micro time.
• Magnetic tape was the dominant form of secondary storage.
• High level language such as COBAL was used.
• Batch operating systems were used that permitted rapid process magnetic tape.
Third Generation Computers:
• Transistors were replaced with integrated circuit.
• Memory Access Time came in Nano Second.
• Magnetic storage disk came as secondary storage devices.
• Structured languages were used in computer.
• Interactive operating systems were used.
Fourth Generation Computers:
• Fourth generation computers used ICs.
• Memory Access time came in nana second.
• A variety of storage device were being introduced for that program and data.
• New user’s oriented and application oriented languages were introduced.
• Virtual operating system were in used that pursuit many users of the computer to share it.
Q9: Modern computers are based on stored program concept. Who introduces the concept?
Discuss his/her contribution in the history of computers.
Ans: Fascinated by the success of ENIAC, the mathematician John Von Neumann in 1945
undertook a study of computation that showed that a computer should have a very simple, fixed
physical structure, and yet be able to perform any kind of computation without the need for any
physical.
Q11: What is the difference between low level and high level language?
Ans:
• Low Level Languages:
Low level languages provide the programmer with a high degree of control, but they require a
detailed knowledge of the hardware to be used. They are really only required for advanced
programming needs.
• High Level Languages:
High level languages are close to human languages and far from the machine language. These
are machine independent languages which are also known as third generation languages. These
languages consist of English words, basic mathematical symbols and a few punctuation
characters.
Q12: Discuss some negative aspects of the use of Internet in our society?
Ans: Following are some negative aspects of the internet in our society:
• Privacy issues.
• Kids use internet for chatting and waste their precious time.
• Internet is not regulated by the authorities.
• Credibility of information.
• Social Isolation.
• No check on the volgure sites.
2
Q1: Encircle one choice A, B, C or D in each case.
1. Which of the following devices in not inside the system unit?
(a) Random Access Memory (RAM) (b) Monitor
(c) The Hard Disk (d) the modem
2. Which of the following is a part of computer?
(a) Central Processing Unit (b) Memory
(c) Input / Output Units (d) All of the above
3. The arithmetic/logic unit can perform
(a) Addition (b) Subtraction
(c) Multiplication (d) All of the above
4. Which of the following is not a type of bus in computer?
(a) Data Bus (b) Address Bus
(c) Power Bus (d) Control Bus
5. The system bus is used to connect the following units.
(a) Central Processing Unit (b) Main memory (RAM, ROM)
(c) Input / Output Devices (d) All of the Above
Q4: What is a System Bus? Differentiate between Data bus, Address bus and Control bus?
Ans: The devices are connected together by a communications channel called a bus. A bus is
composed of a set communications lines or wires.
Data Bus: A data bus carries data. It is an electrically path that connects the central
processing unit (CPU), memory, input / output devices and secondary storage devices.
Address Bus: An address bus carries address information. It is a set of wires similar to the
data bus but it only connects central processing unit (CPU) and memory.
Control Bus: The control bus carries control information from the control unit of the other
units. The control information is used for directing the activities of all units.
Q6: Write a note on Main memory and Secondary memory? Also give examples.
Ans:
Main Memory Secondary Memory
1 Accessible directly by the processing unit. Additional memory is required in all the
computer systems.
2 It is more expensive than secondary It is not expensive
3 Its size is less than secondary memory It is large size
4 Example: Motherboard Example: Floppy disk, Magnetic disk
3
Q1: Encircle one choice A, B, C or D in each case.
1. Which of the following is not an input device?
(a) Magnetic tape units (b) Mouse
(c) Monitor (d) Keyboard
2. The keys on computer keyboards are often classified as follows:
(a) Alphanumeric keys (b) Function keys
(c) Numeric keys (d) All of the above
3. Which printer uses laser beams to burn special ink called toner on the page to create a
permanent character?
(a) dot matrix (b) Plotter
(c) daisy wheel (d) Laser
4. Flat panel displays are usually used in
(a) Supercomputer (b) Personal computer
(c) Portable computer/Laptops (d) All of the above
5. Hard disk is a disk that stores data.
(a) Optical (b) Magnetic
(c) Random Access (d) Read Only
Q3: What is a Keyboard? Name the different key categories on the keyboard.
Ans: “Keyboard is the standard input device used to enter textual data into the computer”. The
keys on computer keyboards are classified as follows:
• Alphanumeric keys
• Numeric keys
• Function keys
• Cursor control keys
Q4: Name five important keys on a keyboard along with their functions?
Ans: The keys on computer keyboards are often classified as follows:
➢ Alphanumeric Keys : Alphabets and Numbers
➢ Numeric Keys : Numbers and Mathematical Operators.
➢ Function Keys : Keys for special functions (F1, F2, F3, ….. )
➢ Cursor Control Keys : Keys that move the cursor (Up, Down, Left, Right)
Q8: Define:
(a) Flat Panel Display
Ans: Flat Panel Monitors are usually used in portable computers and laptops because their small
size. They are expensive to manufacture and don’t provide the high quality and bright colors that
CRT technology provides.
(b) Liquid Panel Display
Ans: An LED display is a flat panel display, which uses an array of light-emitting diodes as pixels
for a video display.
Q11: What is the difference between Soft copy and Hard copy?
Ans:
Soft Copy Hard Copy
1 A soft copy is an electronic copy of some Hard copy is a permanent copy, in the form of
type of data, such as file viewed on a physical object.
computer’s display.
2 They are temporary in nature They are permanent in nature
3 Example: Monitors, Printer Example: Like Print out on the paper
4
Q1: Encircle one choice A, B, C or D in each case.
1. Tape storage is
(a)Slower than the hard disk (b)Faster than hard disk
(c)Direct access device (d)All above
2.1 KB is equal to
(a)1000 bytes (b)210 bytes
(c)220 bytes (d)230 bytes
3.Cache memory is
(a)Faster than the main memory (b)Slower than the main memory
(c)Smaller than the main memory (d)Only ( 1) and (2)
4.Impact printers
(a)Touch the surface of the paper during printing process
(b)Don’t touch the surface of the paper during printing process
(c)Faster than non impact printers (d)All of the above
5.Static RAM
(a)Contents are required to be refreshed periodically
(b)Contents are not required to be refreshed periodically
(c)Is faster than DRAM (d)0nly (1) and (2)
Q2: Describe in detail the purpose and working of the main memory
Ans: A computer executes a program in its main memory, which is another very important
component of the stored program computer. A computer cannot work without having some kind
of main memory in it. Mostly the modern computer memory is built in the form of a chip of a
semi conductor material. It is built in the form of thousand or even millions of cells each capable
of storing a bit i.e: 0 and 1. These cells are logically organized into group 8 bits called a byte.
7 6 5 4 3 2 1 0
Q3: Describe in detail the purpose and working of the following Secondary storage devices
a. Floppy disk
b. Hard Disk
Ans: (a) Purpose and Working of Floppy Disk: Floppy disks are mostly used for transferring data
between computer systems and for casual backup of data. They have low capacity, and are very
slow in speed as compared to the hard disks. Floppy disks come in size 3.5 inches, 5.25 inches in
diameter. These disks are not fixed inside the system unit. These disks are interchangeable.
These disks are less expensive than hard disks.
Q4: Describe in detail the purpose and working of the following backing storage devices
a. Compact Disks
b. Magnetic Tape
Ans: (a) Purpose and Working of Compact disks: One of the most prominent optical storage
systems is the Compact Disk (CD), which is compatible with those in the music industry except
that computer CD players spin the CD faster than the original CD’s used in the music industry to
obtain higher data transfer rates.
(b) Purpose and Working of Magnetic Tape: This is an old form of mass storage device that uses
magnetic tape. In a magnetic tape information is recorded on the magnetic coating of a plastic
tape. To access the data, this tape is mounted in a device called a tape drive that can read, write
and rewind the tape.
Q5:Explain, using a labeled diagram, the concepts of track and sector when describing
magnetic disk storage
Ans: Microcomputers magnetic disks use sector organization to store and retrieve data. In sector
organization, the recording surface is divided into pie-shaped sectors. The number of sectors
depends on the density of the disk. The surface of the diskette is logically divided into sectors.
Each sector is assigned a unique number.
Q6:Explain the purpose of the following and draw a diagram showing their relationship
a. Cache memory
b. Hard disk
c.Magnetic Tape
Ans: Cache Memory: Cache memory is a special type memory, used by the computer designers
to increase the performance of the computer. Like RAM, Cache memory is a high speed holding
area for program instructions and data.
Hard Disk: Hard disks or fixed disks, also called Winchester. They are permanently installed or
fixed within the system unit. All fixed disks rigid are usually made of aluminum with a surface
coating of easily magnetized elements, such as iron, cobalt. A fixed disk or hard disk is a high
speed, large capacity disk. Data are stored on all recording surfaces.
Q9: A 9th class student has a home computer system. What storage devices, the student will
use on the home computer system. Explain why these devices are needed
Ans: At home, a student will use one floppy disk drive, one hard disk and a compact disk drive.
Because hard disk is needed in every computer to run operating system and for storing of
programs and data, so it is compulsory.
5
Q1: Encircle one choice A, B, C or D in each case.
1. The hexadecimal number 10(16) is equal to
(a)10(10) (b) 100(10)
(c)16(10) (d)All of above
2.The hexadecimal number 100(16)is equal to
(a) 0001 0000 0000(2) (b)256(10)
(c) 400(8) (d)All of above
,
3.2 s complement of 0101010(2) is
(a)1010110 (b)1010101
(c)0000011 (d) None of above
,
4.1 s complement of a negative binary number can be calculated by
(a)Reversing the bits in the number (b)Reversing the bits in number and adding one
(c)Can not be calculated (d)Both (a) and (b)
5.(011)4752105 is
(a)Numeric data (b) Alphanumeric data
(c)Alphabetic data (d) Both (b) and (c)
Q5: Explain the 1,s complement method of representing signed numbers. How can you
perform subtraction using this method?
Ans: 1’s complement of a binary numbers can be obtained by replacing 0’s by 1’s and 1’s by 0’s.
Q6: Explain the 2,s complement method of representing signed numbers. How can you
perform subtraction using this method?
Ans: 2’s complement of a binary numbers can be obtained by adding 1 in the 1’s complement of
that binary number.
Q7: Convert the following decimal numbers into binary, octal and hexadecimal
a.78
Ans: 2 78
2 39-0 (78)10= (1001110)2
2 19-1
2 9-1
2 4-1
2 2-0
1-0
b.97
Ans: 2 97
2 48-1 (97)10= (1100001)2
2 24-0
2 12-0
2 6-0
2 3-0
2 1-1
c.129
Ans: 2 129
2 64-1
2 32-0 2 2-0 (129)10= (10000001)2
2 16-0 1-0
2 8-0
2 4-0
Q9: Convert the following octal numbers into binary, decimal and hexadecimal
a. 125(8)
Ans: 1×82+2×81+5×80 1=001
1×64+2×8+5×1 2 = 010
64+16+5 5 = 101
(85)10 (125)8 = (001010101)2
b. 57(8)
Ans: 5×81+7×80
5×8+7×1
40+7
(47)10
c. 777(8)
Ans: 7×82+7×81+7×80 7= 111
7×64+7×8+7×1 7= 111
448+56+7 7 = 111
(511)10 (777)8 = (111111111)2
Q10: Convert the following binary numbers into octal, decimal and hexadecimal
a. 01110101(2)
Ans: 0×27+1×26+1×25+1×24+0×23+1×22+0×21+1×20
0+64+32+16+0+4+0+1
(117)10
b. 10101001(2)
Ans: 1×27+0×26+1×25+0×24+1×23+0×22+0×21+1×20
128+0+32+0+8+0+0+1
(169)10
c. 00110011(2)
Ans: 0×27+0×26+1×25+1×24+0×23+0×22+1×21+1×20 000=0
0+0+32+16+0+0+2+1 110=6
(51)10 011=3
(063)8
Q14: Perform the following subtraction using 8-bits 1’s complement method. Verify your
answer by converting it into decimal. All numbers are in decimal.
a. 57-126
Ans: 2 57 (57)10= (111001)2
2 28-1
2 14-0
2 7-0
2 3-1
1-1
Q15: Perform the following subtraction using 8-bits 2’s complement method. Verify your
answer by converting it into decimal. All numbers are in decimal.
a. 127-126
Ans:
Q16: What are the smallest and largest numbers that could be represented in 8-bits?
Ans: The smallest 8-bit number is a negative number whose M.S.B is 1 while the largest 8-bit
number is a positive number whose M.S.B is 0.
Q17: What are the smallest and largest numbers that could be represented in 8-bit 1’s
complement?
Ans: Largest number is +12710, smallest number is -12710 using an 8-bit 1’s complement
representation method.
Q18: What are the smallest and largest numbers that could be represented in 8-bits 2’s
complement form?
Ans: Largest number is +12710, smallest number is -12810 using in 8-bit 2’s complement
representation method.
Q19: Represent the following numbers using fixed point representation. Use the following
format for the conversation. Also verify your results by converting your results back into
decimal.
a. 25.5
Ans: 2 25 (25)10= (11001)2
2 12-1
2 6-0
2 3-0
1-1
0+0+0+0+0+16+8+0+0+1
(25)10
And,
1×2-1+0×2-2+0×2-3+0×2-4+0×2-5+0×2-6
-5+0+0+0+0+0
So,
0000011001100000 = 25.5
Q20: Represent the following numbers using fixed point representation. Use the format given
in the previous question for the conversion. Explain if there is any trouble.
a. 1025.5
Ans: 2 1025 (1025)10= (10000000001)2
2 512-1
2 256-0
2 128-0
2 64-0
2 32-0
2 16-0
2 8-0
2 4-0
2 2-0
1-0
b. 1233.9
Ans: 2 1233 (1233)10= (10011010001)2
2 616-1
2 308-0
2 154-0
2 77-0
2 38-1
2 19-0
2 9-0
2 4-1
2 2-0
1-0
b. 2 + 2 = 4
Ans:
Character Code Character Code Character Code
2 50 2 50 4 52
+ 43 = 61
6
Q1: Encircle one choice A, B, C or D in each case.
1. k-Map is used to
(a) Evaluate a Boolean expression (b) Simplify a Boolean expression
(c) Both a and b (d) None of these
2. Demorgan’s Law states that
(a)a(a+b)=a.b + a.c (b) a+( b + c ) = ( a + b ) + c
(c) a+b=a.b (d) None of these
3. A Boolean function with four variables will have
(a)8 maxterms (b) 16 maxterms
(c)24 maxterms (d) 32 maxterms
4. The idempotent law states that for two variables x and y
(a) x+x.y = x+y and x. (x+y) =x (b)x=x
(c)x.x=x and x+x =x (d)none of these
5. The absorption law states that for two variables x and y
(a) x.x =x and y.y =y (b) x.y = y.x
(c) x+x.y = x+y and (x.y)=x (d) none of these
Q3: State and prove the De Morgan’s law for the Boolean algebra.
Ans: If x and y are two Boolean variables then
(x + y)’ = x’. y’ and (x. y)’ = x’ + y’
L.H.S (x + y)’ L.H.S (x . y)’
x’ + y’ (By duality Principle) x’ . y’ (By Duality Principle)
x’ . y’ x’ + y’
R.H.S R.H.S
Q4. If x and y are Boolean variables then prove the following identities
(a) x + y
Ans:
x y x’ y’ x’ + y’
0 0 1 1 1
0 1 1 0 1
1 0 0 1 1
1 1 0 0 0
(b) x + x.y = x
Ans:
x y x.y x + x.y
0 0 0 0
0 1 0 0
1 0 0 1
1 1 1 1
Q6:
(a) 𝒙′.y + x’.z’ + x.y’ for x=0, y=1 and z=0
Ans: First Calculate complements
x’ = 1 , y’ = 0 and z’ = 1
𝑥′.y + x’.z’ + x.y’
1.1 + 1.1 + 0.0
1 + 1 + 0 = 1 Ans
(b) (x’+y) .x + (y’+z) for x=0, y=1 and z=1
Ans: First Calculate complements
x’ = 1 , y’ = 0 and z’ = 1
(x’+y) .x + (y’+z)
1.0 + 1 = 1 Ans
Q7: Prove the following results and apply the principle of duality to obtain the dual of these
results.
7
Q1: Encircle one choice A, B, C or D in each case.
1. XCOPY
(a) Can copy subfolders as well (b) Is an external DOS command
(c) Both a and b (d) None of above
2. Windows
(a) Has a GUI (b) Is not an operating system
(c) Is a compiler (d) All of above
3. DOS
(a) Is an operating system (b) Is not an operating system
(c) Is a compiler (d) All of the above
4. Interpreter translate
(a) The assembly language program line by line (b) The source program line by line
(c) The source program as a whole (d) none of the above
5. Dir?lass.* Command
(a) Will list all files whose last four characters are less with any extension.
(b) Will list all files starting with any character and with any extension.
(c) Will list all files whose name starts with any character but last four characters are less.
6. Rmdir command
(a) Makes directory (b) Removes directory
(c) Copies file (d) none of the above
7. Prompt command
(a) Confirms deletion of file (b) Changes prompt
(c) Searches a directory (d) none of the above
8. Dir**
(a) List all files of extension .doc (b) List all files
(c) List all files of name sample (d) none of the above
Q1: Describe
(a) System Software.
Ans: System software is a collection of programs which are designed by the manufactures of
computers. System software is used to control, monitor or facilitate use of the computer. System
software helps the computer to carry out its basic tasks.
Q3: How many types of commands are available in DOS? Discuss briefly.
Ans: There are two types of DOS commands, which are as follows:
(a) Internal Command (b) External Command
(a) Internal DOS Command: DOS internal commands are stored in the command.com file. These
are loaded automatically into the memory during booting process. These include the commonly
used commands. Some of the internal DOS commands are as: CLS, DIR, DEL, DATE etc.
(b) External Command: DOS external commands are those, which need special files for their
execution. Some of the external DOS commands are as: CHKDSK, DELTREE, FORMAT, XCOPY, etc.
Q7: How do you launch the command processor under Windows XP?
Ans: In order to launch command processor under Windows XP, follow the following steps:
First click a at the start button shown on desktop of your computer.
Then choose the programs Menu by using the mouse or the keyboard.
From this menu choose the MS-DOS prompt option.
After starting command processer, you will see the screen.
To expand the DOS prompt to fill screen, press the ALT + Enter keys
You can close the command processor by entering the E XIST command.
Q10: Suppose you are working in directory C:\test directory. How would you perform the
following?
(i) Create a new directory named user.
Ans: To create a new directory named user in directory C:\testdiectory, use the following
command:
MD USER
(ii) Change directory to C: by changing to parent directory twice.
Ans: To change directory to C: by changing to parent directory twice, use the following command
C:\WORK\TEST\>CD\
(iii) Delete file named sample 3.doc under the test directory
Ans: To delete file named sample 3.doc under the test directory, use the following command
C:\TEST\>DEL Sample3.doc
(iv) Remove the test directory after deleting files sample 2.txt and sample 3.doc
Ans: To remove the test directory after deleting files sample 2.txt and sample 3.doc, use the
following commands in a sequence.
C:\TestDirectory\>DEL Sample2.TXT
C:\TestDirectory\>DEL Sample3.doc
Q14: Make test2 directory under subdirectory test directory test directory when you are under
C:\
Ans: To make a test2 directory under test directory, use the following command at the command
prompt:
MD\TEST\TEST2
8
Q1: Encircle one choice A, B, C or D in each case.
1. the gateway of accessing most of the functionality available in the
computer loaded with windows.
(a) Taskbar (b) Folders
(c) Start Button (d) Mouse
2. Control panel allows you to customize which of the following feature.
(a) Appearances (b) Themes
(c) Printers (d) All of the above
3. Computer virus is simply a
(a) A Disease (b) Hardware component
(c) Type of bacteria (d) Set of computer instructions or computer code
4. Klez is a
(a) Game name (b) Hardware component
(c) Virus Name (d) Person name
5. Good Times was a
(a) Virus (b) Antivirus
(c) Fake news about the existence of virus (d) none of the above
Q8: What are the steps for shutting down and restarting Windows?
Ans: Steps for shutting down and restarting windows are as:
Click on the start button at the bottom left corner of screen.
Click on the shutdown button.
Select an option from the pop-up menu.
Click on OK button.
The system will save necessary files to the disk and then take the requested actions.
Q11: What is control panel? Name three different options of control panels and tasks
performed them.
Ans: The control panel allows you to customize features such as “Appearances and themes” or
“Printers and other Hardware”. With the control panel, you can change the system defaults or
properties of your computer.
Option Functions
Display Used for changing background, screen saver, appearance
and settings.
Keyboard This option is used for configuring keyboard speed and
other attributes.
Mouse For setting mouse pointer and mouse speed.
Printers This option allows installation and removal of printers
from the computer.