COMP130_Functions Ch02

Quiz
•
Computers
•
University
•
Medium
W Mao
Used 2+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
STSCI 2120: Lecture 1

Quiz
•
University
10 questions
Sinh hoạt chuyên đề CBSV4 - CBSV5

Quiz
•
University
10 questions
Day1

Quiz
•
University
10 questions
PP_Lab_ESE_Batch1_Quiz_2023_24

Quiz
•
University
10 questions
Quiz-AIML

Quiz
•
University
10 questions
r tool

Quiz
•
University
10 questions
Talent Next Java MCQ-1

Quiz
•
University
10 questions
Introduction to Computer Science

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University