Search Header Logo

C Programming Midterm Review

Authored by Robert Madera

Computers

11th - 12th Grade

Used 87+ times

C Programming Midterm Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int main()


{


int a = 10, b = 25;


a = b++ + a++;


b = ++b + ++a;


printf("%d %d n", a, b);


}

36 64

35 62

36 63

30 28

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int main ()


{


int x = 24, y = 39, z = 45;


z = x + y;


y = z - y;


x = z - y;


printf ("n%d %d %d", x, y, z);


}

24 39 63

39 24 63

24 39 45

39 24 45

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who is Father of C Language

Bjarne Stroustrup

James A. Gosling

Dennis Ritchie

Dr. E.F. Codd

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

C Language is developed at ___________?

AT & T's Bell Laboratories of USA in 1972

AT & T's Bell Laboratories of USA in 1970

Sun Microsystems in 1973

Cambridge University in 1972

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

C programs are converted into machine language with the help of

An Editor

A compiler

An operating system

None of these.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the only function all C programs must contain?

start()

system()

printf()

main()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a correct variable type?

float

real

int

char

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?