
COMP130_Functions Ch02
Authored by W Mao
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following functions computes the remainder of x/y?
rem()
abs()
exp()
sqrt()
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following rounds 1.4 to 2?
round(1.4)
fix(1.4)
floor(1.4)
ceil(1.4)
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is output of the following statement?
rad2deg(pi/2)
0
45
90
180
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following creates a vector x from 0 to 8 with an increment of 2?
x = 0 : 2 : 8
x = 0 : 8 : 2
x = 2 : 0 : 8
x = 8 : 2 : 0
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following computes the average value of vector x?
median(x)
ave(x)
mean(x)
mode(x)
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following cannot create vector X?
X = [5, 6, 7, 8]
X = [5 6 7 8]
X = 5 : 8
X = 5, 6, 7, 8
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Amazon Aptitude Quiz-SK-1
Quiz
•
University
10 questions
Bài 25 tin 10
Quiz
•
9th Grade - University
10 questions
ML Course Activity-II
Quiz
•
University
10 questions
Logika Fuzzy
Quiz
•
University
11 questions
Latex
Quiz
•
University
10 questions
Tree and Planar Graph
Quiz
•
University
10 questions
CodeMonkey for B.Ed IT
Quiz
•
University
10 questions
Quiz 1
Quiz
•
University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University