System Commands – 1 MCQ’s

Read Time:1 Minute, 21 Second

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

1. What is the output of the following code?

clipboard('copy',poe)

a) Logical Error
b) Copies ‘poe’
c) Copies poe
d) Syntactical Error

2. What is the output of the following code?

clipboard(copy,’poe’)

a) Error
b) Copies poe
c) Copies poe to the MATLAB file
d) Copies poe to the MATLAB function

3. The clipboard function cannot work without
a) Python
b) C
c) JAVA
d) Not present in MATLAB

4. What is the output of the following code?

clipboard[‘copy’,poe]

a) Error
b) Copies poe to a mlx file
c) Copies poe to a mat file
d) Copies poe to a mltbx file

5. What is the output of the following code?

system(cmd)

a) Starts Command Prompt
b) Starts Command Prompt in MATLAB
c) Starts Command Prompt in a separate window
d) Error

6. What is the output of the following code?

clipboard(‘copy’,’poe’)
clipboard(‘paste’)

a) Prints poe
b) Prints ‘poe’
c) Prints error
d) Function not present in MATLAB

7. What is the output of the above code?

system(‘cmd’)

a) Error
b) Starts Command Prompt in MATLAB
c) Starts Command Prompt in a separate window
d) Error

8. What is the output of the following code?

system['cd']

a) Error
b) Syntactical error
c) Logical Error
d) Opens command prompt

9. What is the output of the following code?

system('cd')

a) Shows the current directory
b) Shows the directory where MATLAB is located
c) Error
d) The function doesn’t exist

10. What is the output of the following code?

system('date')

a) Shows the date in your system
b) Shows the actual date
c) Shows the date when MATLAB was installed
d) Error

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Leave a Reply

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

Previous post Performance and Memory – 2 MCQ’s
Next post System Commands – 2 MCQ’s