I would like help with the definitions to these computer science terms please. A
ID: 3577100 • Letter: I
Question
I would like help with the definitions to these computer science terms please.
Algorithm
Argument
Array
atoi
Benefits of using functions
Block
Character
cin
Comment
Compiler
cout
Debugger
Do-While loop
Elements
endl
EOF
Escape sequence
File access flag
For Loop
fstream
Function
Function header
get
Global variable
Hardware
ifstream
Increment
Infinite loop
Initialization
Integer division
isdigit
Literal
Local variable
Logic error
Logical operators
main
Modules
Modulus
Null terminator
ofstream
Open
Operator
Operator precedence
Output Parallel
arrays Parameter
Parentheses
Post-test loop
Pre-test loop
Program
Programming languages
Prototype
put
RAM
Relational operators
Repetition
Return
Return type
Reuseable program components
Selection symbol
Sentinel
Sequential access
Software
String
strlen
Subscript
Syntax
Syntax error
toupper
Variable
Variable scope
Variable type
While loop
Whitespace
Explanation / Answer
Algorithm:
algorithm is a step by step solution to the problem.
Argument:
also called as parameter. this term used in function more for getting inputs to the function.
Array:
array is collection of homogenous elements.
atoi:
atoi is predifined function. for converting string to integer.
Benefits of using functions:
->developing program is easy.
->frequently used opeartions developed by functions can put into built in functions for further use.
->individually code the task and test it easily
->length of program will reduce for reusebility to call again when we need
Block:
block is section of code in a program.called as block of code.it contains declarations and statements
Character:
normally character is a unit of information. but in programming use character data type for declaring the characters.
Comment:
comments are un executed statements it is used for giving information about the program.
Compiler:
compiler is a special program .convert the language into machine language.
cout:
cout is c++ output function is used to display the information or values
Debugger:
it is program used to test the programs
Do-While loop:
it is a one of the control statement. it execute the block of code atleast once.
Elements:
they are five basic elements are input,output,arithmatic,looping,conditional
endl:
endl is c++ keyword. it means ends line.next statement will print from new line
EOF:
EOF also a keyword.it means end of file.
Escape sequence:
escape sequence is a sequence of characters that does not represent itself when used inside character or string literals.
File access flag:
to access the file in different kinds like read,write,append .these kinds can represent with flags
For Loop:
for loop is one conditional statement.it used to execute the block of code when condition true.
fstream:
fstream is file stream for accessing file. in read and write
Function:
function is a block code to perform particular task
Function header:
function header as return type and name of the function with parameters.
get:
get is used to get the elements
Global variable:
global variable are variables used through out the program
Hardware:
hardware is a physical devices(components).that can touchable.
ifstream:
ifstream is one of file stream. in this stream the file will opened in read mode.
Increment:
increment has normal meaning as adding to older number.
Infinite loop:
the block code will running repeatadly with out any check point
Initialization:
assaigning values to the variable.
Integer division:
integer division is normal division but fraction of division operation will be terminated.(truncated)
isdigit:
isdigit is a function it returns boolean value. it used to check given thing is number or not
Literal:
literal is not only name like variable it is value itself.
Local variable:
local variable are the varible declared in sub blocks and their life span is with in block
Logic error:
it is one kind of error. getting wrong results
Logical operators:
they allow the program to make decisions on multiple conditions
main:
main is starting point of execution .
Modules:
module is part of program.large programs are devided into smaller modules.
Modulus:
modulus is operator gives the remainder
Null terminator:
it is a character not inside the string for terminating string
ofstream:
this one of file stream used to open the file write mode
Open:
open is used to open the files
Operator:
operator is used to perform some operation on elements
Operator precedence:
we have different kinds of operator to execute need to have precedence to first execution
Output Parallel:
when we get the output parallely to the input
arrays Parameter:
size of array is array parameter
Parentheses:
they are two kinds of parenthesis as right and left. used in functions
Post-test loop:
in loop the condition will check end of the loop block.
Pre-test loop:
also called as entry test loop condition will check before to enter the loop
Program:
program is a set of instructions
Programming languages:
program are implemented in programming languages
Prototype:
prototype is abstract of something(functions)
put:
put is used to insert
RAM:
RAM is random access memory it is primary memory
Relational operators:
relational operators are used to find the relation between two operends
Repetition:
repeating same thing
Return:
send back something
Return type:
what kind of thing it returns
Reuseable program components:
we can use the program componenets again
Selection symbol:
Sentinel:
sentinel is a special value in algorithm
Sequential access:
accessing the the memory or elements in a order
Software:
software is program.that cant touch
String:
string is a sequence of characters
strlen:
strlen is function to find the length of string
Subscript:
in computer different number systerm as binary,octal can be represented with help of sub script
Syntax:
syntax is a rule.
Syntax error:
syntax error is error violating the rule
toupper:
convert the lower case letters to upper
Variable:
variable is storage location paired with name
Variable scope:
varible scope means how far we will use this variable in program
Variable type:
define the type of data that shows
While loop:
it is one of the conditional statements.also called as entry level loop.to run block of code repeatedly
Whitespace:
whitespace defines different space elements as tab,new line ,space.different compilers work on it