Saturday, February 22, 2020

Model Set 10 - Grade IX - Computer Science

Model Set 10 - Grade IX - Computer Science


Model Question Set 10
Group A
“Fundamentals” [22 marks]
1.        Answer the following questions.               5×2=10
         a) Write down the functions of system software.
         The function of system software is that it is used for designing to operate the computer hardware, to provide basic functionality, and to provide platform for running applications software.

         b) Define software with any four examples of it.
         Software is an organized collection of programs, which is responsible for controlling and managing the hardware components of computer system to perform specific tasks. Any four examples of it are:-
         i) Operating System
         ii) Device Driver
         iii) Language Translator
         iv) Utility Software

         c) Wrie any two advantages of flowchart.
         Any two advantages of flowchart are:-
         i)  Flowcharts are better way of communicating the logic of a system to all concerned.
         ii) With the help of flowchart, problem can be analysed in more effective way.

         d) What do you know about monitor? Explain.
         Monitor is a piece of computer hardware that displays the videos and graphics information generated by a connected computer through the computers video card. Monitors are similar to TVs but usually display information at a much higher resolution.

         e) Define the term output device with any four examples of it.
         Any devices that displays information from computer is called output device. Any four examples of it are:-
         i) Monitor
         ii) Speaker
         iii) Projector
         iv) Printer

2.       a) Convert the following number.             2
            i) (740)10 = (?)16 ii) (746)8= (?)10
         b) Perform binary operation.                       2
            i) 111001 - 1010  ii) (10100)2 × (1010)2
3.       Match the following pairs:                    2
a.   HTML                  b. Direct storage access
b.  Hard disk         - Low level language
c.   C                 a. Markup language
d.  Moderm          c. High level language
                              d. Peripheral
4.       State true or false.                          2
         a) ROM is permanent memory. True
         b) Hard disk is also used a backup memory. True
         c) Pen dirve is used as secondary storage. True
         d) QBASIC is a low-level language. False
5.       Give the appropriate technical term:                2
         a) A peripheral device which does mathematical as well as logical operations. ALU
         b) A device loses the stored information in a very short time if power supply is off. RAM
6.       Give the full form:                           2
         a) IBM PC – International Business Machine Personal Computer    
b) IKBS – Intelligent Knowledge Based System
c) CMOS - Complementary Metal-Oxide Semiconductor
d) OCR – Optical Character Recognition
Group B :
DOS + Windows [5 marks]
7.       a) Mention any two reasons why windows is more popular than DOS.1
         Any two reasons why windows is more popular than DOS are:-
         i) Ease of use: All versions of Microsoft Windows have something common in it which makes users easy to shift from one version to another.
         ii) Software support: Windows platform is best suited for game and software developers.

         b) Give the meaning of ‘Drag’ and ‘Drop’ in windows OS.           1
         Drag and drop is a pointing device gesture in which the user selects a virtual object by “grabbing” it and dragging it to a different location or onto other virtual object.

         c) Is the operating system of computer and mobile same ?           1
         No, the operating system of computer and mobile is not same.

         d) Write the functions carried out by following DOS commands:  2
            a) C:\>XCOPY/TEMP\*.*\S  D:\
            It It copies all the directories and sub directories of sub directory TEMP of C drive except empty ones to D drive
            b) C:\>COPY  C:\MYFILES\*.DOC A:\DATA
            It copies all the files having DOC as extension of sub directory MYFILES of C drive to the sub directory of A Drive.
Group C :
HTML [5 marks]
8.       Answer the following questions.                     2
         a) For what purpose is IMG tag used ?
         It is used to insert image in HTML document.


         b) What is meant by email ?Explain ?
         Email is method of exchanging messages between people using electronic devices. It allows you to send and receive messages to and from anyone
         with an email address, anywhere in the world.

         c)  What is the importance of HTML ?
         HTML is essential because of its web paged application. HTML also helps to introduce beginners to the programming world. HTML has many applications and uses which makes it very important programming language in the world.
         d) State true or false.                                   2
            i) Pictures in HTML documents cannot be used as links. False
            ii) Font color can not be used with <font> tag. False
            iii) HTML is basic for markup language. True
            iv) The collection Web Page is called Web Site. True
