JAVASCRIPT-STRING,ARRAYS,FUNCTIONS

JAVASCRIPT-STRING,ARRAYS,FUNCTIONS

University

75 Qs

quiz-placeholder

Similar activities

Cisco - ITN7 - Module 1 - 3 Review

Cisco - ITN7 - Module 1 - 3 Review

9th Grade - University

75 Qs

i-Tech Quiz

i-Tech Quiz

University

70 Qs

Sec-I-cquiz1

Sec-I-cquiz1

University

77 Qs

KKMSEF-Corona2020 Quiz

KKMSEF-Corona2020 Quiz

University

70 Qs

Evaluación Final SINF

Evaluación Final SINF

University

70 Qs

Introduction to Cloud Computing

Introduction to Cloud Computing

University

77 Qs

Data Communication Final Exam

Data Communication Final Exam

University

70 Qs

WS101

WS101

University

70 Qs

JAVASCRIPT-STRING,ARRAYS,FUNCTIONS

JAVASCRIPT-STRING,ARRAYS,FUNCTIONS

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

anispremkoilraj p

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

75 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What does the following code snippet do? function add(x, y) { return x + y; }

console.log(add(5, 3));

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

NOT a valid way to pass arguments to a function?

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What will the following code output? function foo() { var x = 10; if (true) { var x = 20; console.log(x); } console.log(x); } foo();

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the result of the following code? function sayName(name) { console.log("Hello, " + name); } var greeting = sayName("John"); console.log(greeting);

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What will be the output of the following code? let arr = [1, 2, 3]; console.log(arr[3]);

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What will be the output of the following code? let arr = [1, 2, 3]; arr.length = 1; console.log(arr[2]);

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What will be the output of the following code? let arr = [1, 2, 3]; arr[5] = 6; console.log(arr.length);

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers