
Coding
Quiz by Natasha Toncrey
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
10 questions
Show answers
- Q1What is the symbol used to represent 'equal to' in coding?<>===30s
- Q2What is the symbol used to represent 'not equal to' in coding?=!===<>30s
- Q3What is the symbol used to assign a value to a variable in coding?+===:=30s
- Q4What does HTML stand for?Hypermedia Text LanguageHypertext Markup LanguageHypertext Model LanguageHome Tool Markup Language30s
- Q5What is the purpose of a 'for loop' in coding?To repeat a block of code a certain number of timesTo store and organize dataTo style a webpageTo define a function30s
- Q6What is the output of the following code snippet?int x = 5;System.out.println(x++);Error65430s
- Q7What is the correct syntax to declare a variable and assign it a value in Python?my_variable := 10my_variable = 1010 = my_variablevariable = 1030s
- Q8What is the correct syntax to define a function in JavaScript?myFunction(): function {}function myFunction() {}def myFunction():myFunction = function() {}30s
- Q9What is the output of the following code snippet?int x = 3;int y = 5;System.out.println(x + y);8Error351530s
- Q10What is the difference between 'while' and 'do-while' loops in coding?A 'while' loop is used for infinite looping, while a 'do-while' loop executes a fixed number of timesThere is no differenceA 'while' loop checks the condition before executing the loop, while a 'do-while' loop checks the condition after executing the loop.A 'while' loop executes the loop at least once, while a 'do-while' loop may not execute at all30s