Question 1

Time: 00:00:00
What is the output of the following code?

Ques 1 Pseudo code Quiz-1 (hackerrank)

 

0.5  0.5  0.5

0.5  0.5  0.5

0  0.5  0.5

0  0.5  0.5

0  0  0.5

0  0  0.5

0  0  0

0  0  0

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 2

Time: 00:00:00
What is the return type of size of the operator?

Long long int

Long long int

Double

Double

Int

Int

Unsigned int

Unsigned int

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 3

Time: 00:00:00
What is the output of the following code?

Ques 3 Pseudo code Quiz-1 (hackerrank)

Compile time error›

Compile time error›

Will Run Perfectly

Will Run Perfectly

Will call main once

Will call main once

Will call main until the stack is not full

Will call main until the stack is not full

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 4

Time: 00:00:00
What is the output of the following code?

Ques 4 Pseudo code Quiz-1 (hackerrank)

Compile time error›

Compile time error›

1

1

2

2

3

3

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 5

Time: 00:00:00
What is the complexity of the following code?

Ques 5 Pseudo code Quiz-1 (hackerrank)

Log_{2}n

Log_{2}n

Log_{10}n

Log_{10}n

n^{2}

n^{2}

N

N

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 6

Time: 00:00:00
Predict the output

Ques 6 Pseudo code Quiz-1 (hackerrank)

Compile Time Error

Compile Time Error

Runtime Error

Runtime Error

10 20 10 20

10 20 10 20

10 20

10 20

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 7

Time: 00:00:00
Predict the output

Ques 7 Pseudo code Quiz-1 (hackerrank)

42 8

42 8

42 -42

42 -42

42 43

42 43

42 -43

42 -43

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 8

Time: 00:00:00
Predict the output

Ques 8 Pseudo code Quiz-1 (hackerrank)

'0'

'0'

1

1

2

2

3

3

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 9

Time: 00:00:00
Predict the output

11

11

10

10

Compile Time Error

Compile Time Error

Run time error

Run time error

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 10

Time: 00:00:00
What is the output of the following code?

Ques 10 Pseudo code Quiz-1 (hackerrank)

0 1 2 Default

0 1 2 Default

1 2 Default

1 2 Default

2

2

1

1

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

["0","40","60","80","100"]
["Need more practice!","Keep trying!","Not bad!","Good work!","Perfect!"]

Personalized Analytics only Availble for Logged in users

Analytics below shows your performance in various Mocks on PrepInsta

Your average Analytics for this Quiz

Rank

-

Percentile

0%

Get over 200+ Courses under One Subscription

mute

Don’t settle Learn from the Best with PrepInsta Prime Subscription

Learn from Top 1%

One Subscription, For Everything

The new cool way of learning and upskilling -

Limitless Learning

One Subscription access everything

Job Assistance

Get Access to PrepInsta Prime

Top Faculty

from FAANG/IITs/TOP MNC's

Get over 200+ course One Subscription

Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others.

Comments