Search Header Logo

C Intro

Authored by John Livingston

Computers

12th Grade

Used 3+ times

C Intro
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is a valid C keyword?

function

return

loop

begin

2.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

stdio.h is a___________

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is used to declare a variable in C?

let

define

var

int

4.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

Read the following passage and answer questions:

C programs follow a structured format. A typical program begins with a preprocessor section, followed by the main function. Inside the main function, variables are declared and logic is implemented using C syntax. Data types in C include int, float, and char.

Question:
Which section usually comes first in a C program?

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the correct syntax to declare an integer variable in C?

int x;

integer x;

num x;

x = int;

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which data type is used to store a single character?

A) string

B) char

C) text

D) letter

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the output of this code?

53

8

5+3

Error

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?