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

Programming and Graphics Exam Questions

The document is a Spring Term Examination paper for Year 8 students at Pleroma International High School, focusing on Information and Communication Technology (ICT). It contains multiple-choice questions covering various programming languages, concepts, and computer graphics. The exam assesses students' knowledge on topics such as web development, data types, SQL, and graphics processing.

Uploaded by

ENOBUN ANITA
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)
35 views3 pages

Programming and Graphics Exam Questions

The document is a Spring Term Examination paper for Year 8 students at Pleroma International High School, focusing on Information and Communication Technology (ICT). It contains multiple-choice questions covering various programming languages, concepts, and computer graphics. The exam assesses students' knowledge on topics such as web development, data types, SQL, and graphics processing.

Uploaded by

ENOBUN ANITA
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

PLEROMA INTERNATIONAL HIGH

SCHOOL
SPRING TERM EXAMINATION
SUBJECT: I.C.T. DURATION: 2 HOURS CLASS: YEAR 8

NAME

1. Which of the following languages is primarily used a) Takes input b) Displays output
for web development? c) Declares a variable
a) Java b) Python d) Defines a class
c) HTML d) C++ 10. Which of the following is a dynamically typed
2. What does the term "OOP" stand for in language?
programming? a) Java b) C++
a) Object-Oriented Programming c) Python d) C#
b) Operational Output Processing 11. What is the file extension for a JavaScript file?
c) Oriented Object Programming a) .js b) .java c) .py d) .css
d) Object Operation Processing 12. In HTML, what does the <a> tag define?
3. In Python, which of these symbols is used for a) An image b) A heading
comments? c) A hyperlink d) A paragraph
a) // b) # 13. Which function is used to output text in Python?
c) /* d) <-- a) display() b) print() c) cout()
4. Which of the following is not a high-level d) write()
programming language? 14. In SQL, which command is used to retrieve data
a) Java b) C++ from a database?
c) Assembly d) Python a) GET b) SELECT
5. In JavaScript, what does the keyword const define? c) FETCH d) TAKE
a) A constant variable 15. What does IDE stand for in programming?
b) A function c) A variable that can be reassigned a) Integrated Development Environment
d) A loop b) Internal Data Execution
6. Which programming language is commonly c) Independent Data Entry
associated with data science and machine learning? d) Internet Development Editor
a) Java b) Python 16. Which of these languages is typically used for iOS
c) HTML d) C++ app development?
7. What is the main purpose of SQL in programming? a) Kotlin b) Swift c) C# d) ruby
a) To style websites 17. In programming, what is recursion?
b) To manage databases a) A variable assignment process
c) To create operating systems b) A function calling itself
d) To build web servers c) A sorting algorithm
8. Which of the following is a backend programming d) An error message
language? 18. Which symbol is used to represent the "AND"
a) CSS b) HTML logical operator in most programming languages?
c) PHP d) jQuery a) || b) && c) # d) @
9. In C++, what does "cout" do? 19. What type of language is SQL considered?

PIHS SPRING TERM


a) Procedural language A) {} B)[] C) () D) <>
b) Object-Oriented language 30. Which operator is used to concatenate strings in
c) Scripting language most programming languages?
d) Query language A) + B) * C) - D) /
20. In Java, which of the following keywords is used to 31. What does HTML stand for?
define a class? A) HyperText Markup Language
a) class b) define B) HighText Markup Language
c) function d) void C) HyperText Machine Language
21. What is the output of the expression 5 + 3 * 2 in most D) HighType Machine Language
programming languages? 32. Which of the following statements is used to read
A) 11 B)16 C)13 D)21 input from a user in Python?
22. Which data type is used to store a sequence of A) input() C)scan()
characters in most programming languages? B) read() D)get()
A) Integer c) Float 33. Which of the following is NOT a programming
B) String d) Boolean language?
23. What does != mean in programming? A) Python C) HTML
A) Assignment operator B) Java D)JavaScript
B) Greater than or equal to 34. What is the result of 10 % 3 in most programming
C) Not equal to languages?
D) Equal to A) 3 B) 0 C) 1 D) 10
24. In Python, which of the following is the correct 35. What is computer graphics?
syntax to define a function? A) Creating programs to handle spreadsheets
A) function myFunction() B) Creating visual content with a computer
B) def myFunction():define myFunction C) Managing database information
C) func myFunction() D) Writing operating system code
25. What is the purpose of a loop in programming? 36. Which of the following is NOT a type of
A) To repeat a block of code multiple times transformation in computer graphics?
B) To define a variable A) Scaling B) Rotation
C) To take user input C) Translation D) Defragmentation
D) To display output on the screen 37. In 3D graphics, what does a rendering engine do?
26. Which of the following is used to terminate a loop A) Creates hardware components
in most programming languages? B) Converts 3D models into 2D images
A) Break C) continue C) Translates code to binary
B) Pass D)stop D) Executes software on hardware
27. In most programming languages, which data type 38. What is a pixel?
can only hold true or false values? A) A type of computer virus
A) String C)Boolean B) A single point in a graphic image
B) Integer D)Character C) A programming language
28. Which of the following is a valid variable name? D) A hardware device
A) 123variable 39. Which of the following is used to represent colors
B) my-variable in computer graphics?
C) variable_1 D) class A) RGB B) HTML
29. In JavaScript, which of the following is used to C) CSS D) SQL
create an object?

PIHS SPRING TERM


40. Which technique is commonly used to remove 49. In computer graphics, what does anti-aliasing help
jagged edges in images? to improve?
A) Anti-aliasing B) Clipping A) Speed of processing
C) Blurring D) Filtering B) Image file size
41. What does GPU stand for in computer graphics? C) Smoother edges in digital images
A) General Processing Unit D) Accuracy of input data
B) Graphical Processing Unit 50. Which of the following color models is commonly
C) Graphics Processing Unit used for display screens?
D) Game Processing Unit A) CMYK B) RGB
42. In computer graphics, what is ray tracing used for? C) Grayscale D) LAB
A) Reducing file sizes
B) Optimizing memory usage
C) Creating realistic lighting and shadows
D) Rendering 2D graphics only
43. What is the main purpose of a frame buffer in
computer graphics?
A) To store files
B) To save images to the hard drive
C) To hold pixel data for images
D) To increase processing speed
44. Which of the following is an example of a 3D
modeling software?
A) Microsoft Word
B) Adobe Illustrator
C) Blender D) Google Chrome
45. Which color model is typically used for printing?
A) RGB B) CMYK
C) HSV D) LAB
46. What is the term for a group of points connected
by lines to create a 3D model?
A) Polyline B) Polygon mesh
C) Array D) Raster
47 What is a texture in computer graphics?
A) A type of pixel shader
B) A pattern applied to a surface for added detail
C) A 3D modeling technique
D) A vector transformation
48. What is the main purpose of a Graphics Processing
Unit (GPU)?
A) To manage system memory
B) To handle input/output operations
C) To perform complex calculations for rendering
images
D) To control the operating system

PIHS SPRING TERM

You might also like