Hitha C Quiz 1

Hitha C Quiz 1

Professional Development

•

96 Qs

quiz-placeholder

Similar activities

Car logos

Car logos

KG - Professional Development

•

93 Qs

spanish words

spanish words

KG - Professional Development

•

94 Qs

mecatrónica automotriz

mecatrónica automotriz

Professional Development

•

100 Qs

On The Job Training RBB PG 2025

On The Job Training RBB PG 2025

Professional Development

•

100 Qs

Quizizz BAB X dan XII Pejuang PBJ 2021

Quizizz BAB X dan XII Pejuang PBJ 2021

Professional Development

•

100 Qs

PFRC 101-200

PFRC 101-200

Professional Development

•

100 Qs

Pancasila dan UUD 1945 - Bimbel Tunas Melati

Pancasila dan UUD 1945 - Bimbel Tunas Melati

10th Grade - Professional Development

•

100 Qs

SOAL TATA USAHA

SOAL TATA USAHA

Professional Development

•

100 Qs

Hitha C Quiz 1

Hitha C Quiz 1

Assessment

Quiz

•

Other

•

Professional Development

•

Practice Problem

•

Hard

Created by

Lebara 2023

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

96 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

C Programming – Features & The First C Program -- Which of the following is NOT a characteristic of C programming?

Machine-independent
High-level language
Primarily object-oriented
Structured programming language

Answer explanation

C is a procedural language and not primarily object-oriented, unlike C++ or Java.

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

C Programming – Features & The First C Program -- What is the main function of the preprocessor directive `#include <stdio.h>`?

Links the standard input/output library
Defines a new function
Declares a global variable
Includes user-defined headers

Answer explanation

It includes the standard input/output header file, providing access to functions like `printf` and `scanf`.

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

C Programming – Features & The First C Program -- What is the purpose of the `main()` function in a C program?

It's an optional function
It's the entry point of execution
It declares global variables
It handles error logging

Answer explanation

Program execution in C always begins from the `main()` function.

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

C Programming – Features & The First C Program -- Which of the following is the correct way to end a C statement?

A colon (:)
A semicolon (;)
A period (.)
A comma (,)

Answer explanation

Every statement in C must end with a semicolon.

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

C Programming – Features & The First C Program -- Which of the following is a key feature of C that allows direct memory manipulation?

Garbage collection
Pointers
Virtual memory
Polymorphism

Answer explanation

C's powerful pointer concept allows for direct memory access and manipulation.

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Introduction to Variables -- What is a variable in C?

A fixed value that cannot be changed
A named storage location in memory
A function that performs a specific task
A predefined keyword in the language

Answer explanation

A variable is a symbolic name for a memory location used to store data.

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Introduction to Variables -- Which of the following is a valid declaration of an integer variable in C?

`int 1num;`
`_int num;`
`int num;`
`integer num;`

Answer explanation

`int` is the correct keyword for an integer, and `num` is a valid identifier.

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?