NEW
Font size
WorksheetsRound 1 for Preplacement Bootcamp.
Total questions: 15
Worksheet time: 3hrs 30mins
In Data Structures. you are working on Arrays. You are given a Pseudocode that implements various operations.If you have this pseudocode in a programming language then what will be the output?
56,34,27,75,49,53,16,65
65,16,53,49,75,27,34,56
65,16,53,75,49,27,34,56
Error
What is the output of the following pseudocode:
0
10
11
-1
Who owns x[dot]com:
Jan Koum
Mark Zuckerberg
Bill Gates
Elon Musk
What is the output of the following code:
12
13
14
15
The output of the following code:
1 1
1 2
2 1
2 2
What is the shortest path between 'a' to 'e' :
a->f->e
a->b->d->e
a->c->d->e
a->c->f->e
What will be the output of the following pseudo-code for a=1, b=6?
(Note- &&: Logical AND - The logical AND operator (&&) returns the Boolean value true(or 1) if both operands are true and return false(or 0)otherwise
& bitwise AND - The bitwise AND operator (&) compares each bit of the first operand to the corresponding bit of the second operand. If both bits are 1, the corresponding result bit is set to 1. Otherwise, the corresponding result but is set to 0)
29
27
30
22
what is the final value of i ?
4
3
5
2
IMDb is owned by:
Microsoft
Amazon
J.P. Morgan
Tesla
What will be the output of the following pseudocode for arr[] = 1,2,3,4,5
3 3 4 9 5
4 3 7 5 2
3 5 7 9 5
1 2 3 4 5
What will be the output of the following pseudocode?
3
4
2
0
"let that sink in"
is related with...
(This Question contains no points)
Microsoft
Amazon
Write a query to fetch the number of employees working in the department ‘HR’.
SELECT COUNT(*) FROM EmployeeInfo WHERE Department = 'HR';
SELECT COUNT(*) FROM EmployeeInfo WHERE Dept = "HR"
SELECT COUNT(EmpID,EmpFname,EmpLname,Department,Project,Address,DOB) FROM EmployeeInfo WHERE Dept = 'HR';
SELECT COUNT() FROM EmployeeInfo WHERE Department = 'HR';
What is the output of the code?
299
677
555
366
Which access specifier is used when no access specifier is used with a member of class (java)?
Public
Private
Default
Protected
