Search Header Logo

PRF192 (41 - 80)

Authored by Kasumii かすみい

Computers

University

Used 61+ times

PRF192 (41 - 80)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What in the following functions are formatted io functions?

putchar(...)

getchar()

println(...)

scanf(...)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The getchar function ....

clears the buffer automatically after retrieving

retrieves data values from every keystroke directly

treats the whitespace between the input values as a separator

None of the others

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these statements about the scanf function is not true?

It processes the input based on the entire format string

The whitespaces between the input values are treated as separators

If a character that does not meet the next conversion specification in the format string is found, it leaves the offending character in the buffer

It retrieves data values from every keystroke directly

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The function scanf(...) will return ........

A list of data entered

1 if success, 0 if failed

Number of fields successfully entered

Value of the first data entered

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Data validations do not include ...

trailing characters

incorrect number of input fields

invalid characters

out-of-range input

None of the others

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following header files declared functions related to dynamic memory allocation/ de-allocation?

stdlib.h

math.h

stdio.h

conio.h

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The function double pow(double, double) is declared in the header file .......

conio.h

math.h

stdio.h

stdlib.h

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?