UC_TM02_C Programming Basics

UC_TM02_C Programming Basics

University - Professional Development

16 Qs

quiz-placeholder

Similar activities

Kuis NUTRIFLAKES III

Kuis NUTRIFLAKES III

Professional Development

20 Qs

Manajemen Risiko

Manajemen Risiko

Professional Development

15 Qs

Python Quiz

Python Quiz

University

15 Qs

DTA Kaun Banega QuizPati - Theme: General Knowledge

DTA Kaun Banega QuizPati - Theme: General Knowledge

Professional Development

20 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

Java Quiz 4

Java Quiz 4

University

15 Qs

CPR_Quiz_Arrays and strings

CPR_Quiz_Arrays and strings

Professional Development

20 Qs

Skill Competition Quiz 2024

Skill Competition Quiz 2024

10th Grade - University

20 Qs

UC_TM02_C Programming Basics

UC_TM02_C Programming Basics

Assessment

Quiz

Computers, Professional Development

University - Professional Development

Practice Problem

Medium

Created by

Koushik Thutupalli

Used 47+ times

FREE Resource

AI

Enhance your content in a minute

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

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following statement is false?

Name of the variable can have letters,digits and underscore

Upper case and Lower case letters are distinct in C

Variable name can begin with digit

Variable name cannot have C reserved words

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

To calculate the remainder which of the following option is used?

a mod b

a%b

a/b

a^b

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not a valid data type?

char

int

short

bigint

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output ?

int main()

{

int x=10,y=20,res;

res = (x < y) ? x : y;

printf("output %d " , res);

return 0;

}

compile error

10

20

run time error

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Char datatype will be allocate storage size of ?

2 byte

4 byte

8 byte

1 byte

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

which of the following is not a valid identifier?

1empno

emp_1_no

empno1

emp_no1

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the below is not a built in or primary datatype in C?

int

char

float

enum

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?