
Pre assessment_ Front end + React_Gangavati
Authored by aditya.m Bagrecha
Computers
University
Used 1+ times

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
30 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
30 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
30 sec • 1 pt
What is the result of 5 % 2 in most programming languages?
6
3
1
2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the keyword used to declare a constant in JavaScript?
Variable
let
const
final
5.
MULTIPLE CHOICE QUESTION
30 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
30 sec • 1 pt
Which operator is used for logical AND in JavaScript?
&
&&
||
!
7.
MULTIPLE CHOICE QUESTION
30 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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?