0% found this document useful (0 votes)
17 views

Class VIII Comp.

fgdtfdfgdg jjklhjkgjkl

Uploaded by

Muhammad Ansari
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)
17 views

Class VIII Comp.

fgdtfdfgdg jjklhjkgjkl

Uploaded by

Muhammad Ansari
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

The Smart School

Saadi Town Campus


Formal Test II
2024-2025

Name: ___________________ Grade: VIII Sec: ____ Subject: ICT Date: _______________

Marks: [ /30] Invigilator's name: _________ Teacher’s sign: ________ Rechecked: __________

Q1:Multiple Choice Question Answers: ( /5)

1. Each if statement always accompanies_______________

A.WHILE B.WEND C.none

2. Each WHILE statement always


accompanies__________________________.

A.MS Windows B.MS Office C.none

3. In a BASIC program with 3 IF three statements , where will always


be_______________________ END IFs.

A.2 B.3 C.4

4. The output to LEN (“ABCDef”) will be ______________________

A.4 B.5 C.6

5. The output of ASC (“C”) will be_______________

A.66 B.67 C.68


Q2: State true or false for the following statements. ( /5)

1.The MID $ function can be used to extract substring from a string .


_________

2. The output of the LEN () function is a string. __________

3.LEN () and LEN (UCASE $ ()) Will always give the same numeric
value for the same input in both. ___________

4. The program below will give 20 as output. _______

PRINT 4 + SQR (4)

5. BASIC Is a programming language__________

Q3: Fill in the blanks: ( /5)

1.If x is positive will x , x2 , x3 necessarily be in the increasing order


_________ (yes or no )

2.The code below will print_________________ numbers.

FOR I = 3 TO 30 STEP 3
PRINT I
NEXT I

3.How many numbers will the code below print?__________________


FLAG = 0
WHILE FLAG = 0
FLAG = 0
PRINT = “123”
PRINT = “456”
WEND

4.What does the following code print? _____________.


IF A > B THEN
PRINT B
ELSE
PRINT A
END IF

5.How many numbers will the code below print?_______________

COUNT = 0
WHILE COUNT < 5
PRINT COUNT * 3
COUNT = COUNT + 2
WEND

Q4: Tell me about the following “ Things That You Should


Know”: ( /3)

1. FOR , NEXT and WHILE are : ____________________________

2. BASIC Is a programming language : _______________________

3. It is possible to store the output of the


string:_______________________________________

Q5: Answer the following questions: ( / 08 )


a.What is “BASIC“ ?
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________

b. Describe control statement.


_________________________________________________________
_________________________________________________________
_________________________________________________________
c. What are conditional statements?
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
d. What are Fibonacci numbers?
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________

Q6 : Write the terms of the following: ( /4)

1. Array = ________________________________

2. Absolute value= ________________________________

3. Suffix = ________________________________

4. Concatenate = ________________________________

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy