Search Header Logo

C1_Overview of Programming

Authored by nguyen mai

Other

University

C1_Overview of Programming
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

30 sec • 1 pt

What is a program?

A sequence of instructions that control the operation of a computer to solve a problem

A recipe that instructs a chef how to make a cake

A sequence of stories told to computers

A set of rules for playing a game

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the role of compilers in programming languages?

Translate high-level language programs into machine code

Translate machine code into high-level language programs

Translate assembly language programs into machine code

Translate machine code into assembly language programs

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare a constant in C programming?

#define

const =

constant =

var =

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of variables in programming?

To store and manipulate data during program execution

To define constants and macros

To control the operation of a computer

To translate high-level language programs into machine code

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the process of writing and compiling a basic program?

Write the program, compile the program, link the files, run the program

Compile the program, write the program, link the files, run the program

Link the files, compile the program, write the program, run the program

Run the program, link the files, compile the program, write the program

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the stdio.h library in C programming?

To provide input/output functions

To perform mathematical calculations

To manipulate strings

To control program flow

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to print formatted output to the standard output device?

printf()

scanf()

getchar()

putchar()

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?