

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.
51. |
What are the functions to see the graph of a continuous and a discrete function?(a) plot() & stem()(b) cont() & disc()(c) plot() & disc()(d) cont() & stem()This question was posed to me in my homework.This intriguing question originated from Graphics in division MATLAB Basics of MATLAB |
Answer» Right choice is (a) plot() & stem() |
|
52. |
To determine whether an input is MATLAB keyword, command is?(a) iskeyword(b) key word(c) inputword(d) isvarnameI got this question by my school principal while I was bunking the class.I'd like to ask this question from Input and Output topic in section MATLAB Basics of MATLAB |
Answer» CORRECT option is (a) iskeyword To EXPLAIN I would say: Command iskeyword uses the MATLAB command FORMAT. iskeyword returns a list of all MATLAB keywords. It gives output in the form of 1 and 0. |
|
53. |
The nature of data while using pie plots is ___________ data.(a) Discrete(b) Continuous(c) Polar(d) Time-seriesThis question was posed to me in exam.This key question is from Statistics topic in chapter MATLAB Basics of MATLAB |
Answer» The correct choice is (B) Continuous |
|
54. |
A student has to plot a graph of f(x)=t and g(y)=t in the same graph, with t as a parameter. The function he uses is ____(a) plot3(x,y,t)(b) plot(x,y,t)(c) disp(d) stem(x,y)I have been asked this question in semester exam.The question is from Graphics topic in portion MATLAB Basics of MATLAB |
Answer» Right choice is (a) plot3(x,y,t) |
|
55. |
Which line is treated as H1 line?(a) Comment line succeeding function definition(b) Comment line preceding function definition(c) Comment line after function(d) All lines before and after function definitionThe question was posed to me in exam.I need to ask this question from Functions in division MATLAB Basics of MATLAB |
Answer» Correct answer is (c) COMMENT line after function |
|
56. |
What happens if dsolve does not return any numerical solution?(a) The equations have no solution(b) The equations have a trivial solution(c) The equations have infinite no. of solutions(d) The equation has to be solve separatelyThe question was asked in an interview.My doubt is from Solving Equations topic in section MATLAB Basics of MATLAB |
Answer» The correct OPTION is (d) The equation has to be solve separately |
|
57. |
What is the syntax to solve simultaneous equations easily?(a) solve[“equation-1”,”equation-2”];(b) sol[“equation-1” “equation-2”];(c) sol[‘equation-1’‘equation-2’];(d) solve[‘equation-1’,‘equation-2’];The question was posed to me in a national level competition.Query is from Solving Equations in chapter MATLAB Basics of MATLAB |
Answer» The correct option is (d) solve[‘equation-1’,‘equation-2’]; |
|
58. |
Which symbol is used to initialise a variable?(a) =(b) ->(c) ==(d) initThis question was posed to me during an online exam.My doubt stems from Variables and Assignments topic in chapter MATLAB Basics of MATLAB |
Answer» RIGHT CHOICE is (a) = To ELABORATE: The symbol, ‘=’, is used to initialise a variable with a particular data type. ‘==’ checks whether the LEFT hand side is equal to its’ right hand side. ‘init’ is a SEPARATE function in MATLAB. |
|
59. |
From the following desktop view of workspace, choose the correct code.(a) a=10;b=’pi’;syms c; d=[1,2;0;4];(b) a=10;b=’pi’;syms c; d=[1,2;0,4];(c) a=10;b=pi;syms (c); d=[1,2;0,4];(d) a=10;b=’pi’;syms c; d=[1,2;0,4];I have been asked this question in exam.The doubt is from Managing Variables topic in portion MATLAB Basics of MATLAB |
Answer» Correct option is (a) a=10;b=’pi’;SYMS c; d=[1,2;0;4]; |
|
60. |
To display the runs scored by a batsman towards different directions in a field, one uses(a) Bar graph(b) Angle histogram(c) Histogram(d) No graph is suitableI have been asked this question by my college professor while I was bunking the class.This interesting question is from Statistics topic in division MATLAB Basics of MATLAB |
Answer» Correct option is (a) Bar graph |
|
61. |
What is the condition on x in bar(x,y)?(a) No condition as such(b) Should change linearly(c) Should increase of decrease monotonously(d) IncomprehensibleI got this question during an internship interview.The above asked question is from Graphics topic in section MATLAB Basics of MATLAB |
Answer» Correct option is (c) Should INCREASE of decrease monotonously |
|
62. |
What is the name of a primary function?(a) Name of M-file(b) Name of Script File(c) Name of Help file(d) Name of Private-FileThis question was posed to me in a national level competition.This interesting question is from Functions in portion MATLAB Basics of MATLAB |
Answer» Right CHOICE is (a) Name of M-file |
|
63. |
To bring the scale of each axis to logarithmically spaced, the student entered ‘semilogx()’. What really happened?(a) The plot will appear with both axis now logarithmically spaced(b) semilogx() is an invalid function(c) The plot will appear with x axis logarithmically spaced(d) ErrorThe question was asked in my homework.This interesting question is from Graphics topic in chapter MATLAB Basics of MATLAB |
Answer» Correct OPTION is (C) The plot will appear with x axis logarithmically SPACED |
|
64. |
What is the advantage of MATLAB over other computing software with matrix dimensions?(a) No advantage(b) Real time pre-defined memory allocation(c) Real time user-defined memory allocation(d) Matrix operations are easily computedThis question was addressed to me during an online interview.I'd like to ask this question from Vectors and Matrices topic in division MATLAB Basics of MATLAB |
Answer» Right option is (c) Real TIME user-defined memory allocation |
|
65. |
What are Max and Min in the Workspace shown below?(a) They show the maximum and minimum value of the variable(b) The show the maximum and minimum length of the variable(c) They show the maximum and minimum value present in an array(d) They show the median and mode of the variableThis question was addressed to me in my homework.My question is based upon Managing Variables in division MATLAB Basics of MATLAB |
Answer» The correct option is (C) They show the maximum and MINIMUM value present in an array |
|
66. |
What operator helps in the transpose of a matrix?(a) “ .’ ”(b) “ ‘ ”(c) “./ ”(d) “ .\ ”I have been asked this question in final exam.I'd like to ask this question from Variables and Assignments topic in portion MATLAB Basics of MATLAB |
Answer» Correct answer is (a) “ .’ ” |
|
67. |
What happens if we don’t assign a variable to an expression which evaluates a numerical value?(a) MATLAB shows error(b) Nothing happens(c) The evaluated values are assigned to a variable ans automatically(d) Depends on the numerical valueThe question was asked in examination.This key question is from Algebra in division MATLAB Basics of MATLAB |
Answer» RIGHT option is (c) The evaluated values are ASSIGNED to a variable ans automatically Explanation: This is common for MATLAB. The evaluated numerical values are assigned to a variable ans if there is no BODY in the right hand side of a numerical expression. So the OPTIONS MATLAB shows error is false. |
|
68. |
To stop the execution of a MATLAB command, used keys?(a) ctrl+c(b) ctrl+s(c) ctrl+b(d) ctrl+enterThis question was addressed to me in my homework.The origin of the question is Input and Output in division MATLAB Basics of MATLAB |
Answer» CORRECT choice is (a) ctrl+c For explanation I would SAY: Ctrl+C stop execution for files that run a long time, or that CALL built-ins or MEX-files that run a long time. Ctrl+Break is also USED to stop the execution. |
|
69. |
To place a text on the plot using a mouse, the command used is _________(a) gtext(b) text(c) title()(d) atextI have been asked this question by my school principal while I was bunking the class.Question is from Graphics in portion MATLAB Basics of MATLAB |
Answer» Correct choice is (a) gtext |
|
70. |
What are persistent variables?(a) Variables which retain values between calls to the function(b) Variables which help in calling a function(c) Variables which deal with functions(d) Variables global to the functionI had been asked this question in a national level competition.The query is from Functions topic in division MATLAB Basics of MATLAB |
Answer» The correct option is (a) Variables which retain values between CALLS to the function |
|
71. |
If the program demands evaluation of multiple, only decimal, values of the same function, what is the better way amongst the following?(a) Using anonymous functions or inline functions(b) Using str2func(c) Using private functions(d) Using any functionThis question was addressed to me by my college professor while I was bunking the class.Enquiry is from Functions in chapter MATLAB Basics of MATLAB |
Answer» The correct answer is (b) Using str2func |
|
72. |
What is the difference between who and whos command?(a) The former shows the names of the variables being used while the latter shows the details of the variables in the ongoing program(b) The latter shows the the names of the variables being used while the former shows the details of the variables in the ongoing program(c) No difference at all(d) There is no such function as who and whosI had been asked this question by my college professor while I was bunking the class.I would like to ask this question from Managing Variables in chapter MATLAB Basics of MATLAB |
Answer» Correct answer is (a) The FORMER shows the names of the variables being used while the latter shows the details of the variables in the ongoing PROGRAM |
|
73. |
Which is the invalid variable name in MATLAB?(a) x6(b) last(c) 6x(d) zI have been asked this question during an interview.I need to ask this question from Input and Output topic in division MATLAB Basics of MATLAB |
Answer» Right CHOICE is (c) 6x |
|
74. |
What happens if we don’t stop the implementation of the hold function?(a) Nothing happens(b) MATLAB keeps on generating multiple plots in the same window(c) Error is generated(d) Plot function won’t workThe question was asked in an interview for internship.The doubt is from Plotting Multiple Curves topic in section MATLAB Basics of MATLAB |
Answer» Right answer is (b) MATLAB keeps on generating multiple plots in the same window |
|
75. |
How do we access a global variable in nested functions?(a) Simply seek the variable from the primary function(b) Make a copy of the global variables from the primary function(c) Declare the variable within the function(d) Declare the variable as globalI got this question in exam.Question is taken from Functions topic in portion MATLAB Basics of MATLAB |
Answer» Right choice is (d) DECLARE the VARIABLE as global |
|
76. |
To exhibit time-series or spatial-series data, what kind of diagrams are suitable?(a) Pie-bar(b) Pie-chart(c) Ratio-chart(d) Bar-diagramI got this question during an internship interview.My question is from Statistics topic in division MATLAB Basics of MATLAB |
Answer» The correct option is (d) BAR-DIAGRAM |
|
77. |
The solve[] command can do which of the following things?(a) Produce the exact solution(b) Produce a symbolic solution(c) Produces exact roots(d) Produces complex rootsI got this question during an interview.The query is from Solving Equations in division MATLAB Basics of MATLAB |
Answer» Correct choice is (b) Produce a symbolic solution |
|
78. |
In the function vpa(‘9^81’,10), why do we put 9^81 within inverted commas?(a) We can choose to not put the value within a pair of single inverted comma(b) We do it so that we don’t get an approximated value(c) We do it to get the exact value as MATLAB computes exact values, of numerical expressions, when declared within a string(d) We do it to get a floating-point approximated value, approximated to 14 digitsThe question was asked in examination.I'm obligated to ask this question of Algebra topic in portion MATLAB Basics of MATLAB |
Answer» Correct choice is (c) We do it to GET the exact value as MATLAB computes exact values, of numerical expressions, when declared within a string |
|
79. |
Is histogram a kind of multiple plots?(a) True(b) False(c) Cannot be determined(d) There is no such thing called HistogramThe question was posed to me by my school principal while I was bunking the class.The doubt is from Plotting Multiple Curves in portion MATLAB Basics of MATLAB |
Answer» The correct answer is (a) True |
|
80. |
What kind of a plot is this?(a) Polar plot(b) Cartesian plot(c) Complex plot(d) Not a MATLAB plottingI got this question by my school principal while I was bunking the class.The above asked question is from Graphics topic in portion MATLAB Basics of MATLAB |
Answer» Right answer is (a) Polar PLOT |
|
81. |
If we put bar(x,y,1.2), we will get _____ bars.(a) Uniform(b) Damped(c) Overlapping(d) NoThis question was addressed to me in exam.I'm obligated to ask this question of Graphics topic in portion MATLAB Basics of MATLAB |
Answer» Right choice is (c) Overlapping |
|
82. |
Variables need to have same name while being passed from the primary function to the sub-function.(a) True(b) FalseI have been asked this question in an internship interview.My question comes from Functions in division MATLAB Basics of MATLAB |
Answer» Right option is (b) False |
|
83. |
What is the difference between primary and secondary data in statistics?(a) No difference(b) The former is collected from the field of the investigation while the latter is collected from a separate entity(c) The first set of data received is Primary data while the next set is secondary data(d) The important data is primary data while the lesser important data is secondary dataI have been asked this question in an internship interview.I would like to ask this question from Statistics topic in portion MATLAB Basics of MATLAB |
Answer» The correct choice is (b) The former is collected from the field of the investigation while the latter is collected from a SEPARATE entity |
|
84. |
What is the difference between stem plot and histogram plot?(a) No difference(b) Histogram does not have negative values while stem may have negative values(c) Histogram cannot relate 3 variable while stem can(d) Histogram cannot be created in MATLABI have been asked this question in an online quiz.This is a very interesting question from Statistics in chapter MATLAB Basics of MATLAB |
Answer» Correct choice is (b) Histogram does not have negative VALUES while stem may have negative values |
|
85. |
What is the replacement for the whos function?(a) Workspace window(b) Command window(c) Current folder window(d) Remembering all the variables usedThis question was addressed to me in my homework.I want to ask this question from Managing Variables topic in section MATLAB Basics of MATLAB |
Answer» Right choice is (a) Workspace window |
|
86. |
If a character input is given to a command which only takes integers, it’ll always give an error.(a) True(b) FalseThe question was asked during an interview.I need to ask this question from Errors in Input topic in division MATLAB Basics of MATLAB |
Answer» Right ANSWER is (a) True |
|