CH 1 - OCTAVE (GUI) Flashcards

1
Q

is a high-level programming language primarily intended for scientific computing and numerical computation.

A

GNU OCTAVE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Octave is written in __________ using the _________ standard library

A

C++
C++

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is GUI?

A

GRAPHICAL USER INTERFACE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is CLI?

A

COMMAND LINE INTERFACE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

the ____________________ is an interpreted programming language. It is a structured
programming language (similar to C) and supports many common C standard
library functions, and also certain UNIX system calls and functions.

A

OCTAVE LANGUAGE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Octave has been built with MATLAB compatibility in mind, and shares many features with MATLAB:

A

1.Matrices as fundamental data type.

2.Built-in support for complex numbers.

3.Powerful built-in math functions and extensive function libraries.

4.Extensibility in the form of user-defined functions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Purpose: main window, enters variables, runs programs

A

COMMAND WINDOW

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Purpose: contains output from graphic commands

A

FIGURE WINDOW

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Purpose: creates and debugs script and function file

A

EDITOR WINDOW

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Purpose: Provides help information

A

HELP WINDOW

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Purpose: Logs command entered in the Command Window

A

COMMAND HISTORY WINDOW

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Purpose: Provides information about the variables that are used

A

WORKSPACE WINDOW

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Purpose: Shows the files in the current folder

A

CURRENT FOLDER WINDOW

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

function for square root

A

sqrt (x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

function for real nth root of a real number x

A

nthroot (x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

function for exponential

A

exp (x)

17
Q

function for absolute value

A

abs (x)

18
Q

function for natural logarithm
base e logarithm (ln)

A

log (x)

19
Q

function for base 10 logarithm

A

log10 (x)

20
Q

factorial function x!

A

factorial (x)

21
Q

sine of angle x in radians
sine of angle x in degrees

A

sin (x)
sind (x)

22
Q

function for rounding to the nearest integer

A

round (x)

23
Q

function for rounding towards 0

A

fix (x)

24
Q

function for rounding towards infinity

A

ceil (x)

25
Q

function for rounding towards minus infinity

A

floor (x)

26
Q

function for returning the remainder after x is divided by y

A

rem (x,y)

27
Q

RULES ABOUT VARIABLE NAMES:
- Must begin with a _______

A

LETTER

28
Q

RULES ABOUT VARIABLE NAMES:
- Can be up to ______ characters long

A

63

29
Q

RULES ABOUT VARIABLE NAMES:
- Can contain ______, _______, and ________ character

A

LETTERS, DIGITS, AND UNDERSCORE

30
Q

RULES ABOUT VARIABLE NAMES:
- Cannot contain ________ characters

A

PUNCTUATION (such as period, comma, semicolon, etc)

31
Q

RULES ABOUT VARIABLE NAMES:
- _________ is case sensitive. It distinguishes between uppercase and lowercase letters

A

MATLAB

32
Q

RULES ABOUT VARIABLE NAMES:
No _________ are allowed between characters

A

SPACES

33
Q

RULES ABOUT VARIABLE NAMES:
- Avoid using the name of a ____________ for a variable

A

BUILT-IN FUNCTION

34
Q

RULES ABOUT VARIABLE NAMES:
- Avoid using the name of a ____________ for a variable

A

BUILT-IN FUNCTION