Python, Pseudo Code & Programming

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

How do you set up a variable in python?

First you need to name the variable and put an equals sign after it eg. 'ExampleVariable ='

What is the 'int' function and where do you add it to a program?

Int is short for integer which is a whole number. In a program you write it before a whole number

What does the print function do?

Prints information on the user's screen

What do strings contain?

- letters - numbers - characters

What is pseudo code?

- not code - in plain English - cannot be run as code - explains code in in plain English

What is a float?

A data type which contains a decimal

What is python?

A programming language

What does the input function do?

Allows the user to input something into the program

What is an algorithm?

An algorithm is a solution to a problem that meets the following criteria: - list of instructions/formula that solves the problem


Kaugnay na mga set ng pag-aaral

Chapter 25: Baroque Art: Northern Europe

View Set

Chapter 10 - America Claims an Empire

View Set