
Super 15 batch quiz

Quiz
•
Professional Development
•
Professional Development
•
Medium

Gnaneshwar Reddy
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you write an if statement that executes some code if "i" is not equal to 5?
a) if (i != 5)
b) if i <> 5
c) if i =! 5
d) if (i <> 5)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to handle multiple conditions in an if statement?
a) if (i < 5 && i > 0)
b) if i < 5 and i > 0
c) if (i < 5) and (i > 0)
d) if (i < 5 & i > 0)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does a for loop start?
a) for (i = 0; i <= 5)
b) for (i <= 5; i++)
c) for i = 1 to 5
d) for (i = 0; i <= 5; i++)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a for...in loop?
a) Iterating over array elements
b) Iterating over object properties
c) Iterating over both arrays and objects
d) None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a for...of loop iterate over?
a) Object properties
b) Array-like objects, iterables, and strings
c) Numbers
d) None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct syntax for a for...in loop?
a) for (let i in array)
b) for (let i of array)
c) for let i in array
d) for (i in array)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create an array in JavaScript?
a) var array = "1,2,3,4"
b) var array = 1,2,3,4
c) var array = [1,2,3,4]
d) var array = (1,2,3,4)
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
C Structures

Quiz
•
Professional Development
10 questions
pemrograman dasar

Quiz
•
Professional Development
13 questions
M2 UF1 NF 1: CONDICIONANTS AMBIENTALS DELS HÀBITATS

Quiz
•
Professional Development
11 questions
interface and abstract class

Quiz
•
Professional Development
10 questions
Moringa JavaScript Arrays

Quiz
•
5th Grade - Professio...
13 questions
Data Structure

Quiz
•
Professional Development
10 questions
Day7_Quiz_NBKR

Quiz
•
Professional Development
10 questions
Workshop Quiz

Quiz
•
Professional Development
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade