0% found this document useful (0 votes)
47 views3 pages

Grade 5 Computer Exam 2023-2024

Uploaded by

khadija
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)
47 views3 pages

Grade 5 Computer Exam 2023-2024

Uploaded by

khadija
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

Final Examination 2023-2024

Name: ___________ Class: 5

Subject: ___Computer___ Date: _____________

Total Marks 45 Teacher’s Re checker’s


Questions 1 2 3 4 5 sign sign
Khadija
Obt. Marks

Objective Part

Q1: Choose the correct answer.

1: What is a variable in programming? 8

a) A fixed value that cannot be changed b) A reserved memory location to store


data

c) An instruction to the computer d) A function used for mathematical


calculations

2: In programming, a variable name must begin with:

a) A letter b) A number

c) An underscore (_) d) Either a letter or an underscore


3: Which of the following is NOT a valid variable name in most programming
languages?

a) my_variable b) 123_variable

c) _variable d) variable123

4: Which keyboard shortcut is typically used to paste copied content?

a) Ctrl + X b) Ctrl + C

c) Ctrl + V d) Ctrl + P

5: What keyboard command is commonly used to copy selected text or


objects?

a) Ctrl + X b) Ctrl + C

c) Ctrl + V d) Ctrl + P

Subjective Part

Q2: Find the errors in this code. 10

123 = “Name”;

1Name = “Ali”

2Name = “Ahmed’’

Name3 = “Alina”

Wai8t = 10;

Q3: Find the errors in this code. 9

Name = “Ali”
Fruit = “Banana”

A= A+B

F4name = “Khan”

Q4: What is a Variable and how many variables are there in the code
below? 6

Name = “Ali”
If I in range(10):

Q5:
(A) What are the final values of the variables in the program? 10

A=6
A=7
B=2
M = A+B
A = M*B
B = A*M

(B) Write any two characteristics of a Computer.

Final Examination 2023-2024
    Name:     ___________               Class:  5
  Subject:  ___Computer__
3: Which of the following is NOT a valid variable name in most programming 
languages?
 a) my_variable
Fruit = “Banana”
    A= A+B
   F4name = “Khan”
Q4: What is a Variable and how many variables are there in the code

You might also like