EXAM 100+ QUESTIONS & ANSWERS /
ADVANCED PHARMACOLOGY FOR CARE OF
FAMILY|AGRADE
Variable Naming Convention - ANSWER//Rules for naming variables in MATLAB.
Command Window - ANSWER//Input/output interface for MATLAB commands.
Workspace - ANSWER//Displays current variables and objects.
Directory - ANSWER//Shows files in the current folder.
Editor - ANSWER//Tool for writing and editing MATLAB scripts.
m-files - ANSWER//MATLAB script files with .m extension.
Built-in Functions - ANSWER//Predefined functions for various computations.
Toolboxes - ANSWER//Add-ons for specialized MATLAB functions.
Numerical Calculations - ANSWER//Mathematical computations involving
numbers and matrices.
2D Graphics - ANSWER//Two-dimensional visual representations in MATLAB.
3D Graphics - ANSWER//Three-dimensional visual representations in MATLAB.
Variable Name Rules - ANSWER//Only letters, numbers, underscores; first must
be a letter.
MATLAB Keywords - ANSWER//Reserved words that cannot be used as variable
names.
MATLAB Constants - ANSWER//Predefined values like pi and Inf; should be
avoided.
,Exist Function - ANSWER//Checks if a variable name is already used.
Descriptive Variable Names - ANSWER//Names that clearly indicate variable
purpose.
CamelCase - ANSWER//Naming style using uppercase letters to separate words.
Order of Operations - ANSWER//Rules defining the sequence of mathematical
operations.
Negation - ANSWER//Inversion of a value, applied after exponentiation.
Exponents - ANSWER//Mathematical operation indicating power or squared
values.
Multiplication and Division - ANSWER//Operations performed after exponents in
order of operations.
Addition and Subtraction - ANSWER//Final operations in the order of operations.
MATLAB Syntax - ANSWER//Simple and user-friendly coding structure.
Free Software - ANSWER//MATLAB access provided at no cost for Penn State
students.
Comparison of Languages - ANSWER//MATLAB is not general-purpose like C++
or Java.
Order of Operations - ANSWER//Sequence for evaluating mathematical
expressions.
Root Finding - ANSWER//Finding roots of equations numerically.
dir - ANSWER//Lists all files in current directory.
cd - ANSWER//Changes the current working directory.
pwd - ANSWER//Prints the current working directory.
format - ANSWER//Formats command window output display.
clear - ANSWER//Clears variables from the workspace.
clc - ANSWER//Clears the command window.
, >> - ANSWER//Prompt indicating MATLAB is ready for input.
... - ANSWER//Indicates continuation of a statement.
, - ANSWER//Separates statements and data in MATLAB.
% - ANSWER//Denotes comments in MATLAB code.
; - ANSWER//Suppresses output or separates matrix rows.
: - ANSWER//Specifies a range of values.
log(x) - ANSWER//Natural logarithm function in MATLAB.
log10(x) - ANSWER//Base 10 logarithm function in MATLAB.
sin(x) - ANSWER//Sine function for radians in MATLAB.
sind(x) - ANSWER//Sine function for degrees in MATLAB.
atan(x) - ANSWER//Inverse tangent function for single argument.
atan(y,x) - ANSWER//Four-quadrant inverse tangent function.
mean - ANSWER//Calculates the average of an array.
std - ANSWER//Calculates the standard deviation of an array.
rand - ANSWER//Generates uniformly distributed random numbers.
randn - ANSWER//Generates normally distributed random numbers.
ceil - ANSWER//Rounds numbers up to the nearest integer.
floor - ANSWER//Rounds numbers down to the nearest integer.
fix - ANSWER//Rounds numbers towards zero.
< - ANSWER//Less than relational operator.
<= - ANSWER//Less than or equal to relational operator.
>= - ANSWER//Greater than or equal to relational operator.
== - ANSWER//Equal to relational operator.