wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Junior Quiz

Total questions: 100

Worksheet time: 1hrs 15mins

Name
Class
Date
1.

What is a computer algorithm?

a)

A list of step-by-step instrution to tell the computers what to do

b)

A set of guidelines that describes how to perform certain tasks

c)

A step-by-step process that needs be followed logically to complete a task

2.

A language which the computer is designed to understand.

a)

algorithm

b)

blockly

c)

java

d)

code

3.

Which of the following is NOT the common type of programming languages?

a)

Python

b)

Java

c)

C++

d)

Windows

4.

What is the term: descibe a position x,y?

a)

Conditional loops

b)

Events

c)

Function

d)

Coordinates

5.

putting commands in order so computer can read them

a)

looping

b)

sequencing

c)

parametering

d)

functioning

6.

find and fix error while coding

a)

sprite

b)

bug

c)

debug

d)

ant

7.

using computers to solve problems

a)

event

b)

binary

c)

computer science

d)

shopping

8.

an algorithm that has been coded so it can be run by a machine

a)

parameter

b)

program

c)

algorithm

d)

altogether

9.

an example of pattern recognition in computational thinking

a)

identifying commonalities in the given information and similar problem.

b)

seeing what information is static and unimportant to the problem.

c)

determining most helpful data to solve the problems.

d)

outlining all posible way to solve the problems

10.

AI is abbreviations for ...

a)

art intelligence

b)

awesome innovation

c)

artificial intelligence

d)

awesome investment

11.

which part of computer is the brain?

a)

rom

b)

ram

c)

cpu

d)

hard drive

12.

machine learning means learning from?

a)

machines

b)

datas

c)

books

d)

cars

13.

which command will display the text "hello,world!" on the screen

a)

print(Hello, world!)

b)

print"Hello,world!"

c)

print("Hello, world!")

d)

print = "Hello, world!"

14.

which command will correctly ask user for their age?

a)

age = input ("How old are you?")

b)

age = input (How old are you?)

c)

input(How old are you?)

d)

How old are you? = input

15.

which function will convert a number to a string?

a)

int()

b)

str()

c)

ord()

d)

chr()

16.

which function will convert a string to containing only digits into a number?

a)

int()

b)

str()

c)

ord()

d)

chr()

17.

which decision statement will be triggered if the variable x is less than 20?

a)

if x > 20:

b)

if x <> 20:

c)

if x == 20:

d)

if x < 20:

18.

what is a variable?

a)

a piece of data you cannot change

b)

a coding technique

c)

a special line

d)

a piece of data that can change

19.

what does input do?

a)

it allows user to change the program

b)

it convert data types

c)

it allows a user to solve a task

d)

it allows user to enter data

20.

what data type is 3.95?

a)

integers

b)

float

c)

string

d)

character

21.

what is html?

a)

hyper thermal maximum language

b)

hypertext nathematic language

c)

hypertext markup language

22.

who invented html?

a)

bill gates

b)

steve jobs

c)

mark zuckerberg

d)

tim berners lee

23.

html is a language of ...

a)

tags

b)

tagged

c)

commands

24.

this tag is used to create a paragraphs in my web page?

a)

<br>

b)

<p>

c)

<hr>

d)

<html>

25.

... tag is used for giving title to our webpages

a)

<head>

b)

<html>

c)

<title>

d)

<body>

26.

tag used to give a line break in a webpage?

a)

<p>

b)

<hr>

c)

<br>

d)

<line>

27.

what is a syntax error?

a)

occurs when an unexpected input is received.

b)

occurs because of an invalid command

c)

the program doesn't produce the correct output

d)

the code isn't finished and stop before the task complete

28.

what is a booleans?

a)

a datatype

b)

a bus

c)

an error

d)

a constant

29.

a list in python using what type of bracket?

a)

()

b)

[]

c)

{}

30.

what does LAN stand for?

a)

Lone Area Network

b)

Log Area National

c)

Local Area Name

d)

Local Area Network

31.

I need to decide between two path in python, i should use...

a)

if statement

b)

for loops

c)

while loops

d)

list

32.

a string can be...?

a)

just text

b)

numbers displayed as text

c)

text and numbers

d)

all of the above

33.

how many bits in a byte?

a)

8

b)

16

c)

2

d)

6

34.

a firewall is designed to?

a)

eliminated virus

b)

block suspicious network connections

c)

send email over port 80

d)

allow control over your PC

35.

a variable name should...

a)

contain at least 3 numbers

b)

user all upercase letters

c)

give a sense of what is contained in it

d)

link to a function name

36.

what is the study of computers and computational system?

a)

biomechanical engineering

b)

computational thinking

c)

robotics

d)

computer science

37.

