Js the fourth

Js the fourth

12th Grade

10 Qs

quiz-placeholder

Similar activities

Conditionals and Logical Operators Review

Conditionals and Logical Operators Review

9th - 12th Grade

10 Qs

JavaScript Basics

JavaScript Basics

12th Grade - University

15 Qs

JavaScript:  CodeHS chapter 3 exam

JavaScript: CodeHS chapter 3 exam

9th - 12th Grade

15 Qs

Variables & Data Types

Variables & Data Types

6th - 12th Grade

10 Qs

Linux-2 Quiz 2 -- LAMP

Linux-2 Quiz 2 -- LAMP

1st - 12th Grade

15 Qs

Warm Up - CAI711

Warm Up - CAI711

11th - 12th Grade

10 Qs

Python változók szkópja

Python változók szkópja

9th Grade - University

11 Qs

Final Review - Unit 1

Final Review - Unit 1

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?

Discover more resources for Computers