Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4:29 PM #2796( -), + 1. Multiple choice. Each question is worth 1 points. There is enly one correct answer in each guestion. [10] 1)

image text in transcribed
image text in transcribed
image text in transcribed
4:29 PM #2796( -), + 1. Multiple choice. Each question is worth 1 points. There is enly one correct answer in each guestion. [10] 1) Which of the following conmmands can we use to display the current workspace vari- ables in MATLAB? A) sysm B) what C who D) why 2 Which ollowing statement is wrong? ) Variable name is case semsitive B) File name mast begins with letter C) File name can contains letters, digits, space and underscores D) The reserved words and keywords can not be used as variable name 3) which of the following is a MATLAB espression for testingx is outside the range from 2 to 7 (the range includes 2 and 7)? A) 2 &7 El mone of the abeve F) cannot be expressed in MATLAB 4) There are two stings,s1 LXYZ and 2 WY. Symbol U indicates a space. You want te ceacatenate s1 and s2 to new string s in the form of LiXYzUW.Which of the following command is correct? Page 1 of 13 Fido 4:29 PM #2796( -), + 5) Given that the matrix A as a [12 3 41,what is the output of a 1S&7 91 5 12 A) 21 32 19 22 It) 43 50 C) 3 2 D) errer 6) Given the following commands in the MATLAB command window, what will be the output? 12, 3. -1, 4 A)15 7-1 Bi C 23- D) No output El Errons 7) Which of the following statement is not true? A) Lecal variabke do not remain in memory from one fanction call to the net B) Local variabke exists within the base workspace. C) Persistent variable is only known to the function in which it been declared D) The value of global variable can be accessed by any function which has declared it as global variable. Page 2 of 1 Fido 4:29 PM @f 28%D+ Winter 20 8) A function calle(3) will produce which of the following? A)I B) C) D) None of above 9) Consider the function func output . What will be in out after the commandun A) 1 B) 2 C) 3 Di NaN E Error 2, 3)? 10, what is the outputof" tind(( 6 J , , 6] ? A)0 0 011 )0101 C45 D)2 456 Page 3 of

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Mannino Michael

5th Edition

0983332401, 978-0983332404

More Books

Students also viewed these Databases questions

Question

How does HashMap work in Java?

Answered: 1 week ago

Question

Influences on Nonverbal Communication?

Answered: 1 week ago