System Commands – 2 MCQ’s

Electronics & Communication Engineering MATLAB

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “System Commands – 2″.

1. The input to the unix command should be within _________
a) ()
b) {}
c) []
d) Is not available in MATLAB

2. If the command, given as an input to the system command, gets executed, MATLAB returns a _________
a) 0
b) 1
c) True
d) False

3. Which of the following command can be used for DOS commands?
a) msdos
b) dos
c) ds
d) not possible in MATLAB

4. What is the output of the following code?


a) It shows the date but MATLAB returns 1
b) It doesn’t show the date and MATLAB returns 0
c) It doesn’t show the date but MATLAB returns 1
d) It shows the date but MATLAB returns 0

5. All system commands take input within parentheses.
a) True
b) False

6. The input to the system command is not necessarily given within ‘’.
a) True
b) False

7. How can we check the history of commands used?
a) By only clicking the up direction button
b) Using the commandhist command
c) Using the commandhistory command
d) Using the cmdhstry command

8. Windows Registry can be accessed by ___________
a) winqueryreg
b) winreg
c) windowsregistry
d) not possible

Leave a Reply

Your email address will not be published. Required fields are marked *