COMP130_IO_Selection

Quiz
•
Computers
•
University
•
Medium
W Mao
Used 6+ times
FREE Resource
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
8.
FILL IN THE BLANK QUESTION
1 min • 5 pts
what is the result of the following code
x = 1.1;
floor(x) == x | floor(x) == round(x)
9.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which of the following statements is true if the output is Case 3
x is greater than 6
y is equal to 'A'
x is greater than 6
y is not equal to 'A'
x is less than or equal to 6
y is not equal to 'A'
x is less than or equal to 6
y is equal to 'A'
Similar Resources on Wayground
10 questions
Machine Learning - Unit 1 - Quiz 1

Quiz
•
University
12 questions
Conversões de tipo Java

Quiz
•
University
10 questions
TIU Quiz-10

Quiz
•
University
10 questions
Intro to Programming Quiz

Quiz
•
University
10 questions
Quiz 10

Quiz
•
University
11 questions
Python basics

Quiz
•
University
10 questions
Expression in C Programming

Quiz
•
University
12 questions
Operators in C

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University