PRECIOUS KIDS COMPREHENSIVE SCHOOLS
# 8 CHRIST LANE, OFF OGBODO ROAD,
NEAR SECOND PIPELINE, RUKPOKWU PH
THIRD TERM EXAMINATION 2024/2025 ACADEMIC SESSION.
NAME: ………………………………………………… CLASS: JSS 2
SUBJECT: CODING DATE:
………………
1. ________ is a collection of related records/data
a) Information
b) Array
c) File
d) Folder
2. One of the following is an example of a proper python IDE
a) Notepad
b) MS Word
c) Pycharm
d) All of the above
3. _______ is easily change and helps store values for further use
a) Python
b) Variable
c) Value
d) Storage unit
4. For each programming language there’s an INTERPRETER?
a) TRUE
b) FALSE
5. A Project Folder contains helpful folders to make program execution(to run) easier
when created in Pycharm
a) TRUE
b) FALSE
6. The different forms(what the file contains) of a FILE can be shown by the
_________
a) File Name
b) The Logo
c) The Extension
d) The Body
7. A python file created in PYCHARM can’t work on other IDEs
a) TRUE
b) FALSE
8. An Extension is something that extends the file
a) TRUE
b) FALSE
9. _________ are group of text that come after the period in a Full File name?
a) File last name
b) Data
c) Extensions
d) A & C
10. A program is a ______________
a) Variable of data
b) Set of letters only
c) Set of Instructions given to the Computer to perform specific tasks
d) Languages
11. Choose the right Set
a) Audio - .jpg, .png, .mp3
b) Video - .mp3, .mp4, .jpg
c) Text - .txt, .pdf, .docx
d) Image - .aud, .pdf, .mp3
12. We instruct the Computer on what to do using languages both we and the
Computer understands, those languages are
a) English Language
b) Programming Languages
c) Foreign Languages
d) None of the above
13. The Default Python Environment that comes with it is _______
a) Pycharm
b) Python IDLE
c) Jupyter
d) Python
14. IDE stands for
a) Internet Development Software
b) International Developing Environment
c) Integrated Development Environment
d) Independent Development Environment
15. When you download and install Python, it comes with it’s own IDE/IDLE
a) TRUE
b) FALSE
PROGRAMMING SNIPPET SECTION - carefully look at the QUERY and solve the
MYSTERIES.
16. print(“Hello World”)
- what would be outputted on your terminal screen when the following code is
ran?
a) print(“Hello World”)
b) Hello World
c) hello World
d) Successful!
17.
name = “Joseph”
age = 7
print(name + “ is “ + age + “ years old.”)
a) Name is age years old
b) Joseph is 7 age old
c) Joseph is age years old
d) Joseph is 7 years old.
18.
print(2 + 1)
a) num1, num2
b) Error
c) 3
d) None of the above
19.
num1 = 5
num2 = 10
print(num1 > num2)
a. TRUE
b. FALSE
c. num1>num2
d. Syntax Error
20.
name = “Jack”
fav_color = “Blue”
print(name)
print( fav_color)
name = “John”
fav_color = “Red”
print(name)
a. Jack, Blue, Red
b. John, Blue, Red
c. Jack, Blue, John
d. Jack, Red, John
21. The .VENV stands for?
a) Virtual Environment
b) Vital Environment
c) Video Environment
d) Variable Environment
22. Python files has _____ extension
a) .python
b) .pt
c) .env
d) .py
23. Can a Variable Store another Variable?
a) TRUE
b) FALSE
c) MAYBE/MAYBE NOT
24. Choose the correct Programming Languages
a) P++, C++, Java
b) Python, P++, Java
c) Python, Java, Javascript
d) P++, English, Java
25. What Datatype is this - 78?
a) String
b) Integar
c) Float
d) None of the above
26. What Datatype is this - “Samuel”?
a) String
b) Integar
c) Float
d) None of the above
27. What Datatype is this - “7.8”?
a) String
b) Integar
c) Float
d) None of the above
28. What Datatype is this - 9.1?
a) String
b) Float
c) Integar
d) None of the above
29. What Datatype is this - TRUE?
a) String
b) Boolean
c) Integar
d) Float
30. What Datatype is this - “FALSE”?
a) String
b) Boolean
c) Integar
d) Float