Programming using C

Programming using C

University

10 Qs

quiz-placeholder

Similar activities

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Topic 4-2: Multiple if-else and switch-case

Topic 4-2: Multiple if-else and switch-case

University

10 Qs

1-基本数据类型

1-基本数据类型

University

10 Qs

Chap 1: What is a program made of?

Chap 1: What is a program made of?

University

13 Qs

21CSC305P - Machnine Learning - Quiz

21CSC305P - Machnine Learning - Quiz

University

15 Qs

Pythonintro

Pythonintro

University

15 Qs

Lourdes Amaranta Ayala Gracia

Lourdes Amaranta Ayala Gracia

8th Grade - University

10 Qs

cp06-01-1D-Array

cp06-01-1D-Array

University

10 Qs

Programming using C

Programming using C

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

PRIYA CSE

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...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who is the father of C language?



a) Steve Jobs

b) James Gosling

c) Dennis Ritchie

d) Rasmus Lerdorf

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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



a) int number;

b) float rate;

c) int variable_count;

d) int $main;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All keywords in C are in ____________




a) LowerCase letters

b) UpperCase letters

c) CamelCase letters

d) None of the mentioned

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is valid C expression?



a) int my_num = 100,000;

b) int my_num = 100000;

c) int my num = 1000;

d) int $my_num = 10000;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following cannot be a variable name in C?



a) volatile

b) true

c) friend

d) export

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following declaration is not supported by C language?



a) String str;

b) char *str;

c) float str = 3e2;

d) Both “String str;” and “float str = 3e2;”

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true for variable names in C?



a) They can contain alphanumeric characters as well as special characters

b) It is not an error to declare a variable to be one of the keywords(like goto, static)

c) Variable names cannot start with a digit

d) Variable can be of any length

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?

Discover more resources for Computers