Search Header Logo

Final Exam in Programming CPE/EE

Authored by Rey Dacoco

Engineering

University

Used 1+ times

Final Exam in Programming CPE/EE
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol in a flowchart represents input or output?

Rectangle

Oval

Parallelogram

Pentagon

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the terminal symbol in a flowchart used for?

To show the start and end of the program

To represent arithmetic operations

To display output

To connect flowchart symbols

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function in C++ displays text on the screen?

write

display

cout

print

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which window in MATLAB displays your current variables?

Workspace

Command Window

Command History

  • Current Folder

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the colon operator do?

Performs division operations

Creates vectors or ranges of values

Computes greatest common divisors

  • Compares values for equality

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the PERMS function do?

Computes the greatest common divisors of the elements

Returns the least common multiples of the elements

Generates a matrix containing all permutations of the elements of a vector

Determines which array elements are prime

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the doc command do?

Clears all the text from the Command Window

Moves the cursor to the upper-left corner of the command window

Removes items from the workspace, freeing up system memory

Displays documentation for MATLAB functions

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?