Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
33 views4 pages

Class 9 Paper Answer

The document contains model questions and solved examples for Class IX, covering topics such as flowcharts, programming tasks in QBASIC, and computer fundamentals. It includes exercises on calculating simple interest, counting characters in a word, sorting numbers, and finding the highest number. Additionally, it features questions on computer basics, operating systems, and binary calculations.

Uploaded by

basnetmraj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views4 pages

Class 9 Paper Answer

The document contains model questions and solved examples for Class IX, covering topics such as flowcharts, programming tasks in QBASIC, and computer fundamentals. It includes exercises on calculating simple interest, counting characters in a word, sorting numbers, and finding the highest number. Additionally, it features questions on computer basics, operating systems, and binary calculations.

Uploaded by

basnetmraj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Class IX: 10 Sets Model Questions - Solved

1. Draw a flowchart to calculate the simple interest.

A flowchart consists of:

 Start
 Input P, R, T
 Calculate SI = (P × R × T) / 100
 Print SI
 End

2. Write down the output of the following program


CLS
A = 2
B = 1
PRINT A;
PRINT B;
C = 3
WHILE C <= 10
Z = A + B
PRINT Z;
S = S + Z
A = B
B = Z
C = C + 1
WEND
END

Output:

2 1 3 4 7 11 18 29 47 76

Explanation:

 It prints a sequence similar to Fibonacci, starting from 2, 1.


 The loop runs from C = 3 to C = 10, generating new values.

Programming Tasks
3. Program to Input a Word and Count Total Number of Alphabet ‘A’
(QBASIC)
CLS
INPUT "Enter a word: ", word$
count = 0

FOR i = 1 TO LEN(word$)
IF MID$(UCASE$(word$), i, 1) = "A" THEN
count = count + 1
END IF
NEXT i
PRINT "Total number of 'A': "; count
END
4. Program to Sort Numbers in Ascending Order (QBASIC)
CLS
DIM numbers(10)
INPUT "Enter the number of elements: ", n

FOR i = 1 TO n
INPUT "Enter number "; numbers(i)
NEXT i

FOR i = 1 TO n - 1
FOR j = 1 TO n - i
IF numbers(j) > numbers(j + 1) THEN
temp = numbers(j)
numbers(j) = numbers(j + 1)
numbers(j + 1) = temp
END IF
NEXT j
NEXT i

PRINT "Sorted numbers: ";


FOR i = 1 TO n
PRINT numbers(i);
NEXT i
END
5. Program to Input Three Numbers and Find the Highest using Array
(QBASIC)
CLS
DIM num(3)
FOR i = 1 TO 3
INPUT "Enter number "; num(i)
NEXT i

highest = num(1)
FOR i = 2 TO 3
IF num(i) > highest THEN
highest = num(i)
END IF
NEXT i

PRINT "The highest number is: "; highest


END

MODEL QUESTIONS SET 2


Group A: "Computer Fundamentals" [20 Marks]

1. Features of First-Generation Computers:


o Used vacuum tubes
o Large and expensive
o Consumed a lot of electricity
o Low processing speed
o Used machine language
2. Define CPU. What are its main sections?
o CPU (Central Processing Unit): The brain of the computer,
executes instructions.
o Main Sections:
 ALU (Arithmetic Logic Unit): Performs arithmetic and
logical operations.
 CU (Control Unit): Controls execution of instructions.
 Registers: Stores temporary data.

3. Why is a printer called a hardcopy output?


o A printer is a hardcopy output device because it produces a
permanent physical copy of digital data on paper.

4. Precautions to Save a Floppy Disk:


o Keep away from magnets.
o Avoid bending or folding.
o Store in a cool, dry place.
o Do not remove while in use.

5. Fill in the Blanks:


o Pascaline was invented by Blaise Pascal.
o Main memory component of third-generation computers was
IC (Integrated Circuit).
o Output device is any hardware that sends data from the
computer to the outside world.
o Hard disk is a popular storage device.

6. Write the Full Forms:


o RAM: Random Access Memory
o ROM-BIOS: Read-Only Memory - Basic Input Output System
o LCD: Liquid Crystal Display
o UNIVAC: Universal Automatic Computer

7. Match the Following:


o Networking card → Provides a path for data traveling
o Analog to digital and vice versa → ADC/DAC Converter
o Carries data out to the speakers → Sound card
o Wide area network → WAN (Wide Area Network)

8. Define the Following Terms:


o Hybrid Computer: Combination of analog and digital
computer.
o Laptop: A small portable computer running on a battery or
adapter.
o Operating System: A program that allows software to
interact with hardware.
o Read-Only Memory (ROM): Memory that cannot be
changed easily.
9. Conversions:
o (11006)₈ to Octal → Convert octal directly.
o (514)₈ to Binary → Convert to binary.

10. Binary Calculations:

 (10111)₂ + (111)₂ = (11110)₂


 (110)₂ = (6)₁₀
 (101101)₂ × (110)₂ = (10001110)₂

Group B: "Operating System" [5 Marks]

1. What are Wild Card Characters?


o Wildcard characters represent multiple characters in filenames
or searches.
o * (represents multiple characters), ? (represents a single
character).

2. Function of DOS Commands:


o DIR /AH: Displays all hidden files in the directory.
o D:\> COPYUCON\UJJWAL: Copies the file UJJWAL from the
COPYUCON directory.

3. What is Windows XP?


o An operating system by Microsoft, released in 2001, known for
a stable user interface.

4. Four Elements of Windows:


o Desktop
o Taskbar
o Start Menu
o Control Panel

You might also like