COMP130_Symbolic
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
W Mao
Used 8+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Both symbolic variables and expressions are represented in Matlab using the sym datatype.
True
False
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Given the following code:
syms x;
expr = x + 2;
x = 10;
What would be the value of expr * 3 ?
double value 36
symbolic expression 3*x + 6
error
symbolic value 36
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Symbolic equations are created using
=
==
===
the isequal function
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following code outputs 2?
syms x;
int(diff(x^2))
syms x;
diff(diff(x^2))
syms x;
diff(int(x))
syms x;
int(int(x))
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code?
z = str2sym('a+2*a+(a-1)^2')
collect(z)
error
3*a + (a - 1)^2
a^2 + a + 1
a + 2*a + a^2 - 2*a + 1
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
syms x a b c;
e1 = a*x^2+b*x+c == 0;
Given the above code, which of the following outputs x^2 + 2*x + 3 == 0 ?
subs(e1,{1, 2, 3})
subs(e1,[1, 2, 3])
subs(e1, {a, b, c}, {1, 2, 3})
subs(e1, (a, b, c), (1, 2, 3))
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
syms x
y = x^2;
Given the above code, which of the following is most likely to generate the figure?
fplot(y, [-7,7])
fplot(y)
fplot([-7, 7], y)
plot(x, y)
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
Función CONTAR
Quiz
•
KG - Professional Dev...
12 questions
Python Quiz 1.4
Quiz
•
University
10 questions
Logika Fuzzy
Quiz
•
University
11 questions
Latex
Quiz
•
University
10 questions
Tree and Planar Graph
Quiz
•
University
10 questions
Mini 2 (5junio)
Quiz
•
University
10 questions
03 - Određivanje kardinaliteta
Quiz
•
University
10 questions
Bài 25 tin 10
Quiz
•
9th Grade - 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

