PRF192 (41 - 80)

PRF192 (41 - 80)

University

40 Qs

quiz-placeholder

Similar activities

OH MY ECMA

OH MY ECMA

University - Professional Development

44 Qs

ICT Audit 05052021

ICT Audit 05052021

University

35 Qs

Tema 6 Programación Básica

Tema 6 Programación Básica

University

40 Qs

IT 121- Formative Assessment # 2

IT 121- Formative Assessment # 2

University

40 Qs

DSA QUIZ - 2 (17-06-23)

DSA QUIZ - 2 (17-06-23)

University

40 Qs

Test 2

Test 2

University

36 Qs

Linked List

Linked List

University

40 Qs

function in Python

function in Python

University

37 Qs

PRF192 (41 - 80)

PRF192 (41 - 80)

Assessment

Quiz

Computers

University

Medium

Created by

Kasumii かすみい

Used 60+ 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?