C Intro

C Intro

12th Grade

10 Qs

quiz-placeholder

Similar activities

Computer

Computer

10th - 12th Grade

9 Qs

C Programming Unit 2 Review

C Programming Unit 2 Review

12th Grade

15 Qs

Misconceptions Check

Misconceptions Check

9th - 12th Grade

15 Qs

Functions & Scope of variables in C++

Functions & Scope of variables in C++

11th Grade - University

15 Qs

Quiz - 6 on Relational & Logical Operators

Quiz - 6 on Relational & Logical Operators

12th Grade

10 Qs

Operators in C

Operators in C

9th - 12th Grade

10 Qs

Programmeerimiskeeled

Programmeerimiskeeled

10th Grade - University

12 Qs

UAS Logika dan Algoritma Pemrograman

UAS Logika dan Algoritma Pemrograman

1st Grade - University

15 Qs

C Intro

C Intro

Assessment

Quiz

Computers

12th Grade

Medium

Created by

John Livingston

Used 3+ times

FREE Resource

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

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?