III Part 1

III Part 1

University

20 Qs

quiz-placeholder

Similar activities

Python Fundamentals - Epsiode 02

Python Fundamentals - Epsiode 02

University

20 Qs

Рубежка Веб контент

Рубежка Веб контент

University

20 Qs

C Programming - Quiz

C Programming - Quiz

University

20 Qs

Python Internship Quiz

Python Internship Quiz

12th Grade - University

15 Qs

Asas Arduino

Asas Arduino

University

20 Qs

CEFET_Prog_Atividade1

CEFET_Prog_Atividade1

University

20 Qs

PIC-2 (Unit Test-1)

PIC-2 (Unit Test-1)

University

15 Qs

Python Coding Contest

Python Coding Contest

University

20 Qs

III Part 1

III Part 1

Assessment

Quiz

Education

University

Hard

Created by

ARAVINTH B

Used 1+ times

FREE Resource

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

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?