1/14
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
Function
self contained block of code designed to proforma a specific task and is fundamental to structured programming and offer several benefits
Parameter
The declaration or definition of a function, method, or procedure. Acts as a placeholder for a value that will be provided when a function is called(run)
Argument
A variable that is passed as a value to a function
Return
Action of a function sending a specific value or result back to the part of the program that called it, and also stops the function’s execution
Print: Function that sends written text to the user or screen.
Sentinel
Special value used to signal the end of a data set or the termination of a loop. It’s a way to mark a boundary in data.
Scope
section of a program where variables, functions, or other identifiers are visible and accessible or usable.
Namespaces
Collection of variable names that exist at a certain point within your code.
Exceptions
Event that occurs during the execution of a program, disrupts the normal flow of a program’s instructions and can stop the program.
Try and except
Programming constructs that can be used to handle exceptions so a program can continue in spite of them.
Input Output(I/O)
General term in programming that refers to the flow of information into and out of a program
Arithmetic Operators:
include addition(+), subtraction(-), multiplication(*), division(/), and the mod operator(%). These operators are used to perform basic mathematical tasks.
Non-sequential Programming:
Programs can have multiple tasks being completed at once or out of sequential order.
Application Programming Interfaces:
Simplify complex programming tasks by providing sets of clearly defined methods of communication among various computing components.
Standard Library
collection of pre-written, reusable code(such as functions, classes or modules) that provides ready- to- use solutions for specific programming tasks. This helps developers by saving time and efforts by avoiding redundant coding.
Displaying text on the screen