
Week 3: Vector Practice
Authored by Emma Nagy
Computers
University
Used 13+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output when the following line is run:
var = class('a')
char
double
logical
cell
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output when the following line is run:
var = class(7)
char
double
logical
cell
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output when the following line is run:
var = class(false)
char
double
logical
cell
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output when the following line is run:
var = class('7')
char
double
logical
cell
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the output when the following line is run:
var = floor(4.678)
4.67
4
5
4.7
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the output when the following line is run:
var = ceil(2.003)
2
2.00
2.01
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
True or False: A vector must contain data of all the same type.
true
false
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?