C++ Quiz on C++ Library Functions

C++ Quiz on C++ Library Functions

University

15 Qs

quiz-placeholder

Similar activities

Architecture - 3

Architecture - 3

University

12 Qs

UDP Sockets

UDP Sockets

University

10 Qs

Week 1: Organization of NS, Cerebral Cortex, Brain Regions

Week 1: Organization of NS, Cerebral Cortex, Brain Regions

University

12 Qs

C++ set  3

C++ set 3

University

10 Qs

Introduction to HRM

Introduction to HRM

University

12 Qs

Raheel Ahmed/Nick Ratakowski - Chapter 7 Part 2 Quiz

Raheel Ahmed/Nick Ratakowski - Chapter 7 Part 2 Quiz

11th Grade - University

20 Qs

C++  quiz

C++ quiz

University

15 Qs

Vitamin C

Vitamin C

University

10 Qs

C++ Quiz on C++ Library Functions

C++ Quiz on C++ Library Functions

Assessment

Quiz

Other

University

Hard

Created by

Bryan Cajurao

Used 4+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 2 pts

What does the header file contain?

Function prototypes for stream manipulators

Function prototypes for math library functions

Function prototypes for the C-style standard input/output library functions

Function prototypes for C-style string-processing functions

2.

MULTIPLE CHOICE QUESTION

3 mins • 2 pts

Which function is used to convert a character to an uppercase letter?

toupper(c)

isalpha(c)

isupper(c)

tolower(c)

3.

MULTIPLE CHOICE QUESTION

3 mins • 2 pts

What is the purpose of the header file?

Contains function prototypes for C-style string-processing functions

Contains classes for accessing data in containers

Contains function prototypes for math library functions

Contains classes for runtime type identification

4.

MULTIPLE CHOICE QUESTION

3 mins • 2 pts

Which function returns the absolute value of a real number?

pow(x, y)

sqrt(x)

abs(x)

fabs(x)

5.

MULTIPLE CHOICE QUESTION

3 mins • 2 pts

What is the purpose of the header file?

Contains function prototypes for functions that perform input from files on disk and output to files on disk

Contains function prototypes for conversions of numbers to text

Contains function prototypes for math library functions

Contains function prototypes for the C-style standard input/output library functions

6.

MULTIPLE CHOICE QUESTION

3 mins • 2 pts

Which function is used to determine if a character is a digit?

isupper(c)

isalpha(c)

islower(c)

isdigit(c)

7.

MULTIPLE CHOICE QUESTION

3 mins • 2 pts

What is the purpose of the header file?

Contains classes and functions used by the C++ Standard Library to allocate memory

Contains classes for runtime type identification

Contains classes and functions normally used by stream processing to process data in the natural form for different languages

Contains classes for defining the numerical data type limits on each computer platform

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?