CS50 - The Basics Flashcards
What is an IDE
It is an integrated development environment. It’s an application interface that allows the user to program in a chosen language such as Python. It has options for it to be converted into a file to store and some other miscellaneous features
What is a data type?
It is a declared type of variable which determines how the variable will store.
What are all the data types?
Int.(integer and non-decimal numbers),
unsigned int. is a qualifier , doubles the positive range of variables.
bool(ean) true or false,
float - real numbers,
char - singular character.
Double - used for variables that will store floating-point values.
Void - placeholder for nothing
What is an array.
It is a fundamental data structure to hold values at the same Type at contiguous memory locations.
What is the purpose of conditional statements (if, else, elif)?
Allows programs to make decisions and take different forks in the road, depending on the values of variables or user input
What is the purpose of loops
Allow your programs to execute lines of code repeatedly, saving you from needing to copy and paste or otherwise repeat lines of code