ICT 401 questions Flashcards
Programming for Information Age (39 cards)
What is Computer Programming?
Computer programming is the process of humans communicating with computers to make them perform specific tasks.
Explain SDLC?
Software development life cycle (SDLC) is a structured process that is used to design, develop, and test good-quality software. The goal of the SDLC life cycle model is to deliver high-quality, maintainable software that meets the user’s requirements.
What is pseudocode?
Pseudocode is a method used by programmers to plan out algorithms and code structures in a way that is easy to read and understand, without worrying about the syntax of a specific programming language.
What is IDE?
IDE stands for integrated development environment, and it’s a type of software that helps programmers create code. It does so by combining a number of functions into a single program, allowing users to write, test, and execute programs all from the same place, sometimes even with a graphical user interface.
What is Syntax?
Rules of language (a set of rules that tells the computer how to understand and run the code correctly)
Two types of testing?
White box and Black box
What are the data types?
String, integer, float, boolean
What ASCII stands for?
American Standard Code for Information Interchange
What MUTABLE means?
Mutable means that something can be changed or modified after it is created.
In programming, this usually refers to data types.
What CONCATINATION means?
Concatenation means joining two or more strings (or other sequences) together into one (combining 2 strings).
What String Slicing means?
String slicing means extracting a specific part (substring) from a string using index positions.
What are the boolean operators?
AND, OR and NOT
What are the Python functions?
-BUILT IN
-USER DEFINED
What is Modulo operator (%) in Python?
Modulo operator (%) in Python gives the remainder when one number is divided by another.
In Python, you can calculate the modulos of numeric types int and float. Also, you can calculate the modulo of negative numbers.
What are the Relational Operators?
== (equal), != (not equal), > (greater than), < (less than), >= (greater than or equal to), <= (less than or equal to)
What Array means?
An array is a collection of elements stored in a single variable, where each element can be accessed using an index.
What UNICODE means?
Unicode provides a unique number for every character.
What is a STRING?
A string is a sequence of characters used to represent text in programming.
How to declare a String?
Strings in python are usually surrounded by a pair of
non-directional single quotation marks, or double
quotation marks.
Escaped characters in a string:
' Single Quote
" Double Quote
\ Backslash
\n New Line
\t Tab
Scrutinizing strings:
*Use id () to check its unique identification number
*Use type () to check its data type
What is a Control Structure?
A control structure is a decision that the
computer makes or a block of programming that analyses variables
and chooses a direction in which to go based on
given parameters
What SSI stands for?
Sequence (the order in which tasks are to be executed).
Selection (executed only if a certain condition is met)
Iteration (a loop that allows part of the program to be executed multiple times).
What control structure is conditional and unconditional?
Sequence is Unconditional
Selection & Iteration are Conditional