UC_TM02_C Programming Basics

UC_TM02_C Programming Basics

University - Professional Development

16 Qs

quiz-placeholder

Similar activities

PBO Inheritance Episode 2

PBO Inheritance Episode 2

University

18 Qs

Redmi Note 10 Series

Redmi Note 10 Series

Professional Development

12 Qs

Java Control and Loop -2

Java Control and Loop -2

University

20 Qs

Lenguaje de Definición de Datos

Lenguaje de Definición de Datos

University

18 Qs

Intro to Data Mining

Intro to Data Mining

University

15 Qs

Project Procurement Management

Project Procurement Management

Professional Development

20 Qs

PENALARAN ANALISTIS

PENALARAN ANALISTIS

Professional Development

20 Qs

Noom | Day 3 - Enrollment

Noom | Day 3 - Enrollment

Professional Development

16 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?