Frontend Quiz 5 summer internship

Frontend Quiz 5 summer internship

University

10 Qs

quiz-placeholder

Similar activities

Java set3

Java set3

University

10 Qs

[Kelas 8 SMP] Bab 1 - Bahasa Program Java

[Kelas 8 SMP] Bab 1 - Bahasa Program Java

8th Grade - University

10 Qs

Gold Batch Quiz -4

Gold Batch Quiz -4

University

10 Qs

Quiz Pemrograman JavaScript

Quiz Pemrograman JavaScript

1st Grade - University

15 Qs

Java 101

Java 101

10th Grade - University

10 Qs

Recordando JavaScript

Recordando JavaScript

University

10 Qs

Test de JavaScript

Test de JavaScript

University

10 Qs

JS QUIZ

JS QUIZ

University

8 Qs

Frontend Quiz 5 summer internship

Frontend Quiz 5 summer internship

Assessment

Quiz

Other

University

Medium

Created by

Gnaneshwar Reddy

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to declare a variable in JavaScript?

A. int

B. var

C. float

D. char

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to declare a constant variable in JavaScript?

A. const

B. let

C. var

D. final

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which datatype is not primitive in JavaScript?

A. String

B. Boolean

C. Object

D. Number

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to assign a value to a variable?

A. ==

B. =

C. ===

D. !=

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to concatenate two strings in JavaScript?

A. +

B. &

C. &&

D. ||

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you call a function named myFunction in JavaScript?

A. myFunction();

B. call myFunction();

C. call function myFunction();

D. myFunction;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax for a function expression in JavaScript?

A. var myFunction = function() {};

B. function myFunction = function() {};

C. myFunction() => {};

D. var myFunction() = function {};

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?