Search Header Logo

Orientation Quiz

Authored by Akil Morani

Computers

University - Professional Development

Used 5+ times

Orientation  Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is it possible to run program without main() function?

Yes

No

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many main() function we can have in our project?

1

2

No Limits

Depends on Compiler

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is sizeof() in C?

Operator

Fuction

Macro

None of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is it true that a function may have several declaration, but only one definition.

Yes

No

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

int main(){

extern int i;

i = 20;

printf("%d", sizeof(i));

return 0;

}

20

0

Undefined reference to i

Linking error

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

int main()

{


char *ptr1, *ptr2;

printf("%d %d", sizeof(ptr1), sizeof(ptr2));


return 0;

}

1 1

2 2

4 4

Undefined

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which programming language is more faster among these?

Java

C

Visual Basic

PHP

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?