
COMP130_IO_Selection
Authored by W Mao
Computers
University
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 5 pts
n = input("Enter an expression", "s")
what is the value of n if user enter 1+1
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
fprintf('Some example output is %8.#f \n', pi*1000)
To generate the following output, what is the value of # ?
3141.593
0
2
3
7
3.
FILL IN THE BLANK QUESTION
1 min • 5 pts
The ____command allows the user to select 5 points from
a figure window and converts the points into the
appropriate x- and y-coordinates.
4.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
x = [ 1, 2, 3, 4, 5];
y = [2, 2, 2, 4, 6];
x<y
Which one is the result?
1
0
0 0 0 0 1
1 0 0 0 1
5.
FILL IN THE BLANK QUESTION
1 min • 5 pts
What is result of the following code
x = 25;
x < 30 < x
6.
FILL IN THE BLANK QUESTION
1 min • 5 pts
What is the result of the following code?
x = 2;
y = 2;
3 - x < x - y
7.
FILL IN THE BLANK QUESTION
1 min • 5 pts
What is the result of the following code?
x = 2;
y = 2;
(x==y)+1
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
11 questions
Latex
Quiz
•
University
10 questions
Tree and Planar Graph
Quiz
•
University
10 questions
CodeMonkey for B.Ed IT
Quiz
•
University
10 questions
Android
Quiz
•
University
10 questions
Bài 25 tin 10
Quiz
•
9th Grade - University
10 questions
Understanding Email, Contacts and Calendaring
Quiz
•
University
12 questions
Python Quiz 1.4
Quiz
•
University
10 questions
Logika Fuzzy
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade