

InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
1. |
The meshc() command takes complex inputs.(a) True(b) FalseThe question was posed to me in unit test.My enquiry is from Three-Dimensional Plots topic in division MATLAB Graphics of MATLAB |
Answer» The CORRECT CHOICE is (b) False |
|
2. |
What is the slope of the sawtooth waveform generated by the sawtooth command?(a) 1/pi(b) pi(c) 1/(2*pi)(d) 2*piThe question was posed to me during an online interview.I'm obligated to ask this question of Two-Dimensional Plots in section MATLAB Graphics of MATLAB |
Answer» CORRECT CHOICE is (a) 1/pi Explanation: The SLOPE of the sawtooth waveform always has a slope of 1/pi. |
|
3. |
The text given to the graphs can be made bold.(a) True(b) FalseThis question was addressed to me in my homework.I'd like to ask this question from Customizing and Manipulating Graphics in portion MATLAB Graphics of MATLAB |
Answer» CORRECT choice is (a) TRUE The explanation: The texts given to the graph can be made BOLD by giving \bf and the writing the text which we want to MAKE it bold. Hence, the above statement is true. |
|
4. |
Inline functions can be plotted by the _________ command.(a) ezplot()(b) plot3()(c) plot()(d) cannot be doneI got this question in an online interview.My query is from Two-Dimensional Plots in chapter MATLAB Graphics of MATLAB |
Answer» Right option is (a) ezplot() |
|
5. |
Which command can be used to generate multiple graphs in the same window?(a) hold on(b) wait(c) not possible without contour command(d) not possibleI have been asked this question during an interview.Question is from Two-Dimensional Plots in chapter MATLAB Graphics of MATLAB |
Answer» The correct answer is (a) hold on |
|
6. |
The font style of the input text can be changed by the ____(a) fontname{}(b) fontstyle{}(c) fontname()(d) fontname[]I got this question in an internship interview.This interesting question is from Customizing and Manipulating Graphics in chapter MATLAB Graphics of MATLAB |
Answer» Right CHOICE is (a) fontname{} |
|
7. |
How do we create horizontal bar graphs in MATLAB?(a) bar3h()(b) barh()(c) bar3()(d) not possibleThe question was posed to me during an internship interview.This interesting question is from Three-Dimensional Plots topic in section MATLAB Graphics of MATLAB |
Answer» Correct CHOICE is (a) bar3h() |
|
8. |
How can we introduce texts in a graph?(a) Use the text command(b) Use the plot command(c) Use the title command(d) Additional texts not possibleThe question was asked in a national level competition.The above asked question is from Customizing and Manipulating Graphics in portion MATLAB Graphics of MATLAB |
Answer» The CORRECT choice is (a) Use the TEXT COMMAND |
|
9. |
What is the RGB triplet style for yellow?(a) [1 1 0](b) [1 0 1](c) [1 0 0](d) [0 1 1]The question was posed to me in homework.I want to ask this question from Three-Dimensional Plots in portion MATLAB Graphics of MATLAB |
Answer» The correct choice is (a) [1 1 0] |
|
10. |
The command to draw the nature of a function over a default fundamental period is _________(a) ezplot()(b) plot()(c) stem()(d) plot3()I had been asked this question by my school principal while I was bunking the class.The origin of the question is Two-Dimensional Plots topic in division MATLAB Graphics of MATLAB |
Answer» Right option is (a) ezplot() |
|
11. |
How many objects are created for 24 texts written in the graph?(a) 22(b) 24(c) 21(d) 2The question was posed to me in a job interview.I would like to ask this question from Customizing and Manipulating Graphics in section MATLAB Graphics of MATLAB |
Answer» The correct choice is (b) 24 |
|
12. |
What is the default range used by the fplot command?(a) [-5,5](b) (-5,5)(c) No default range(d) No such commandThis question was addressed to me in exam.The above asked question is from Two-Dimensional Plots topic in portion MATLAB Graphics of MATLAB |
Answer» Correct answer is (a) [-5,5] |
|
13. |
Which command gives a title to the graph plotted by MATLAB?(a) plot() generates the title itself(b) title()(c) hlabel()(d) heading()This question was addressed to me during a job interview.I want to ask this question from Two-Dimensional Plots in section MATLAB Graphics of MATLAB |
Answer» Correct ANSWER is (B) title() |
|
14. |
Which command is suitable to change the axes of the graph plotted?(a) axes(b) axis(c) yxaxes(d) no commandThis question was posed to me in my homework.I'm obligated to ask this question of Two-Dimensional Plots in section MATLAB Graphics of MATLAB |
Answer» CORRECT CHOICE is (b) axis Easiest explanation: The axis command can be used to change the interchange the axes of a 2-D plot. This is EASIER than re=-writing the plot command ALREADY used or any other command to generate a 2-d plot. The rest of the options are incorrect. |
|
15. |
Which toolbox provides the plot command?(a) Symbolic Maths Toolbox(b) Signal Processing Toolbox(c) Engineering Toolbox(d) FunctionsThe question was posed to me in an interview for job.I would like to ask this question from Two-Dimensional Plots topic in section MATLAB Graphics of MATLAB |
Answer» RIGHT ANSWER is (B) Signal Processing Toolbox The explanation is: The commands in MATLAB are stored in FILES called TOOLBOXES. The plot command is stored in the Signal Processing command while the ezplot command is stored in the Symbolic Maths Toolbox. |
|
16. |
A stacked horizontal bar-chart can be made in MATLAB by ___________(a) Mentioning stacked as input to the bar3() command(b) Mentioning stacked as input to the bar3h() command(c) Mentioning stack as input to the bar3[] command(d) Mentioning stacked as input to the bar3h[] commandThis question was posed to me during an interview.My question is taken from Three-Dimensional Plots topic in chapter MATLAB Graphics of MATLAB |
Answer» The correct option is (B) Mentioning stacked as input to the bar3h() COMMAND |
|
17. |
What is the nature of z in surf(x,y,z)?(a) Integer(b) Vector(c) Matrix(d) StringThe question was posed to me in semester exam.This interesting question is from Three-Dimensional Plots in section MATLAB Graphics of MATLAB |
Answer» Correct choice is (c) Matrix |
|
18. |
The general graph of f(a,b)=0 is plotted by ______(a) ezplot()(b) plot()(c) stem()(d) not possibleI got this question in semester exam.I'm obligated to ask this question of Two-Dimensional Plots topic in division MATLAB Graphics of MATLAB |
Answer» Correct choice is (a) ezplot() |
|
19. |
The command used to generate an array of arrows is ________(a) quiver[](b) arrows()(c) quiver()(d) arrows[]This question was addressed to me in an online interview.This question is from Two-Dimensional Plots in chapter MATLAB Graphics of MATLAB |
Answer» CORRECT choice is (C) quiver() The best I can explain: The command quiver is used to GENERATE an array of arrows. This command is used during plotting FIELDS in 2-D. It is used to show the direction of strength of the field that is being PLOTTED. |
|
20. |
What is the period of the sawtooth() waveform which is generated by the sawtooth() command?(a) 2*pi(b) pi*2(c) pi(d) 3*pi/2This question was addressed to me in semester exam.My question is based upon Two-Dimensional Plots topic in division MATLAB Graphics of MATLAB |
Answer» The correct ANSWER is (a) 2*pi |
|
21. |
How can we smoothen the following graph of sin (t) and cos (t) into a circle?(a) reduce the gap between linearly spaced elements of the dependent variable t(b) reduce the gap between elements of the dependent variable t(c) increase the gap between linearly spaced elements of the dependent variable t(d) increase the gap between elements of the dependent variable tI got this question by my school principal while I was bunking the class.My question is taken from Two-Dimensional Plots in division MATLAB Graphics of MATLAB |
Answer» Correct answer is (a) reduce the GAP between linearly spaced ELEMENTS of the dependent variable t |
|
22. |
The ezsurf command is present in the ___________(a) Symbolic Math Toolbox(b) Statistics and Machine Learning Toolbox(c) Partial Differentiation Equation Toolbox(d) Neural Network ToolboxThe question was asked by my school principal while I was bunking the class.My question is based upon Three-Dimensional Plots in section MATLAB Graphics of MATLAB |
Answer» Correct option is (a) Symbolic MATH TOOLBOX |
|
23. |
colorbar command gives different color to the bar chart following their ______(a) height(b) width(c) length(d) independentlyI had been asked this question in final exam.My doubt is from Three-Dimensional Plots in division MATLAB Graphics of MATLAB |
Answer» The CORRECT option is (a) height |
|
24. |
What is the size of the z vector in a mesh(x,y,z) if the sizes of x and y vectors are m, n respectively?(a) [m,n](b) (m,n)(c) [m,n)(d) Independent of m and nI have been asked this question in semester exam.The doubt is from Three-Dimensional Plots topic in portion MATLAB Graphics of MATLAB |
Answer» The CORRECT OPTION is (a) [m,N] |
|
25. |
Which command enables a title for the x-axis?(a) xlabel()(b) horilabel()(c) xlabel[](d) no commandI have been asked this question in an interview for job.This key question is from Two-Dimensional Plots topic in division MATLAB Graphics of MATLAB |
Answer» Right ANSWER is (a) xlabel() |
|
26. |
How many objects are created for 24 texts written in the graph?(a) 22(b) 24(c) 21(d) 2The question was asked in an international level competition.My doubt stems from Customizing and Manipulating Graphics topic in division MATLAB Graphics of MATLAB |
Answer» RIGHT choice is (b) 24 Easiest explanation: The text COMMAND would be created 24 OBJECTS in the memory for 24 TEXTS added in the graph. It will be able to ACCESS those texts and edit them. |
|
27. |
What does the set command do?(a) The operation of the fill command(b) The operation of changing intervals of axes(c) The operation of the plot command(d) The operation of the figure commandI had been asked this question in class test.The origin of the question is Customizing and Manipulating Graphics in chapter MATLAB Graphics of MATLAB |
Answer» RIGHT choice is (b) The operation of changing intervals of axes The best I can explain: The SET command can edit the graphics objects created in MATLAB. It cannot plot a graph HENCE it does not perform the operation of the plot, stem or the figure command. |
|
28. |
The default colour of graph generated by the plot command is blue.(a) True(b) FalseThe question was posed to me during an online interview.This intriguing question originated from Customizing and Manipulating Graphics in section MATLAB Graphics of MATLAB |
Answer» The correct OPTION is (a) True |
|
29. |
In a 2-d Plot, which command will make the axes of the graph same?(a) axis square(b) axis equals(c) axes square(d) axes equalI got this question during an interview.The origin of the question is Two-Dimensional Plots in section MATLAB Graphics of MATLAB |
Answer» Right choice is (a) axis square |
|
30. |
What is the short name for black as input to the surf command?(a) b(b) bl(c) k(d) blkI had been asked this question during an interview for a job.Question is from Three-Dimensional Plots topic in division MATLAB Graphics of MATLAB |
Answer» The CORRECT choice is (C) k |
|
31. |
How can several graphs for the same function be plotted on the same window?(a) Contour plots(b) Bode plots(c) 3-D plots(d) n-D plotsThe question was asked in final exam.The above asked question is from Two-Dimensional Plots topic in division MATLAB Graphics of MATLAB |
Answer» Right ANSWER is (a) Contour plots |
|
32. |
What is the range of RGB triplets for the surf command?(a) [1 0](b) [0 1](c) (0 1)(d) (0 1]This question was posed to me in final exam.I want to ask this question from Three-Dimensional Plots in section MATLAB Graphics of MATLAB |
Answer» Right answer is (B) [0 1] |
|
33. |
Which command enables a title for the y-axis?(a) vertlabel()(b) ylabel()(c) ylabel[](d) no commandI have been asked this question in homework.The question is from Two-Dimensional Plots in division MATLAB Graphics of MATLAB |
Answer» Right OPTION is (B) ylabel() |
|
34. |
A semi-log graph cannot be plotted in MATLAB.(a) True(b) FalseThe question was asked in quiz.My question is taken from Customizing and Manipulating Graphics topic in division MATLAB Graphics of MATLAB |
Answer» Correct choice is (b) False |
|
35. |
The fill command cannot take more than ______ inputs.(a) 1(b) 3(c) 2(d) ManyThe question was asked by my school principal while I was bunking the class.This intriguing question comes from Customizing and Manipulating Graphics topic in section MATLAB Graphics of MATLAB |
Answer» The CORRECT option is (c) 2 |
|
36. |
The limits of the axes drawn are only specified in the command used to plot the graph itself.(a) True(b) FalseThis question was addressed to me in quiz.I want to ask this question from Two-Dimensional Plots topic in portion MATLAB Graphics of MATLAB |
Answer» The correct choice is (b) False |
|
37. |
The period of sinusoidal curves can be changed in MATLAB.(a) True(b) FalseThis question was addressed to me in an online quiz.My doubt stems from Two-Dimensional Plots in division MATLAB Graphics of MATLAB |
Answer» Correct option is (a) True |
|
38. |
The color density of the bar-chart drawn from the bar3() command is always proportional to the height of the bars.(a) True(b) FalseThis question was addressed to me in unit test.Query is from Three-Dimensional Plots in portion MATLAB Graphics of MATLAB |
Answer» Correct ANSWER is (B) False |
|
39. |
What is the period of square wave generated by the square() command?(a) User-defined(b) pi(c) 2*pi(d) pi/2The question was posed to me during a job interview.My doubt is from Two-Dimensional Plots topic in division MATLAB Graphics of MATLAB |
Answer» CORRECT option is (C) 2*pi Explanation: The square waves GENERATED by the square(0 command will always have a PERIOD of 2*pi. We can change the duty CYCLE of the wave but the fundamental period is 2*pi. |
|
40. |
A power pattern for an antenna is a __________(a) 4-D plot of space and power(b) 3-D plot of space and power(c) 2-D plot of space and power(d) Nothing called power patternThe question was asked in an interview for job.This interesting question is from Two-Dimensional Plots topic in portion MATLAB Graphics of MATLAB |
Answer» CORRECT option is (C) 2-D PLOT of space and power Best explanation: The power pattern of the antenna is a 2-d polar plot of the power RADIATED by the antenna w.r.t theta in cylindrical co-ordinates. Hence, 2-d plot of space and power is only correct. |
|
41. |
Using the set command for axes can be replaced by setting the ___ to a variable.(a) gca(b) gcf(c) gco(d) not possibleThis question was addressed to me in semester exam.This key question is from Customizing and Manipulating Graphics topic in section MATLAB Graphics of MATLAB |
Answer» The CORRECT choice is (a) gca |
|
42. |
How can we group the elements in a 3-d bar graph?(a) Give ‘grouped’ as style input to bar3() command(b) Give ‘grouped’ as style input to bar() command(c) Give ‘group’ as style input to bar3() command(d) Give ‘group’ as style input to bar() commandI got this question in an interview for job.This key question is from Three-Dimensional Plots topic in portion MATLAB Graphics of MATLAB |
Answer» Right option is (a) Give ‘GROUPED’ as style input to bar3() command |
|