PRF192 (41 - 80)

PRF192 (41 - 80)

University

40 Qs

quiz-placeholder

Similar activities

online cognitive test

online cognitive test

University

40 Qs

Java Programming

Java Programming

University

40 Qs

FINAL IM

FINAL IM

University

43 Qs

CSCI Test 2 (Practice)

CSCI Test 2 (Practice)

University

37 Qs

TypeScript_Ver3

TypeScript_Ver3

University

40 Qs

Technical MCQ

Technical MCQ

University

45 Qs

Data Structures Quiz

Data Structures Quiz

University

44 Qs

SQL

SQL

University

35 Qs

PRF192 (41 - 80)

PRF192 (41 - 80)

Assessment

Quiz

Computers

University

Medium

Created by

Kasumii かすみい

Used 61+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?