C basic

C basic

University

10 Qs

quiz-placeholder

Similar activities

Kuis Pengenalan Bahasa C Part 2

Kuis Pengenalan Bahasa C Part 2

12th Grade - University

15 Qs

Skill Development - Debugging Practice1

Skill Development - Debugging Practice1

10th Grade - Professional Development

10 Qs

Cơ sở lập trình_chương 4

Cơ sở lập trình_chương 4

University

15 Qs

ARRAYS AND FUNCTIONS

ARRAYS AND FUNCTIONS

University

15 Qs

Decision Control Structure

Decision Control Structure

University

10 Qs

IPC144 SLG -- Week2

IPC144 SLG -- Week2

University

9 Qs

Recap

Recap

University

15 Qs

Basics of C

Basics of C

University

10 Qs

C basic

C basic

Assessment

Quiz

Computers

University

Easy

Created by

Yh Z

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 mins • 5 pts

On average, people with a college degree earn ______ per week, while people with only a high school diploma make ______ per week.

College: $1009

High School: $952

College: $1110

High School: $985

College: $1305

High School: $781

College: $1062

High School: $881

2.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

1.Who invented C Language.?

Charles Babbage

Grahambel

Dennis Ritchie

Steve Jobs

3.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

What is the output of the C statement.?

int main()

{

int a=0;

a = 5<2 ? 4 : 3;

printf("%d",a);


return 0;

}

4

3

5

2

4.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Choose a C Conditional Operator from the list.

?:

:?

:<

<:

5.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Which of the following is not a correct variable type?

float

real

int

double

6.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

To print out 'a' as an integer and 'b' as a decimal, which of the following printf() statement will you use?

printf("%f %lf", a, b)

printf("%f %f", a, b)

printf("%d %f", a, b)

printf("%f %d", a, b)

7.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Which of the following is not logical operator?

&

&&

||

!

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?