when writing a computer code, what should your first step always be?

a)

start writing and hope you get complete what you are aiming for?

b)

rely on other people to create your code for you

c)

determine what you want your final product to be

d)

ask the computer to create the code for you

38.

why were errors in coding called bug?

a)

a moth was found in computer in the 1940s

b)

ant took over computer

c)

a group of cockroaches invaded a laptop

d)

spider caused a short circuit in the motherboard of a desktop computer

39.

you need to use computational thinking while you are coding in computer science?

a)

true

b)

false

40.

which of the following is not a programming language?

a)

Java

b)

Scratch

c)

Python

d)

Microsoft

41.

is integer a number

a)

true

b)

false

42.

chose which is a floating point

a)

14

b)

15.5

43.

chose a string

a)

"tim"

b)

"tim

c)

'tim'

d)

"tim

e)

tim

44.

is boolean a data type or a condition

a)

data type only

b)

data type and condition only

c)

condition only

45.

is boolean true or false

a)

true only

b)

false only

c)

true and false only

46.

Which of these is the correct code for creating a list of names?

a)

nameList = John, Harry, Jesse, John, Harry, Harry

b)

nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry")

c)

nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]

d)

nameList = [John, Harry, Jesse, John, Harry, Harry]

47.

Which of these pieces of code would return the name "Harry" from the following list?

nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]

a)

nameList()

b)

nameList[1]

c)

NameList(4)

d)

nameList["4"]

48.

The list needs one more name added to the end - "Felipe". Which piece of code below would do this?

nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]

a)

nameList.append(Felipe)

b)

append(nameList,"Felipe")

c)

nameList.append["Felipe",7]

d)

nameList.append("Felipe")

49.

nameList = ["John", "Harry", "Jesse", "John", "Marry", "Larry"]

The list will be slice and show Harry and Jesse only. Which piece of code below would do this?

a)

print(nameList[1:3])

b)

print(nameList[0:1])

c)

print(nameList[1:2])

d)

print(nameList["Harry":"Jesse"])

50.

To insert an the string "Pedro" in the first position of a the nameList we use

a)

nameList.append("Pedro, 1")

b)

nameList.insert("Pedro",0)

c)

nameList.insert(1, "Pedro")

d)

nameList.insert(0, "Pedro")

51.

variable.sort() will do what?

a)

Sort the list into alphabetical order

b)

Sort the list into reverse order

c)

Create a new list

d)

Error

52.
What will the output be from the following code?
print("Hello world!")
a)
SyntaxError
b)
Hello world!
c)
"Hello world!"
d)
print(Hello world!)
53.
print("12"*3)
What would this print?
a)
36
b)
121212
c)
24
d)
12*3
54.
What will the output be from the following code?
print("3+4")
a)
7
b)
3+4
c)
34
d)
SyntaxError
55.
What will the output be from the following code?
Print("Hello world!")
a)
NameError
b)
Hello world!
c)
"Hello world"
d)
Print(Hello world!)
56.
What will the output be from the following code?
print("Hello" + "world" + "today")
a)
Helloworldtoday
b)
Hello world today
c)
"Hello" "world" "today"
d)
SyntaxError
57.
What will the output be from the following code?
print("Hello world!\nHello world!")
a)
Hello world! Hello world!
b)
Hello world!
Hello world!
c)
SyntaxError
d)
Hello world!
58.
What will the output be from the following code?
print("Hello world!" * 2)
a)
TypeError
b)
Hello world world!
c)
Hello world!Hello world!
d)
Hello world! * 2
59.
Which function takes a users input
a)
print()
b)
int()
c)
input()
d)
def
60.
A data type consisting of numbers, letters and symbols.
a)
String
b)
Integer
c)
Float
d)
Boolean
61.
Evaluate the following expression:
"dog" < "Dog"
a)
True
b)
False
c)
They are the same word
62.
What is iteration known as?
a)
Looping
b)
Crashing
c)
Repeating
63.

numbers = [5, 14 ,9, 17]

for number in numbers:

if number >= 9:

print (number)


The output will be?

a)

17

b)

9

c)

14

9

17

d)

14

17

64.
What will be printed after running this FOR loop:

for number in range(6):
 
    print(number)
a)
The number 6 
b)
The numbers 0 - 5
c)
The number 5
d)
The numbers 1 - 6
65.
How many times does the following program print the word ‘computer’:

word= "computer"  
for num in range(1,6):
 
    print(word)
a)
5
b)
6
c)
1
d)
0
66.

Which of the following best describes the purpose of a for loop?

a)

A for loop is for doing something an indeterminate number of times.

b)

A for loop is doing something an infinite number of times.

c)

A for loop is for doing something a fixed number of times.

d)

A for loop is for doing something three times.

