Hitha - C - Easy Paper

Hitha - C - Easy Paper

University

99 Qs

quiz-placeholder

Similar activities

Quiz - MK Aplikasi Komputer Kelas ABCDEFG TA 2025 Ganjil

Quiz - MK Aplikasi Komputer Kelas ABCDEFG TA 2025 Ganjil

University

104 Qs

дбмс  1 уровень

дбмс 1 уровень

University

101 Qs

LEARNING OUTCOMES - PART 1

LEARNING OUTCOMES - PART 1

University

100 Qs

Computer and Technology Basics

Computer and Technology Basics

University

95 Qs

CT112-Mạng máy tính

CT112-Mạng máy tính

University

98 Qs

Викторина без названия

Викторина без названия

University

100 Qs

UAS SFD

UAS SFD

University

100 Qs

Cuestionario sobre Leyes Educativas

Cuestionario sobre Leyes Educativas

3rd Grade - University

101 Qs

Hitha - C - Easy Paper

Hitha - C - Easy Paper

Assessment

Quiz

Information Technology (IT)

University

Medium

Created by

Lebara 2023

Used 1+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

99 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the file extension for C source code files?
.cpp
.java
.c
.py

Answer explanation

C source code files typically end with the `.c` extension.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which function is the entry point of every C program?
start()
begin()
main()
run()

Answer explanation

The `main()` function is where the execution of a C program begins.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which symbol is used to mark the end of a statement in C?
:
;
,
.

Answer explanation

A semicolon (`;`) is used to terminate most statements in C.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you write a single-line comment in C?
`/* comment */`
`// comment`
``
`# comment`

Answer explanation

`//` is used for single-line comments in C (and C++).

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you write a multi-line comment in C?
`/* comment */`
`// comment`
`# comment #`
`-- comment --`

Answer explanation

`/*` starts a multi-line comment and `*/` ends it.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which data type is used to store whole numbers (integers)?
float
char
int
double

Answer explanation

The `int` data type is used to store integer values.

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which data type is used to store single characters?
int
char
float
bool

Answer explanation

The `char` data type is used to store a single character.

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?