III Part 1

III Part 1

University

20 Qs

quiz-placeholder

Similar activities

Business English Units 1-2 Vocabulary

Business English Units 1-2 Vocabulary

11th Grade - Professional Development

20 Qs

Primera Guerra Mundial - WWI

Primera Guerra Mundial - WWI

7th Grade - Professional Development

19 Qs

GTB225 Study design

GTB225 Study design

University

18 Qs

Reinforced Concrete: Beam Design (Eurocode 2)

Reinforced Concrete: Beam Design (Eurocode 2)

University

18 Qs

Des Fleurs pour Algernon de Daniel Keyes

Des Fleurs pour Algernon de Daniel Keyes

1st Grade - Professional Development

20 Qs

Theories of Learning - FT

Theories of Learning - FT

University

17 Qs

UN101

UN101

University

20 Qs

Measure of Central Tendency and Dispersion

Measure of Central Tendency and Dispersion

University

16 Qs

III Part 1

III Part 1

Assessment

Quiz

Education

University

Practice Problem

Hard

Created by

ARAVINTH B

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of an int data type in C?

2 bytes

4 bytes

8 bytes

16 bytes

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct comment in C?

// Comment

/* Comment */

Both a and b

# Comment

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid variable name in C?

var_name

2name

name2

_name

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following C code? int main() { int a = 5, b = 10; printf("%d", a + b); return 0; }

10

5

15

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function is used to print something to the console?

print()

printf()

scanf()

cout

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operators is used to get the address of a variable in C?

*

&

->

%

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define a function in Python?

def

function

define

fun

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?