Grade 5 Science – Coding Quiz

1. What is coding

arranging documents
use of computer programming languages to give computers instructions to perform actions
calculating data
use of Microsoft office word
Explanation:

2. What is a program?

an algorithm that has been coded into something that can be run by a machine.
finding and fixing errors in a program
a piece of code you can call over and over again.
doing something over and over again.
Explanation:

3. In coding, an event is__

an example of being a good digital citizen
trying again and again, even when something is hard
an action that causes something to happen
an error in a program that prevents the program from running as expected
Explanation:

4. What is a LOOP?

doing something over and over again
an error in programming
a statement that only runs under certain conditions.
a placeholder for a piece of information
Explanation:

5. What is a bug?

creepy crawly thing
Part of a program that does not 
a sing in the computer
am insect
Explanation:

6. Debugging is __

cleaning cars
Spraying bug spray a wasps nest
Finding and fixing problems in an algorithm or program
Part of a program that does not work
Explanation:

7. What does AI stand for?

Artificial intelligence
artificial information
algorithm included
automated incline
Explanation:

8. All of the computer programs or "code" such as games, apps, and websites are considered what?

devices
hardware
apos
software
Explanation:

9. Coding can be used to do the following except

create websites, games & apps
Program robots
tell computers what to do
store database
Explanation:

10. Which of the following is a hardware?

font
mouse
file
task bar
Explanation:

11. What is coding?

All the standards to teach technology in the classroom
A game to give instructions
A number to assign different computers
Coding is the computer language used to develop apps, websites and software
Explanation:

12. How does a code work?

It organizes viruses
It doesn't work at all
It tells your computer what to do
It is a random number
Explanation:

13. Which one is a coding app?

Waze
Tinder
Scrahct
Scratch
Explanation:

14. Why is coding important?

It is not important
If not you don't get rich
It has to do with many important tech jobs
It is mandatory in many countries
Explanation:

15. When should kids start learning coding?

The sooner the better
Depends on the district
12 years old
They don't need it
Explanation:

16. What is a skill students reinforce with coding?

Legs Speed
Hyperactive behavior
none
Problem solving
Explanation:

17. What word is strongly related to code?

summary
instructions
bad grades
none
Explanation:

18. Which is one example of something created with codes?

TV shows
explosions
Circuits
robots
Explanation:

19. What subjects could you integrate with coding?

Language
Math
Science
Pretty much all subjects
Explanation:

20. What is the basic unit of all digital computing devices?

Processor
Battery
Transistor
Wire
Explanation:

Transistors are the basic building blocks of all digital computing devices as they can be used to switch electronic signals on or off.

21. Which of the following is responsible for executing instructions in a computer?

Processor
Monitor
Keyboard
Mouse
Explanation:

The processor (CPU) is the component of a computer that performs instructions defined by software.

22. What is the role of memory in a computer?

Connect to the internet
Store data temporarily
Control physical movement
Display images
Explanation:

Memory in a computer is used to store data temporarily while the computer is on, and it is used to process data quickly.

23. Which component of a computer is responsible for providing power to all other devices?

Power supply unit
Motherboard
Graphics card
Hard drive
Explanation:

The power supply unit is responsible for converting electrical power from an outlet into usable power for all other computer components.

24. What is the purpose of an operating system in a computer?

Charge the battery
Print documents
Play games
Manage hardware and software resources
Explanation:

The operating system is responsible for managing computer hardware and software resources and provides common services for computer programs.

25. What component of a computer is used to store data permanently?

Hard drive
Processor
Monitor
RAM
Explanation:

Hard drives are used to store data permanently on a computer, allowing users to save files and applications for future use.

26. Which of the following is NOT a type of computer device?

Blender
Television
Smartphone
Tablet
Explanation:

A blender is a kitchen appliance and not classified as a computing device, unlike smartphones, televisions, and tablets.

27. What component of a computer is responsible for rendering images on the screen?

Keyboard
Mouse
Graphics card
RAM
Explanation:

Graphics cards are responsible for rendering images on the screen, especially in tasks related to gaming and video rendering.

28. Which of the following is a form of external storage device for a computer?

RAM
Processor
SSD
USB flash drive
Explanation:

USB flash drives are external storage devices that can be connected to a computer to store and transfer large amounts of data.

29. What does the BIOS stand for in computing devices?

Better Internet Online System
Big Internal Order System
Blue Interface Operating System
Basic Input/Output System
Explanation:

The BIOS (Basic Input/Output System) is a firmware that initializes hardware during the boot process and provides runtime services for operating systems.

30. What is coding?

Typing random letters on the keyboard
Writing instructions for a computer
Talking to a friend
Drawing pictures on the screen
Explanation:

Coding involves writing specific instructions that tell a computer what to do.

31. Which of the following is a coding language?

English
Python
Kiswahili
French
Explanation:

Python is a popular coding language used for creating programs and applications.

32. What is the purpose of coding?

To watch videos online
To control devices and software
To play games
To confuse people
Explanation:

Coding is used to create programs that can control devices and software to perform specific tasks.

33. Which of the following statements is true about coding?

