Orientation  Quiz

Orientation Quiz

University - Professional Development

50 Qs

quiz-placeholder

Similar activities

Recursion in C/Java/Python

Recursion in C/Java/Python

University

50 Qs

CIE2 Java Lab Quiz

CIE2 Java Lab Quiz

University

50 Qs

Java Array

Java Array

Professional Development

55 Qs

Technical Quiz 2022-23

Technical Quiz 2022-23

University

50 Qs

C Language

C Language

University

50 Qs

MEcp1LABMT1030

MEcp1LABMT1030

University

50 Qs

GNU Debugger Quiz

GNU Debugger Quiz

University

50 Qs

ES084 Final Exam

ES084 Final Exam

University

50 Qs

Orientation  Quiz

Orientation Quiz

Assessment

Quiz

Computers

University - Professional Development

Hard

Created by

Akil Morani

Used 5+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?