Computer Question and Answers

by • 03/07/2012 • New Pattern Computer NotesComments (0)1209

Q#l: Define computer?

A    : A computer is an electronic device capable of Accepting data, applying prescribed process to Data and providing result of these processes.


Q#2: What is another name for Micro Computer?

A    : personal computer.


Q#3: Write down the names of first digital computer?

A   : The first digital computer was MARK 1.


Q#4: When and who was the inventor of first compute?     OR when was Mark S built?

A    : Mark 1 was built in 1944 by M.H.A. Newton.


Q#5: What is another name for Main Frame computer?

A    : Macro Computer.


Q#6: Write down the example of Hybrid Computer?

A    : Electronic weight balance, Electronic thermometer, Electronic Patrol Pump unit etc


Q#7: What is difference b/w hardware and software?

A    : The physical components of computer are called “Hardware”. Computer programs a set of instruction called “Software”.


Q#8: How many types of software are there?

A   : There are two types of software.

i)        System software

ii)      ii) Application software.


Q#9: Write down the elements of EDP?

A    :

i)        Hardware

ii)      Software

iii)    Live ware

iv)    Firmware


Q#10: Define hardware components of computer?

A      : There are three hardware components of a micro computer.

i)                    Keyboard (input)

ii)                  CPU (process)

iii)                Monitor (output)


Q#11: How many steps of data processing cycle are there? Write their names.

A     : There are three steps of data processing cycle.

i) Input       ii) process     iii) output


Q#12: What is CPU?

A      : The main unit of computing system is called Central Processing Unit (CPU).


Q#13:  What is ALU?

A      : ALU is the part of CPU where Addition, Subtraction Multiplication, division and logical operations are performed.


Q# 14: What is Memory?

A      : Memory is a physical part of computer and used to hold Data.


Q# 15: What is the main function of control unit?

A:         The main function of control unit is to control overall Operations of computer and to provide a co-ordination between all peripheral devices


Q#16: Write differences among REM, ROM, RAM.

A:         REM: REMarks. A statement of BASIC language

RAM: Random Access Memory. Temporary Memory

ROM: Read Only Memory. Permanent memory


Q#17: Write down the steps involved to write a program?

A      : i) Analysis of problem  ii) algorithm

iii) Flow chart  iv) coding     v) debugging

vi) Testing       vii) final output    viii) documentation


Q#18: What is algorithm?

A      : Program written step by step with details, in any human Language is called algorithm.


Q#19: What is coding procedure?

A     : To convert an algorithm into any computer language is Called coding.


Q#20: What is debugging?

A      : to remove error from a program is called debugging.


Q#21: What is “cursor”?

A    : A blinking underscore seen on computer screen is Called “cursor”.


Q#22: What are peripheral devices?

A     : The devices attached with computer are called Peripheral devices.

FOR EXAMPLE: Keyboard, disk drive, monitor, printer etc.


Q#23: Write some examples of devices with media?


i) Disk drives   floppy disk

ii) Printer         paper

iii) Tape drives            magnetic tape

iv) Card reader            punched card


Q#24: What is documentation?

A     : Detailed explanation about program is called “Documentation”.


Q#25: Give some examples of input and output devices?


i) Keyboard     i) monitor

ii) Mouse         ii) printer

iii) Light pen   iii) plotter

iv) Joystick       iv) sound blaster

v) Trackball     v) video blaster

vi) Scanner v   vi) microfilm

vii) MICR

viii) OCR


Q#26: What are input and output devices?

A     : Input are used to enter data into computer, while Output devices are used to get result or output From computer.


Q#27: What are disk? Input and output devices?

A      : Since they perform both input and output functions, Therefore these are called I/O devices.


Q#28: How many sizes of floppy diskette are there?

A      : There are three sizes of floppy diskette:

i) 3 Vi   ii) 5 Vi      iii) 8


Q#29: What are the capacities of 3 Vi “and 5 V*n disk?


i)        3 ½      720 KB 1.44 MB

