Interview Report

Feedback
save_alt
Interviewer feedback
Overall feedback

Khaleel

khaleel.nitw@gmail.com

9741754318

Javascript advanced

Assessment details

Javascript advanced

javascript

EXPERT

Invited on, 29-Jun-2020 12:48:26
Invited by, Surat

Score

javascript
36.9
%
Overall
36.9
%
(15.5 / 42)
Result:
Status: INCLINED

Question details

Question
Type
Time
Difficulty
Score
javascript: object mutability
mcq
0m 10s
medium
0/5
expand_more

What is result of following code?

Options:
1
true
false
2
false
false
3
true
true
4
false
true
Correct option:
true
false
Candidate answer:
false
true
Attempts: 2
Options
Correct Answer
Candidate Answer
true
false
done
false
false
true
true
false
true
done
Total Attempts: 2
Tags: Pass by reference Object mutability
javascript: Object prototype
mcq
0m 5s
medium
0/5
expand_more

Q. What is output of following code?

Options:
1
Null
2
Empty string
3
xyz
4
Undefined
Correct option:
xyz
Candidate answer:
Empty string
Options
Correct Answer
Candidate Answer
Null
Empty string
done
xyz
done
Undefined
Tags:
Javascript: Prototype and Object references
mcq
0m 5s
hard
7/7
expand_more

What will following code print?

Options:
1
false true
2
true true
3
true false
4
false false
Correct option:
false false
Candidate answer:
false false
Options
Correct Answer
Candidate Answer
false true
true true
true false
false false
done
done
Tags: Array prototype Object references
javascript: array prototype and slice
mcq
0m 5s
hard
3.5/7
expand_more

What will below code snippet display after execution?

Options:
1
true
true
[{a:“Lorem”,d:“consectetur adipiscing elit”},{b:“dolor sit”},{c:“amet”},4,42
2
true
false
[{a: “Lorem”,d:“consectetur adipiscing elit”}, {b:“dolor sit”},{c: “amet”},4,5]
3
false
false
[{a:“Lorem”},{b:“dolor sit”}, {c: “amet”}, 4, 42]
4
false
true
[{a: “Lorem”, d:“consectetur adipiscing elit”}, {b:“dolor sit”}, {c: “amet”}, 4, 5]
Correct option:
false
true
[{a: “Lorem”, d:“consectetur adipiscing elit”}, {b:“dolor sit”}, {c: “amet”}, 4, 5]
Candidate answer:
false
true
[{a: “Lorem”, d:“consectetur adipiscing elit”}, {b:“dolor sit”}, {c: “amet”}, 4, 5]
Attempts: 2
Options
Correct Answer
Candidate Answer
true
true
[{a:“Lorem”,d:“consectetur adipiscing elit”},{b:“dolor sit”},{c:“amet”},4,42
true
false
[{a: “Lorem”,d:“consectetur adipiscing elit”}, {b:“dolor sit”},{c: “amet”},4,5]
false
false
[{a:“Lorem”},{b:“dolor sit”}, {c: “amet”}, 4, 42]
false
true
[{a: “Lorem”, d:“consectetur adipiscing elit”}, {b:“dolor sit”}, {c: “amet”}, 4, 5]
done
done
Total Attempts: 2
Tags: Array prototype Slice Object reference
javascript: objects
mca
0m 35s
medium
0/5
expand_more

Which of the following is not valid user object creation?

Options:
1
let user = {};
2
let user = {
	name: 'Foo',
	age: 30,
}
3
let user = {
	foo: undefined
};
4
const user = {
	name: 'Foo'
};
5
let user = undefined
Correct option:
let user = undefined
Candidate answer:
let user = {
	name: 'Foo',
	age: 30,
}
EOLlet user = {
	foo: undefined
};
Attempts: 2
Options
Correct Answer
Candidate Answer
let user = {};
let user = {
	name: 'Foo',
	age: 30,
}
let user = {
	foo: undefined
};
const user = {
	name: 'Foo'
};
let user = undefined
done
Total Attempts: 2
Tags: Objects
Javascript: arrow functions
mca
0m 7s
medium
5/5
expand_more

Q. Which of following statement are true about functions?

Options:
1
Functions are first class objects. They can be assigned, declared in code. 
2
Function Declarations are processed before the code block is executed.
3
Function Expressions are processed before the code block is executed.
4
Arrow function has its own 'this'
5
Since arrow function has its own this, they can be called with new
Correct option:
Functions are first class objects. They can be assigned, declared in code. 
EOLFunction Declarations are processed before the code block is executed.
Candidate answer:
Functions are first class objects. They can be assigned, declared in code. 
EOLFunction Declarations are processed before the code block is executed.
Options
Correct Answer
Candidate Answer
Functions are first class objects. They can be assigned, declared in code. 
Function Declarations are processed before the code block is executed.
Function Expressions are processed before the code block is executed.
Arrow function has its own 'this'
Since arrow function has its own this, they can be called with new
Tags: functions arrow functions
javascript: object creation
mca
0m 12s
hard
0/8
expand_more

Which of the following are not valid user objects in javascript?

Options:
1
let user = undefined
2
let user = {
	name: 'Foo',
	age: 24,
	'likes javascript': true
};
3
let user = {
	for: 1,
	let: 2,
	return: 3
};
4
let foo = 'bar';
let user = {
	[foo + 'bar']: 'barbar'
};
5
let name = prompt('What is user name?', 'foo');
let user = {
	[name]: 13,
};
Correct option:
let user = undefined
Candidate answer:
let user = {
	name: 'Foo',
	age: 24,
	'likes javascript': true
};
EOLlet user = {
	for: 1,
	let: 2,
	return: 3
};
EOLlet foo = 'bar';
let user = {
	[foo + 'bar']: 'barbar'
};
Attempts: 2
Options
Correct Answer
Candidate Answer
let user = undefined
done
let user = {
	name: 'Foo',
	age: 24,
	'likes javascript': true
};
let user = {
	for: 1,
	let: 2,
	return: 3
};
let foo = 'bar';
let user = {
	[foo + 'bar']: 'barbar'
};
let name = prompt('What is user name?', 'foo');
let user = {
	[name]: 13,
};
Total Attempts: 2
Tags: Objects
15.5 / 42

Update Score

Proctoring details

2 times
Candidate moved out of full screen
5 times
Candidate switched browser tabs
Webcam OK
Webcam proctoring

Webcam images

Code Replay