Search Header Logo

Pre assessment frontend

Authored by support info

others

Professional Development

Used 1+ times

Pre assessment frontend
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

33 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is used to store multiple values in a single variable?

Variable
Array
Function
Object

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following loops is guaranteed to execute at least once?

for loop
while lop
do while loop
nested loop

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the result of 5 % 2 in most programming languages?

0
3
1
2

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the keyword used to declare a constant in JavaScript?

Variable
let
const
final

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is a valid function declaration in JavaScript?

def myFunction()
create function myFunction()
function myFunction()
myFunction = function()

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which operator is used for logical AND in JavaScript?

&
&&
||
!

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How do you access the third element of an array named arr?

arr.3
arr[2]
arr(4)
arr(3)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?