Search Header Logo

9A Quiz

Authored by Victoria Galanciuc

Computers

9th - 12th Grade

Used 1+ times

9A Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What data type is used to represent true/false values in C?

int
char
bool
double

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following is not a logical operator in C?

&&
!!
!
&

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which keyword is used to declare a boolean variable in C?

bool
boolean
stdbool
int

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following is not a valid function for reading from a file in C?

fgets
fgetc
fscanf
fputc

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the function used to set the position indicator in a file in C?

feof()
fprintf()
fseek()
fgets()

6.

OPEN ENDED QUESTION

30 sec • Ungraded

Write the instruction in C for opening a file named "file.txt" in read mode.

Evaluate responses using AI:

OFF

7.

FILL IN THE BLANKS QUESTION

30 sec • 5 pts

Explain the difference between fprintf() and fputc()

(a)  

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?