Search Header Logo

FE1prf192

Authored by Duy Đoàn Minh

Engineering

University

Used 1+ times

FE1prf192
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who is the inventor of the C programming language?

Dennis Richie

Bjarne Stroustrup

Brian Kernighan

Niklaus Wirth

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does compilation differ from interpretation in the context of the C programming language?

Compilation involves converting source code into machine code, while interpretation executes the code line by line.

Compilation and interpretation are two terms used interchangeably.

Algorithm is another term for interpretation in programming languages.

The IDE tool is responsible for both compilation and interpretation processes.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens to comments during the compilation process?

The comment markers will be removed. The content of the comments will be compiled line by line.

Comments are treated as a character array.

Comments will be removed in the preprocessing step.

Each comment is compiled as a no-op statement.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What converts a C source file into machine language so that the computer can execute it?

A compiler

A text editor

A file

A program

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The main purpose of the const keyword when used with function parameters in C is what?

It prevents the function from modifying the value of the parameter

It ensures the parameter is passed by reference

It limits the scope of the parameter within the function

It specifies that the parameter should be initialized

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of a float variable in bytes?

2 bytes

1 byte

8 bytes

4 bytes

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable definition?

int 1student_ID;

int _Student_ID1;

int Age$;

int long;

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?