ii)      5 ¼      360 KB 1.2 MB


Q#31: How can you write protect a 3 Vi disk?

A      : The 3 Vi disk have built -in write protect tabs. This

Disk can be write protected by sliding the tab toward

The edge of disk.


Q#33: What is a byte?

A     : A byte is the smallest addressable unit of memory. Capable to hold one character.


Q#34: How many bits occupied by a character?

A : 8 bits.


Q#35: How many bytes are equal to 8 bits?

A     : 1 byte.


Q#36: Change the following into characters?

A     : 1 byte = 8 bits   or 1 character.

1 KB = 1024 bytes       or 1024 characters.

1 MB – 1024 KB           or 1048576 characters.


Q#37: What is data?

A      : Data is the collection of facts and figures.


Q#38: What is Information?

A     : Processed data is called Information.


Q#39: How many types of data are there?

A      : There are two types of data.

i)          numeric ii)string(alphanumeric)


Q#40: What are the types of printers?

A     : Three types of printing devices are available.

a)  non-impact printer b) impact printer

b) Plotter


Q#41: Explain operating system?

A :   A group of programs which are used to control And supervise computer is called operating System.


Q#42: How many types of commands are used in DOS?

OR what are the types of DOS commands?

A     : two types of commands are used in DOS.

i) Internal commands ii) external commands


Q#43: Distinguish between internal & external Commands?

A      : MS-DOS loads internal commands into memory

When we start computer. These commands are Part of a file called COMMAND.COM while External commands are stored on disk. These are Transferred from disk to memory when required Or executed.


Q#44: Write six internal and six external commands?

A      : Internal commands      External commands

i) CLS   i) CHKDSK

ii) DIR  ii) FORMAT

iii) VER            iii) LABEL


v) TIME            v) DISKCOPY



Q#45: What is DOS prompt?

A      : A>, B>, C> are called DOS default prompts.


Q#46: How we can we change the default DOS prompt?

A     : By using PROMPT COMMAND.


Q#47: Is there any difference BAY RENAME & REN Commands of DOS?

A     : No, both are the same.


Q#48: What are the differences among COPY, DISKCOPY & XCOPY?

A    : COPY is used to copy a file or groups of files, XCOPY Is used to copy a file or group of files. It may includes Sub directories.DISKCOPY is used to make a duplicate Disk.


Q#49: Write a command to display all the files in page wise Format available on drive A?

A      :DIRA:/PorDIR/P.


Q#50: Write a command for drive B to check errors on disk?




Q#51: Write a command to copy all files from drive C?

