Q5/ Select the correct answer of the following: 1. Which of the following statements is correct? a) Function "clear all" clears all assigned variables b) Function "cle" clears all variables c) Function "cle" clears only constants d) Function "clear all" closes all figure windows 2. Which of these is the way to access the first element in a vector named v? a) v (0) b) v(1) c) v d) v(:,0) 3. Which of the following expressions generates a loop from 50 to 100 and spaced between them is 5 a) For i 50:5:100 b) for i=100:5:50 c) for i=50:100:5

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter9: Records (struct)
Section: Chapter Questions
Problem 16SA
icon
Related questions
Question
Q5/ Select the correct answer of the following:
1. Which of the following statements is correct?
a) Function "clear all" clears all assigned variables b) Function "cle"
variables
clears all
c) Function "cle" clears only constants d) Function "clear all" closes
all figure windows
2. Which of these is the way to access the first element in a vector named v?
a) v (0) b) v(1) c) v d) v(:,0)
3. Which of the following expressions generates a loop from 50 to 100 and spaced
between them is 5
a) For i=50:5:100
b) for i=100:5:50 e) for i=50:100:5
4. Change Color of text written on object
a) Background Color b) Color
c) Foreground Color
Transcribed Image Text:Q5/ Select the correct answer of the following: 1. Which of the following statements is correct? a) Function "clear all" clears all assigned variables b) Function "cle" variables clears all c) Function "cle" clears only constants d) Function "clear all" closes all figure windows 2. Which of these is the way to access the first element in a vector named v? a) v (0) b) v(1) c) v d) v(:,0) 3. Which of the following expressions generates a loop from 50 to 100 and spaced between them is 5 a) For i=50:5:100 b) for i=100:5:50 e) for i=50:100:5 4. Change Color of text written on object a) Background Color b) Color c) Foreground Color
Expert Solution
steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning