Explore topic-wise InterviewSolutions in .

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.

What is the function used to generate a random number based on normal distribution?

Answer»

What is the FUNCTION USED to generate a random number based on normal distribution?
Choose the correct option from below list
(1)rand_nd()
(2)rand()
(3)nd_rand()
(4)randn()

ANSWER:-(4)randn()

2.

Octave is a compiled or interpreted language?

Answer»

Octave is a compiled or interpreted language?
Choose the CORRECT option from below LIST
(1)Interpreted
(2)Both the options
(3)Compiled
(4)NONE of the options

Answer:-(1)Interpreted

3.

What is the correct syntax to get the element in the third row and fourth column of a matrix A?

Answer»

What is the correct SYNTAX to GET the ELEMENT in the THIRD row and fourth column of a matrix A?
Choose the correct option from below list
(1)A(2,3)
(2)A[2,3]
(3)A[3,4]
(4)A(3,4)

Answer:-(4)A(3,4)

4.

strcat is a function used to concatenate two strings in Octave.

Answer»

strcat is a FUNCTION used to concatenate TWO STRINGS in Octave.
Choose the CORRECT option from below list
(1)True
(2)False

Answer:-(1)True

5.

Which of the following is false in Octave?

Answer»

Which of the following is false in Octave?
CHOOSE the correct OPTION from below list
(1)None of the options
(2)Octave supports DRAWING plots in different windows
(3)Octave supports 2D plotting
(4)Octave supports 3D plotting
(5)Octave can draw multiple plots on the same window

Answer:-(1)None of the options

6.

Octave script files are saved with ______ extension.

Answer»

Octave SCRIPT files are saved with ______ extension.
Choose the CORRECT OPTION from below list
(1).m
(2).oct
(3).octave
(4).mat

Answer:-(1).m

7.

strcmpi (s1, s2) returns 1 if the character strings s1 and s2 are the same, disregarding case of alphabetic characters, and 0 otherwise.

Answer»

strcmpi (s1, s2) RETURNS 1 if the character strings s1 and s2 are the same, disregarding case of ALPHABETIC characters, and 0 otherwise.
Choose the correct option from below list
(1)TRUE
(2)False

Answer:-(1)True

8.

Which is the function that is used to get the matrix A with the columns reversed?

Answer»

Which is the function that is USED to GET the matrix A with the columns REVERSED?
Choose the correct option from below list
(1)flipud(A)
(2)fliplr()
(3)revlr()
(4)revud()

Answer:-(2)fliplr()

9.

The following are all commands in the help section of Octave, except ___________.

Answer»

The following are all commands in the help section of Octave, except ___________.
Choose the correct OPTION from below LIST
(1)help
(2)help --list
(3)help .
(4)help help

Answer:-(4)help help