
CPD Quiz

Quiz
•
Professional Development
•
3rd Grade
•
Hard
Parameswaran Sajeenthiran
Used 5+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
const obj1 = {Name: "Hello", Age: 16};
const obj2 = {Name: "Hello", Age: 16};
console.log(obj1 === obj2);
true
false
undefined
None of the above
Answer explanation
The strict equality operator compares objects by their references so even though the contents of both objects are the same, their references don’t match resulting in false.
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
function test(...args) {
console.log(typeof args);
}
test(12);
NaN
Object
Array
Number
Answer explanation
The …args parameter allows us to collect all remaining arguments into an array, and in Javascript typeof an array is an object.
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The process in which an object or data structure is translated into a format suitable for transferral over a network, or storage is called?
Object Serialization
Object Encapsualization
Object Inheritace
None of the Above
Answer explanation
Object Serialization is the process in which an object or data structure is translated into a format suitable for transferral over a network, or storage.
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What will be the output of the following code snippet?
function solve(arr, rotations){
if(rotations == 0) return arr;
for(let i = 0; i < rotations; i++){
let element = arr.pop();
arr.unshift(element);
}
return arr; }
console.log( solve([44, 1, 22, 111], 5));
[ 111, 4 ,1, 22]
[ 44 ,1 ,22 ,111]
[1,2,11, 4]
[1,2,11,4]
Answer explanation
Wrong Answer
The above code snippets rotate an array to its right by some specified number of times(here 5).
5.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
function factorial (n){
if (n==0){
return 1;
}
else {
return (n * factorial(n-1));
}
console.log(factorial(3))
3
6
0
12
Answer explanation
using recursion calculates the factorial of 3 (3!)= 1*2*3=6
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following is a dynamic data structure ?
stack
queue
Linked List
All of the Above
Similar Resources on Wayground
8 questions
Dawat Ka Kaam

Quiz
•
KG - 8th Grade
10 questions
Day 1 Recap

Quiz
•
1st - 8th Grade
8 questions
Company Commanders Quiz of the Week

Quiz
•
1st - 12th Grade
10 questions
С1_Первое использование контроля версий

Quiz
•
3rd Grade
7 questions
AAR

Quiz
•
1st - 11th Grade
10 questions
MD1 - Bài1: Biến - Kiểu Dữ Liệu - Toán Tử (Kiểm tra cuối buổi))

Quiz
•
1st - 3rd Grade
5 questions
Arreglos

Quiz
•
1st - 3rd Grade
7 questions
Викторина по теме “Двумерные массивы”

Quiz
•
3rd Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
Discover more resources for Professional Development
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
PBIS Terrace View

Quiz
•
1st - 5th Grade
10 questions
Place Value

Quiz
•
3rd Grade
18 questions
Rocks and Minerals

Quiz
•
3rd Grade
17 questions
Multiplication facts

Quiz
•
3rd Grade
10 questions
Third Grade Angels Vocab Week 1

Quiz
•
3rd Grade
20 questions
Capitalization Rules & Review

Quiz
•
3rd - 5th Grade