Back to marketplace

Chapter 53 - Programming basics

No description yet. This curated deck is ready for daily study.

Total cards: 18•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (18)

#1
Front (Question)

What is an algorithm?

Back (Answer)

» A set of rules or a sequence of steps specifying how to solve a problem

#2
Front (Question)

What is pseudocode?

Back (Answer)

» Shows the important aspects of coding without an syntaxes

#3
Front (Question)

What is a comment?

Back (Answer)

» Allows you to document your code and explains what the code does

#4
Front (Question)

What is an integer?

Back (Answer)

» A whole number

#5
Front (Question)

What is a real/float?

Back (Answer)

» Number with a fractional part which can be negative

#6
Front (Question)

What is a character?

Back (Answer)

» A letter or a number

#7
Front (Question)

What is a string?

Back (Answer)

» Anything enclosed in quote marks or double quotes

#8
Front (Question)

What does the round function do?

Back (Answer)

» Round the number

#9
Front (Question)

What does the div function do?

Back (Answer)

» Return the whole numer

#10
Front (Question)

What does mod do?

Back (Answer)

» Finds the remainder

#11
Front (Question)

What does len(string) do?

Back (Answer)

» Returns the length of a string

#12
Front (Question)

What does string.find(str) do?

Back (Answer)

» Determines if str occurs in string » Returns index if found » Returns -1 otherwise

#13
Front (Question)

What does ord(“a”) do?

Back (Answer)

» In this case returns the integer value of a character » 97 in this example

#14
Front (Question)

What does char(97) do?

Back (Answer)

» Returns the character represented by an integer

#15
Front (Question)

What is concatentation?

Back (Answer)

» Where you join 2 string together » Do it by using + operator

#16
Front (Question)

What are the 5 string conversion operations?

Back (Answer)

» int() » str() » float() » date()

#17
Front (Question)

What are variables?

Back (Answer)

» Are identifiers given to memory locations whose contents will change during the course of the program

#18
Front (Question)

What are constants?

Back (Answer)

» Values which never changes while the program is being run