Group D :
Programming [18 marks]
9.       Answer the following questions.                     2
         a) Give any two features of QBasic.                1
         Any two features of QBASIC are:-
         i) It is simple and easy to learn.
         ii) It has dynamic program debugging.

         b) What is operator ? Explain with example.        1
         Operators are the symbols which help us to perform various types of operation within a program. Its examples are:-
         i) Arithmetic Operator – MOD, +, *, /
         ii) Relational Operator - <, >, =
         iii) Logical Operator – AND, NOT, OR
         iv) String Operator

10.      Write an algorithm to display multiplication table of any number. 2
        
11.       a) Write the output of the program.              2
            FOR I = 1 TO 3
                  LET J = 1
            WHILE J < = 4
            LET B = I
                  PRINT B;
            LET J = J + 1
            WEND
            PRINT
            NEXT I
            END
1    1  1  1
2   2  2  2
3   3  3  3
         b) Debug the program.                             2
         CLS
         A=5
         B=1
         DO WHILE B<=5
         PRINT   A
         A=A*5
         B=B+1
         LOOP
         END
12.      Read the following program and answer the following questions:  2
            CLS
            FOR I = 1 TO N - 1
                  IF N MOD I = 0 THEN
            IF I = 1 OR I = 2 OR I = 3 THEN
                  PRINT I;
            END IF
            IF I>=4 THEN
            FOR J = 2 TO I - 1
            IF I MOD J = 9 THEN
                  GOTO X
            END I F
            NEXT J
            PRINT I;
            END IF
            END IF
            X:
            NEXT I
            END
a)  What will be output of the program if the value of N = 10.
Output:
1  2  5
b)  What is the function of MOD which is used in the program.
To return remainder.
13.      a) Write a program to enter any sentence and count total number of vowels, consonants and spaces.                   3
            CLS
INPUT "ENTER ANY STRING"; S$
VC = 0
CC = 0
WC = 0
FOR I = 1 TO LEN(S$)
B$ = MID$(S$, I, 1)
C$ = UCASE$(B$)
IF C$ = "A" OR C$ = "E" OR C$ = "I" OR C$ = "O" OR C$ = "U" THEN
VC = VC + 1
ELSEIF C$ < > "A" AND C$ < > "E" AND C$ < > "I" AND C$ < > "O" AND C$ < > "U" THEN
CC = CC + 1
ELSEIF B$ = " " THEN
WC = WC + 1
END IF
NEXT I
PRINT "TOTAL NO. OF VOWELS= "; VC
PRINT "TOTAL NO. OF CONSONANTS="; CC
PRINT "TOTAL NO. OF SPACES="; WC
END
         b) Write a program to display fibonacci series up to nth terms.  3
         CLS
         INPUT “Enter any number”; N
A=1
         B=1
         FOR I = 1 TO N
            PRINT A
            C=A+B
            A=B
            B=C
         NEXT I
         END


c) Write a program to enter any two numbers and find addition, subtraction, multiplication and division by using SELECT CASE statement.                                        2

CLS
INPUT "ENTER ANY TWO NUMBERS"; A, B
TOP:
PRINT "PRESS 1. FOR ADDITION"
PRINT "PRESS 2. FOR SUBTRACTION"
PRINT "PRESS 3. FOR MULTIPLICATION"
PRINT "PRESS 4. FOR DIVISION"
INPUT "ENTER YOUR CHOICE"; C
SELECT CASE C
    CASE 1
        PRINT "SUM OF TWO NUMBERS="; A + B
    CASE 2
        PRINT "SUBTRACTION OF TWO NUMBERS="; A - B
    CASE 3
        PRINT "PRODUCT OF TWO NUMBERS="; A * B
    CASE 4
        PRINT "DIVISION OF TWO NUMBERS="; A / B
    CASE ELSE
        PRINT "CHOOSE NO.S FROM 1 TO 4 ONLY"
END SELECT
INPUT "DO YOU WANT TO CONTINUE(Y/N)"; CH$
IF UCASE$(CH$)="Y" THEN GOTO TOP
END




End
















1 comment:

  1. As claimed by Stanford Medical, It's indeed the one and ONLY reason women in this country live 10 years more and weigh an average of 19 kilos less than we do.

    (By the way, it is not about genetics or some secret exercise and really, EVERYTHING around "how" they eat.)

    P.S, What I said is "HOW", and not "WHAT"...

    CLICK on this link to find out if this easy test can help you decipher your true weight loss potential

    ReplyDelete