A      : COPY A:/* * C or COPY* * A:


Q#52: change the default prompt as follows;

Yes Master> A    : PROMPT Yes Master SG.


Q#53: Change the “BAS” extension of all files to “PRG” For current drive?

A     : REN * .BAS * .PRG


Q#54: What is a flow chart?

A      : A Flow chart is a pictorial of graphical representation Of any program


Q#55: What types of the Chart?

A      : a) System flow chart

b) Program flow chart

c) Macro flow chart

d) Micro flow chart.


Q#56: Who invented BASIC language?

A     : Dr. John G.Kemeny & Dr.Thomas E.Kurtz.


Q#57: What does the acronym BASIC stands for?

OR write down the full name of BASIC?

A     : Beginner’s All-purpose Symbolic Instruction Code.


Q#58: BASIC is a high level language or low level language?

A     : It is a high level language.


Q#59: In how many modes we can operate BASIC ? OR How many modes of operation are available in BASIC Interpreter environment ?

A      Two Modes of operation are available in BASIC language

1)         Direct mode (without line number)

2)         Indirect mode (with line number)


Q#60: What are the functions of direct and indirect modes?

A      : In direct mode statement and commands are executed as they are entered followed by <ENTER> KEY Indirect mode is used to enter program lines, this Program can be executed by issuing RUN command


Q#61: Write the range of line number in BASIC.

A      : 0 to 65529 while some version of BASIC has a range from 0 to 65535.

Q#62: What are the difference between compiler and interpreter ?

A      :Compiler is a program which converter entire source Program into object program while interpreter is a program Which translate the high-level language instruction into Machine language one by one.


Q#63: GWBASIC uses interpreter or compiler?

A      : It uses interpreter, while some other BASIC compiler are Available e.g. turbo BASIC, quick BASIC etc.


Q#64: Why does a syntax error occur during execution of program ?

A     : Due to any mistake in spelling of reserved word or in system Of that statement, command of function.


Q#65: Write the names of some famous language ?

A      :1) BASIC     2) COBOL      3) FORTRAN

4) C        .     5) ASSEMBLY    6) PASCAL 7) LOGO


Q#66: How can you define a variable ?

A      : A location of memory which can store different values during program execution.


Q#67: How many types of variable are there ?

A     : There are two types of variable. 1) Numeric     2) String


Q#68: What will be type of variable, If last character of variable Name is “$” ?

A     : $ sign represent string variable.


Q#69: What will be the type of variable, if last charaaer of variable Name is “S”?

A      : “%” represent integer numeric variable.


Q#70: What is the difference between variable and constant ?

A      : A variable can store different values during program

Execution but constant is an actual values and is not

Changed during program execution.


Q#71: What is the maximum length of a string variable ?

A      : 255 character.

Q#72: What is the difference between usage of semicolon”,” and comma”,” in input statement and print statement ?

A      : In INPUT statement semicolon”,” or comma”,” used Before variable. Semicolon display a question mark “?” While comma u,” suppress question mark. In PRINT statement comma moves cursor to next print Zone while semicolon suppress spaces and starts printing from next available location.


Q#73: What are the difference among the following ?

1)DEL    2) DELETE    3) KILL

4) NEW    5) ERASE A       :DELand ERASE both are DOS commands while the remaining are BASIC commands.

DEL ERASE and KILL are used to erase a file from disk.

NEW is used to erase a program from memojy while

DELETE is used to erase program’s lines from memory.


Q#74: what is the difference between CLS and NEW?

A      CLS is used to clear entire screen. New is used to erase program


Q#75: What is the deference between IF… .THEN and FOR…NEXT?

A     :IF… .then in a conditional statement while FOR… Next is unconditional repeated loop.


Q#76:what are packages?

A     [packages are ready/made soft wares.


Q#77: write the names of some package?

A     : 1) word star       2)Lotus 123 3)print shop        4) fantasy 5)MS-Word       6) MS-Office



Q#78: Write down common logical operation which are used in BASIC language?



Q#79: Write dwon common relational operators which are used in BACIC language?

A       = <>>,<=>=


Q#80: write down the examples of non-executable statement of BASIC?



Q#81 :D0 you know the alternate of REM?

A       :YES, ‘apostrophe


Q82# Can we change the number of columns of text screen?

A    YES , we can change number of coloumns from 80 to 40 and 40 to 80 by using WIDTH command


Q#82: CSf BASIC, how many screens are available?

A       There are three screens in BASIC language

Text screen      SCREEN 0

Medium resolution graphics screen   SCREEN 1

High resolution graphics screen        SCREEN 2


Q#83: What is the BASIC unit (smallest piece) of screen?

A          A pixel


Q#84: What we can do, if both <ENTER> keys of keyboard are out of order? or suppose that the keys named RETURNE or ENTER are not working properly Is there any alternate key or keys to perform the same action?

A        Hold down <ALT> key and then press 1 and 3 on numeric keypad then release <ALT> key.This is the alternate of <ENTER> key.


Q#85: What is the difference between PRINT and LPRINT ?

A        PRINT is used to display data on monitor while LPRINT is used to write data on printer.


Q#87: What is represented by “L” in LPRINT?

A        L shows the “LINE PRINTER”


Q#88: Which command generates the line number automatically?

A          AUTO command


Q#89: How can you cancel AUTO command?

A          Hold down <CTRL> key and press c or <BREAK> key.


Q#90: What is the difference between forward slash (/) and backward slash (\) if used as an arithematic operator?

A        Forward slash (\) is used for complete division.Backward slash (/) is used for integer division.


Q#91: What is the difference between soft copy and hard copy?

A        Softcopy is a temporary copy of information / result, displayed on monitor. Hardcopy is the permanent copy of information / result, printed on paper through printer.


Q#92: which variables are correct?

A      A$=50 ii A=50 iii AS=ABC iv A=abc

A   ii and iii


Q#93 Define loop?

A       A group of instruction which is executed repeteadly until a teminal condition occurs


Q #94 Write some graphics statements of basic languages?



Q#95: how can you perminently exit from BASIC to DOS?

A    by using SYSTEM COM AND


Q#96: What is the command to delete files from disk (GWBASIC )?

A       : KILL command is used to delete file from. disk.


Q#97: Write the optional system of BASIC which maybe omitted from program?

A      : LET, END (If required on last line of program), GOTO (if used with IF..,.THEN….ELSE)


Q#98: How can you rename a file on disk in GWBASIC?

A     : By using NAME command.


Q#99: Write down the alternate methods to type print statement?

A    1) Type PRINT

Hold down <ALT> key and press P.

Type question mark ?


Q#100: How can you restart computer with the help of a keyboard or what is the cold boot?

A          Hold down <CTRL> + <ALT> + <DEL> keys at the same time and it is called cold boot.


Q#101: Write the other names of monitor?



Q#102: Write down the difference between TAB and LOCATE?

A          TAB is a library function used to move cursor on any specified column number on pnnter and screen in ascending order, LOCATE is a statement used to move cursor on any specified row and column number on screen.


Q#103: How can we rearrange line number of a program in desired sequence?

A          By using RENUM command.


Q#104: Arrange the line numbers of current programs in following sequence : 1000, 2000, 3000, 4000?

A      RENUM 1000,1000

Q#105: Why do we use <CTRL> + C OR <CTRL> + <BREAK>?

A          It is used to terminate execution of program at any stage.


Q#106: What is the purpose of <CTRL> + F or <CTRL> + B?

A          It is used to jump on a next word.


Q#107: What is an ASCII Table?

A          ASCII is abbrevated from American Standard Code For Information is in the form of table which includes 256 different characters and each character has a unique code.These codes are from 0 to 255.


Q# 108: What are natural numbers?

A          1,2,3,4,5           are called natural numbers.


Q#109: Define ascending and descending sequence?

A        Arrangement of data in increment order is called ascending. Arrangement of data in decrement order is called descending sequence.


Q# 110: Write down a general formula to obtain average of any number?

A          Average = Sum of numbers

Total numbers OR Average= Xl+X2+X3+X4+Xn


Q# 111: Convert the formula of centigrade and Fahrenheit into BASIC expression..

A       C= 5/9*(F-32)    C=5/9(F-32)

F=(9/3*C)+32  F=9/5(C+32)


Q#112:PRINT MID $ ( “PAKISTAN” ,1,3 )?




A        3


Q#-114: Print STRINGS (50,”,”)

A          ____^_ (50 dashes)      ,


Q#115: Print CHR$(65)

A          A



A          0


Q#117: To print a blank line

A          Print


Q# 118: To ignore a line

A          or REM


Q# 119: To count the length of any string variable

A          Print LEN(A$)  ‘


Q#120: To see the list of function keys



Q#121: To draw a circle of radius 50 at the center of screen in medium resolution

A          CIRCLE(320,100), 50


Q#122: What is the geometrical name of

A          Parallelogram


Q#123: What is the output of the following program? 10 ?UMAS”20FOR A-1 TO 10 STEP 2 30 NEXT A 40 END

A          Output     MAS


Q#124: Programme

05   Fora=l to 10 10  Print “MAS” 20   CLS 30    NEXT A

A Output Nothing

Pin It

Leave a Reply