67.

What would be the output of the following code:

for i in range(3):

print(i)

a)

1 2 3

b)

i i i i

c)

i i i

d)

0 1 2

68.

What is the output?

a)

condition

b)

True

c)

Program has a syntax error.

d)

3 > 2

69.

What is the output?

a)

more than 7

b)

more than 23

c)

spam

d)

7

70.

What part of an if statement should be indented?

a)

All of it

b)

The statements within it

c)

the first line

d)

the lines within the brackets

71.
An if statement must evaluate to:
a)
Right or Wrong
b)
True
c)
True or False
d)
False
72.
This operator means that one value is the same as the other value
a)
==
b)
!=
c)
>
d)
<
73.
What best defines an IF statement in python?
a)
Is an embedded string with a variable
b)
An IF statement checks to see if a statement is true or false and then does one of two things depending on the result.
74.
I am 71 years old! What will the output be?: IF you are 70 or older, say “You are aged to perfection!” ELIF you are exactly 50, say “Wow, you are half a century old!” ELSE say “You are a spring chicken!”
a)
“You are aged to perfection!”
b)
"Wow, you are half a century old!"
c)
"You are a spring chicken!"
75.

The device with many buttons is called ....

a)

monitor

b)

CPU

c)

keyboard

76.

A _____ helps us to choose button in monitor.

a)

CPU

b)

mouse

c)

keyboard

77.

The set of program instructions, including related data and documentation

a)

Computer Software

b)

Computer Hardware

c)

Computer

d)

Websites

78.
What function would I use to display text?
a)
sum
b)
import
c)
print
d)
display
79.
What is the correct name for a *?
a)
hashtag
b)
star
c)
loop
d)
asterisk
80.
What does a hashtag represent when using Python?
a)
red text
b)
float
c)
comment
d)
integer
81.
What is missing from this program – print(hello)?
a)
‘‘  ’’
b)
:: 
c)
??
d)
***  ***
82.
What does int() represent?
a)
internet
b)
input
c)
intel
d)
integer
83.
What is a float?
a)
decimal number
b)
whole number
c)
half a number
d)
a fraction
84.
Choose what * performs.
a)
multiplication
b)
addition
c)
division
d)
subtraction
85.
Why do we use variables in programming?
a)
edit data
b)
store data
c)
integer
d)
to look good
86.
What are these () called in programming?
a)
brackets
b)
quotation marks
c)
half circles
d)
parenthesis
87.
What is wrong with this code?

print"What football team do you support?"
a)
no quotation marks
b)
no parentheses
c)
no commas
d)
no capital letters
88.
What is the first tag that you put in a html document?
a)
<head>
b)
<header>
c)
<DOCTYPE html>
d)
<!DOCTYPE html>
89.
Which of the following is the largest heading? 
a)
H2
b)
H3
c)
H4
d)
H6
90.

Which is the proper way to write an h1 tag

a)

<h1>Hello</h1>

b)

<h1>"Hello

c)

{h1}Hello{/h1}

d)

<h1>Hello<h1>

91.

Which is the correct HTML element for inserting a line break?

a)

<b>

b)

<lb>

c)

<br/>

d)

<break>

92.

src attribute in an image tag means what?

a)

Source of the image

b)

Name of the image

c)

Description of the image

d)

Not used with image tag

93.

In HTML a color can be specified by using what?

a)

HEX value

b)

Color name

c)

RGB value

d)

All of these

94.

<a> is use to

a)

Define the area

b)

Define the link destination

c)

Define an article tag

d)

Define an HTML link

95.

Google Chrome, Mozilla Firefox, Microsoft Edge are examples of?

a)

Websites

b)

Search engines

c)

Text editors

d)

Web browsers

96.

ROBLOX Studio is used to...

a)

play ROBLOX games.

b)

make ROBLOX audio.

c)

make ROBLOX graphic designs.

d)

make ROBLOX games.

97.

How do you move around in studio?

a)

Arrow Keys

b)

Shift + F

c)

W, A, S, D

d)

W, A, S, D or the Arrow Keys

98.

How do you inscrease your FPS (descrease your lag) in Roblox?

a)

Find the game that has less assets

b)

Go to your settings and higher your graphics

c)

Go to settings and lower your graphics, set it to manual

d)

Go to settings, lower your graphics, set it to automatic.

99.

How much healths does "Humanoid" normally have?

a)

100

b)

50

c)

200

d)

300

100.

How do you build an obby?

a)

Remove your template, insert parts, make sure its not anchored

b)

Remove your template, insert parts, scale it, move it.

c)

Insert parts, move it, anchor it

d)

Remove your template, insert parts, scale it, anchor it, move it to position you want, choose any colors or materials you want.