Search Header Logo

C Programming Quiz

Authored by Karen Tan

Architecture

10th Grade

Used 1+ times

C Programming Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

What is the expected output of the following C program? Name : Alexandra Abramov DOB : July 14, 1975 Mobile : 99-9999999999

B. Name : John Doe DOB : January 1, 2000 Mobile : 123-456-7890

C. Name : Jane Smith DOB : March 8, 1988 Mobile : 555-555-5555

D. Name : Michael Johnson DOB : December 25, 1995 Mobile : 987-654-3210

A. Name : Alexandra Abramov DOB : July 14, 1975 Mobile : 99-9999999999

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What does the C program do? We are using C18!

D. None of the above

B. Checks if the C version is C18

A. Prints the C version C18

C. Converts the C version to C18

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What does the C program print? ###### # # ##### # # # ###### ## ## # # # # # ## ## ######

C. A large C only

D. None of the above

B. A block F only

A. A block F and a large C

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the reverse of the characters 'X', 'M', 'L'?

A. LMX

D. XLM

B. XML

C. MLX

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the perimeter of a rectangle with height 7 inches and width 5 inches?

D. 35 inches

C. 30 inches

B. 26 inches

A. 24 inches

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the area of a circle with a radius that gives a perimeter of 37.68 inches?

A. 113.04 square inches

B. 125.66 square inches

D. 200.96 square inches

C. 150.48 square inches

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What does the C program display? a+ c, x + c,dx + x, ((int) dx) + ax, a + x, s + b, ax + b, s + c, ax + c, ax + ux Declaration : int a = 125, b = 12345; long ax = 1234567890; short s = 4043; float x = 2.13459; double dx = 1.1415927; char c = 'W'; unsigned long ux = 2541567890;

A. Displays multiple variables

B. Calculates the sum of variables

C. Converts variables to strings

D. None of the above

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?