Js the fourth

Js the fourth

12th Grade

10 Qs

quiz-placeholder

Similar activities

AP CSP Conditionals

AP CSP Conditionals

9th - 12th Grade

8 Qs

Java Script Quiz

Java Script Quiz

9th - 12th Grade

15 Qs

Variables & Data Types

Variables & Data Types

6th - 12th Grade

10 Qs

JavaScript and Graphics Quiz

JavaScript and Graphics Quiz

9th - 12th Grade

15 Qs

Expressions coding and or not coding

Expressions coding and or not coding

9th - 12th Grade

11 Qs

Warm Up - CAI711

Warm Up - CAI711

11th - 12th Grade

10 Qs

Code.org Conditionals

Code.org Conditionals

9th - 12th Grade

13 Qs

JavaScript:  CodeHS chapter 3 exam

JavaScript: CodeHS chapter 3 exam

9th - 12th Grade

15 Qs

Js the fourth

Js the fourth

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Károly Lukács

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Mit ír ki?

var course = {name: "JS", lessons: 41};

document.write(course.name.length);

2

4

41

JS

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Melyik beépített tulajdonsággal lehet meghatározni egy objektum tulajdonságának a karakterhosszát?

width

size

length

write

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Milyen kulcsszót használjuk egy objektum példányának a létrehozásához?

var

make

inst

new

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Mit ír ki? function person (name, age)

{ this.name = name; this.age = age;}

var John = new person("John", 25);

var James = new person("James", 21);

document.write(John.age);

age

25

21

John.age

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Mi hiányzik a kipontozott helyekről?

simba = ...category: "lion", gender: "male" ...

zárojelek

kapcsos zárójelek

szögletes zárójelek

semmi

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Mit ír ki?

var p = new person("David", 21);

p.changeName("John");

document.write(p.name);

David

John

p.name

new person

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Mit ír ki? function person(name, age) {

this.name= name; this.age = age;

this.yearOfBirth = bornYear;}

function bornYear() {return 2016 - this.age;}

var p = new person("A", 22);document.write(p.yearOfBirth());

2016

22

1994

p.yearOfBirth

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?