Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

Question 1

Correct
Mark 0.20 out of 0.20

Flag question

Question text
In the following command
writetable(data, 'mount.xls', 'Sheet', 2, 'Range', 'D3')
data will be written 
Select one:

a. in sheet 2 from cell D3 

b. in sheet 2 from cell D3 in excel file named mount.xls 

c. none

d. in sheet 2

Feedback
Your answer is correct.
The correct answer is: in sheet 2 from cell D3 in excel file named mount.xls

Question 2
Correct
Mark 0.20 out of 0.20

Flag question

Question text
In the following writetable command
writetable(data, 'mount.xls', 'Sheet', 1, 'Range', 'D3')
the datatype of data is
Select one:

a. string

b. cell
c. table 

d. array

Feedback
Your answer is correct.
The correct answer is: table

Question 3
Correct
Mark 0.20 out of 0.20

Flag question

Question text
The output of following command will be
cell = ['A' num2str(3)]
Select one:

a. Athree

b. 'A3' 

c. A3

d. None

Feedback
Your answer is correct.
The correct answer is: 'A3'

Question 4
Correct
Mark 0.20 out of 0.20

Flag question

Question text
File handling is essential because 
Select one:
a. to save output of the program permanently in computer memory

b. to process the already present data

c. to visualize large output data 

d. all the above 

Feedback
Your answer is correct.
The correct answer is: all the above

Question 5
Correct
Mark 0.20 out of 0.20

Flag question

Question text
table command is used for
Select one:

a. converting given data in to table 

b. creating excel file

c. writing table in excel file

d. none

Feedback
Your answer is correct.
The correct answer is: converting given data in to table

Question 6
Correct
Mark 0.20 out of 0.20

Flag question

Question text
's' is used in following input command 

name = input('Enter name of student: ', 's')


Select one:

a. to take number as an input from user

b. to take special characters as input from user

c. to take string as an input from user 

d. can not be answered 

Feedback
Your answer is correct.
The correct answer is: to take string as an input from user

Question 7
Correct
Mark 0.20 out of 0.20

Flag question

Question text
What are the tasks are performed by writetable command?
Select one:

a. writing table in the excel file

b. creating excel file in current location if not present and then write in it

c. Both A and B 

d. none

Feedback
Your answer is correct.
The correct answer is: Both A and B

Question 8
Correct
Mark 0.20 out of 0.20
Flag question

Question text
WriteVariableNames command is used to dictate whether to write titles (or heading in table) in the
excel file or not 
Select one:

a. False

b. Can not be answered 

c. True 

d. None

Feedback
Your answer is correct.
The correct answer is: True

Question 9
Correct
Mark 0.20 out of 0.20

Flag question

Question text
curly brackets are used  
Select one:

a. to create cell

b. to create array containing strings

c. both A and B 

d. none

Feedback
Your answer is correct.
The correct answer is: both A and B
Question 10
Correct
Mark 0.20 out of 0.20

Flag question

Question text
If we write 0 after using command 'WriteVariableNames' then MATLAB will
Select one:

a. none

b. write the titles in the excel sheet

c. can't say anything

d. not write the titles in the excel sheet 

Feedback
Your answer is correct.
The correct answer is: not write the titles in the excel sheet

You might also like