Basic C Programming - Assignment Statement

Basic C Programming - Assignment Statement

12th Grade

10 Qs

quiz-placeholder

Similar activities

Identify Aircraft as Military, Civilian and Cadet​

Identify Aircraft as Military, Civilian and Cadet​

KG - Professional Development

15 Qs

Organik Bileşik Sınıfları Testi

Organik Bileşik Sınıfları Testi

12th Grade

10 Qs

Game quiz ôn tập 2

Game quiz ôn tập 2

1st Grade - Professional Development

10 Qs

แบบทดสอบก่อนเรียน การเขียนโปรแกรม

แบบทดสอบก่อนเรียน การเขียนโปรแกรม

12th Grade

15 Qs

Bài 5: Khai báo biến - Tin học 11

Bài 5: Khai báo biến - Tin học 11

4th Grade - University

7 Qs

Quiz z programowania w C++ (sekcja - podstawy)

Quiz z programowania w C++ (sekcja - podstawy)

12th Grade

12 Qs

การเขียนโปรแกรมโดยใช้ภาษาซี

การเขียนโปรแกรมโดยใช้ภาษาซี

10th Grade - Professional Development

5 Qs

C тіліндегі массивтер туралы тест

C тіліндегі массивтер туралы тест

12th Grade

13 Qs

Basic C Programming - Assignment Statement

Basic C Programming - Assignment Statement

Assessment

Quiz

Education

12th Grade

Medium

Created by

Hafizul Hasmie

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the keyword used to declare a variable in C?

char

dec

int

var

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the basic data types available in C?

int, char, float, double

bool

string

void

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the arithmetic operator used for addition in C?

/

+

*

-

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to take input from the user in C?

print

getchar

scanf

input

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare an integer variable named 'num' in C?

num = int;

int num();

integer num;

int num;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type used to store decimal numbers in C?

float

decimal

long

double

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the expression '5 + 3 * 2' in C?

13

7

10

11

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?