Search Header Logo

Engineers Day Celebration Quiz - Code IT, STME HYD

Authored by Harsh Bang

Other

University

Used 10+ times

Engineers Day Celebration Quiz - Code IT, STME HYD
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following countries celebrates National Engineers' Day on 15th Sept?

India

Sri Lanka

Tanzania

All Of The Above

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The title given to Mokshagundam Visvesvaraya was –

  • diwan of royal court

  • diwan of Mysore

  • diwan of bengal

  • None of These

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

I am an odd number. Take away one letter, and I become even.
What number am I ?

Answer explanation

Ans is Seven (7) which is odd

When you remove the letter "S," you get "even."

4.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Which of the following user-defined header file extension used in c++ ?

hg

cpp

h

hf

Answer explanation

.h extensions are used for user defined header files.

To include a user defined header file one should use #include”name.h”

5.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

What will be the output of the following C++ code

Segmentation fault

Nothing is printed

Error

cin: garbage value

Answer explanation

cin is a variable hence overrides the cin object. cin >> cin has no meaning so no error

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following approach is used by C++

Left-right

Right-left

Bottom-up

Top-down

Answer explanation

C++ is an object-oriented language and OOL uses a bottom-up approach to solve/view a problem

7.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

What happens if the following C++ statement is compiled and executed

not semantically correct

compiled and executed successfully

compile-time error

error during run-time

Answer explanation

Syntactically and Semantically correct as C++ allows the programmer to delete a NULL pointer

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?