Coding is used in video games only
Coding is only for adults
Coding is used in many industries like finance and healthcare
Coding is not important
Explanation:

Coding is a valuable skill used in various industries to develop software and applications.

34. What does debugging mean in coding?

Making code more complicated
Fixing mistakes in code
Creating new code
Ignoring errors
Explanation:

Debugging involves finding and fixing errors or mistakes in the code to make it work correctly.

35. Which of the following is an important skill needed for coding?

Playing soccer
Singing songs
Problem-solving
Drawing pictures
Explanation:

Problem-solving is a crucial skill in coding as it involves breaking down complex problems into smaller parts to find solutions.

36. Why is coding important for the future?

To read books
To create new technologies
It's not important
To communicate with animals
Explanation:

Coding plays a vital role in creating innovative technologies that shape the future and solve real-world problems.

37. What is an algorithm in coding?

A type of car
A type of food
A type of animal
A step-by-step set of instructions
Explanation:

An algorithm is a set of logical steps to solve a specific problem or perform a task in coding.

38. What is the output of a code?

The shape of the mouse
The result after running the code
The color of the keyboard
The size of the monitor
Explanation:

The output of a code is the result or outcome produced after the code is executed or run on a computer.

39. Which of the following is used for writing and running code?

A camera
A calculator
A computer or laptop
A microwave
Explanation:

A computer or laptop is commonly used for writing, editing, and running code to create programs and applications.

40. What does the term 'syntax error' mean in coding?

A coding expert
A mistake in the structure of the code
A plant that can code
An animal that knows how to code
Explanation:

A syntax error occurs when there is a mistake in the structure or grammar of the code, which makes it unable to run correctly.

41. What is meant by 'variables' in coding?

Sticky notes
Beams of light
Things that don't change
Containers that store data
Explanation:

Variables in coding are like containers that can hold different types of data and values, which can be used and changed throughout the code.

42. What is a function in coding?

A set of instructions to perform a specific task
A type of car
A party
A group of numbers
Explanation:

A function is a set of instructions that perform a specific task or action when called or used in coding.

43. What is meant by 'loops' in coding?

Songs that repeat
Patterns on a screen
Repeatedly executing a block of code
A type of animal
Explanation:

Loops in coding allow a set of instructions to be repeated multiple times until a specific condition is met or a certain number of iterations are completed.

44. Which symbol is commonly used to denote comments in code?

//
!
@
()
Explanation:

In many coding languages, the double forward slash '//' is used to write comments that are ignored by the computer but can be read by humans for explanations or notes.

45. What is an 'IDE' in coding?

An Instructive Diagnostic Exam
A type of food
An Interactive Design Environment
A fancy hat
Explanation:

An IDE (Integrated Development Environment) is a software application that provides comprehensive facilities to computer programmers for software development, including writing, compiling, and debugging code.

46. What does the term 'syntax' refer to in coding?

The style of the code
The structure and rules of a coding language
The rhythm of the code
The speed of the computer
Explanation:

Syntax in coding refers to the structure, grammar, and rules that dictate how code is written in a specific programming language.

47. What is the purpose of indentation in coding?

To confuse people
To save ink
To organize and clarify the structure of the code
To make the code look pretty
Explanation:

Indentation is used in coding to visually organize and clarify the structure of the code, making it easier to read and understand the flow of the program.

48. Which of the following is an example of a conditional statement in coding?

Never stop
If this, then that
Do this 100 times
Always do this
Explanation:

A conditional statement in coding allows the program to make decisions based on certain conditions, executing different blocks of code depending on whether the condition is true or false.

49. What is the purpose of a 'library' in coding?

A collection of pre-written code for specific tasks
A building with computers
A type of music
A place to read books
Explanation:

A library in coding is a collection of pre-written code or functions that can be used to perform specific tasks without having to write the code from scratch.

50. Which of the following is an example of a data type in coding?

Type of animal
Type of car
Type of fruit
String
Explanation:

In coding, a data type like 'string' is used to represent sequences of characters (such as text) and is one of the fundamental building blocks of programming.

51. What is meant by 'compiling' code in coding?

Turning human-readable code into machine-readable instructions
Deleting code
Running the code
Mixing different codes together
Explanation:

Compiling code involves translating human-readable code written by programmers into machine-readable instructions that can be understood and executed by computers.

52. How is coding used in creating websites?

To send emails
To design web pages
To cook food online
To play games
Explanation:

Coding is used in web development to create and design web pages, determine layout and styles, handle user interactions, and display content on websites.

53. What is the role of 'variables' in coding?

To delete code
To store and manipulate data
To ignore errors
To confuse programmers
Explanation:

Variables in coding are used to store and manipulate data, allowing programmers to work with different values and change them as needed throughout the code.

54. Which term is used to describe an error in coding that stops the program from running?

Funny error
Happy error
Lucky error
Fatal error
Explanation:

A fatal error is a severe error in coding that prevents the program from executing or running, causing it to crash or stop functioning.

55. What does the term 'input' mean in coding?

The size of the screen
The color of the text
Output of the code
Data provided to the program
Explanation:

Input in coding refers to the data or information provided to a program or system to process, manipulate, or use as part of its operations.