What does the abs() function return?
C Programming Functions Quiz

Quiz
•
English
•
1st Grade
•
Hard
Learn With Me
Used 2+ times
FREE Resource
Student preview

30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The absolute value of a number
The square of a number
The cube of a number
The negative value of a number
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which header file is needed for math functions?
string.h
include.h
math.h
Mathematics.h
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the ceil() function do?
Rounds a number up
Returns the square root
Returns the absolute value
Rounds a number down
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of value does the floor() function return?
Double
Integer
Character
String
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the sqrt() function calculate?
Square of a number
Square root of a number
Cube of a number
Cube root of a number
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the pow() function do?
Calculates the square root
Calculates the power of a number
Calculates the absolute value
Calculates the logarithm
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the log() function calculate?
Absolute value
Square root
Natural logarithm
Power of a number
Create a free account and access millions of resources
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade