Saturday class 6(solution)

Question paper

                                                               CLASS-6 (SATURDAY)                                                           

                                                                      GROUP-A

FM:80                                                                                                      TIME:1H 45 M

             Choose the correct answer: 10×1=10

1.What replaced vacuum tubes in the second generation of computers?

a) Integrated Circuits

b) Transistors

c) Microprocessors

d) Artificial Intelligence

2.Which of the following is an example of a first-generation computer?

a) IBM 360

b) ENIAC

c) UNIVAC

d) CRAY-X

3.Which type of computer works on physical quantities like voltage and current?

a) Digital Computer

b) Analog Computer

c) Hybrid Computer

d) Supercomputer

4.Assertion (A): Machine language is written in binary code (0s and 1s).

Reason (R): Machine language is directly understood by the computer without the need for a translator.

a) Both A and R are true, and R is the correct explanation of A.

b) Both A and R are true, but R is not the correct explanation of A.

c) A is true, but R is false.

d) A is false, but R is true.

5.What happens when you use multiple <br> tags in a row?

a) The text remains the same

b) Extra blank lines are added

c) The text becomes bold

d) The text changes color

6. How do you create a paragraph with center alignment?

a) <p align=”middle”>Text</p>

b) <p align=”center”>Text</p>

c) <p center>Text</p>

d) <paragraph align=”center”>Text</paragraph>

7.In Scratch, what is the purpose of variables?

a) To create new sprites

b) To store and change values

c) To control animations

d) To change colors

8.How do you repeat a block of code a fixed number of times?

a) Using the “forever” block

b) Using the “repeat ()” block

c) Using the “if then” block

d) Using the “broadcast” block

9.What is the function of the “forever” block?

a) Runs the script only once

b) Runs the script until stopped

c) Runs the script a fixed number of times

d) Stops all scripts

10.How do you hide a sprite in Scratch?

a) Using the delete block

b) Using the hide block

c) Using the switch costume block

d) Using the stop block

                                                       GROUP B

1. Write true or false: 5×1=5

i)High-level languages require no translators to convert code into machine language.

ii)An interpreter converts the entire high-level program into machine code at once.

iii)Supercomputers are the most powerful computers in terms of processing speed and storage capacity.

iv)The <head> tag contains the main content of the webpage.

v)The “forever” block runs the script only once.

2. Write the html code of the following page.      5

i)Page title “PLANT”.

ii)Bcakground color of the page “yellow”

iii)write-> C6H12O6

iv)Write 2 lines on plant.

v)Text color will be red, font size 6 and font type=” Algerian”

3. Answer the following questions: 15×2=30

i)What is the use of superscript and subscript tag?

ii)What is mail merge?

iii)What is the difference between microcomputers and supercomputers?

iv)What is the difference between low-level and high-level languages?

v)Define analog computer with example.

vi)Write the difference between compiler and interpreter.

vii)What is blocks in scratch?

viii)What is backdrop?

ix)What is the use of motion block?

x)Explain the difference between a main document and a data source in Mail Merge.

xi)What is assembler?

xii)Write the features of 3rd generation language.

xiii)Write the limitations of 2nd generation computer.

xiv)What is Hybrid computer? Give example.

xv)Define special purpose computer?

4. Write the full form of the following: 5X1=5

a)ENIAC b)FORTRAN c)COBOL d)UNIVAC e)BASIC

5. Write the basic code of the following programs: 5×5=25

(N should be accepted from user)

a)2+4+16+36+….N terms

b)1/2+2/3+3/4+….N terms

c)2/4+6/8+10/12+….N terms

d)2/2+3/3+4/4+5/5+….Nth terms

e)1/3+3/5+5/7+….N terms

SOLUTION

                 Group A: Multiple Choice Questions (10 × 1 = 10)

  1. What replaced vacuum tubes in the second generation of computers?
    b) Transistors
  2. Which of the following is an example of a first-generation computer?
    b) ENIAC
  3. Which type of computer works on physical quantities like voltage and current?
    b) Analog Computer
  4. Assertion (A): Machine language is written in binary code (0s and 1s).
    Reason (R): Machine language is directly understood by the computer without the need for a translator.
    a) Both A and R are true, and R is the correct explanation of A.
  5. What happens when you use multiple <br> tags in a row?
    b) Extra blank lines are added
  6. How do you create a paragraph with center alignment?
    b) <p align=”center”>Text</p>
  7. In Scratch, what is the purpose of variables?
    b) To store and change values
  8. How do you repeat a block of code a fixed number of times?
    b) Using the “repeat ()” block
  9. What is the function of the “forever” block?
    b) Runs the script until stopped
  10. How do you hide a sprite in Scratch?
    b) Using the hide block

Group B: True or False (5 × 1 = 5)

i) False (High-level languages require translators to convert code into machine language.)
ii) False (An interpreter converts code line by line, not the entire program at once.)
iii) True
iv) False (<head> tag contains metadata, not the main content.)
v) False (The “forever” block runs the script continuously until stopped.)


Group B: HTML Code (5 Marks)

<html>

<head>

    <title>PLANT</title>

</head>

<body bgcolor=”yellow”>

    <font color=”red” size=”6″ face=”Algerian”>

        C<sub>6</sub>H<sub>12</sub>O<sub>6</sub><br>

        Plants produce oxygen and absorb carbon dioxide.<br>

        They are essential for the ecosystem.

    </font>

</body>

</html>

Group B: Full Forms (5 × 1 = 5)

a) ENIAC – Electronic Numerical Integrator and Computer
b) FORTRAN – Formula Translation
c) COBOL – Common Business-Oriented Language
d) UNIVAC – Universal Automatic Computer
e) BASIC – Beginner’s All-purpose Symbolic Instruction Code

5. Write the qbasic code of the following programs: 5×5=25

a) Sum of Series: 2 + 4 + 16 + 36 + …. N terms

WRONG QUESTION.

b) Sum of Series: 1/2 + 2/3 + 3/4 + …. N terms

CLS

INPUT “Enter number of terms: “, N

S = 0

FOR I = 1 TO N

    S = S + I / (I + 1)

NEXT I

PRINT “Sum of series: “; S

END

c) Sum of Series: 2/4 + 6/8 + 10/12 + …. N terms

CLS

INPUT “Enter number of terms: “, N

S = 0

A=2

B=4

FOR I = 1 TO N

    S = S + A/B

    A=A+4

    B=B+4

NEXT I

PRINT “Sum of series: “; S

END

d) Sum of Series: 2/2 + 3/3 + 4/4 + 5/5 + …. N terms

CLS

INPUT “Enter number of terms: “, N

S = 0

A=2

FOR I = 1 TO N 

    S = S + A / A

    A = A + 1

NEXT I

PRINT “Sum of series: “; S

END

e) Sum of Series: 1/3 + 3/5 + 5/7 + …. N terms

CLS

INPUT “Enter number of terms: “, N

S = 0

FOR I = 1 TO N

    S = S + (2 * I – 1) / (2 * I + 1)

NEXT I

PRINT “Sum of series: “; S

END

Leave a Comment