Python Coding Kickstarter

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/34

flashcard set

Earn XP

Description and Tags

Based on class from Code First Girls

35 Terms

1
New cards

Describe the link between programming languages and computer processes

They act as a bridge between human language and computer processes.

2
New cards

When was Python first released?

Python was first released in 1991 by Guido van Rossum.

3
New cards

Describe 5 features of Python that make it a popular language for programmers.

1) It is free and open source

2) It is similar to English with good readability

3) It has a large standard library

4) It is an intepreted language read line by line, so there is no need to complete the code before testing.

5) Variables are determined at run time.

4
New cards

List 4 jobs that Python is commonly used for:

1) Server side web development

2) Software development

3) System scripting

4) AI and machine learning

5
New cards

Describe the function of an Integrated Development Environment

You can edit cope, complie/intepret, and debug within the environment. They are like a regular text editor but for code, and they aid with syntax editing. They can also convert written code into machine code.

6
New cards

What is the file extension for Python?

.py

7
New cards

Describe the three steps for running code.

1) Write the code - instructions for computer in a programming language.

2) Intepret the code - read line by line

3) Execution - compute executes the instructions to produce an output

8
New cards

Define syntax in general terms.

Syntax refers to the set of rules that define what symbols and characters we can use when programming. It is the grammar of coding.

9
New cards

Name two parts of Python syntax.

1) Python is case sensitive.

2) It is written in snakecase - each word is separated by underscore

10
New cards

What is the Python Console?

The Python console is a command line interpreter that takes input from the user, runs the code, and gives the required output. The console allows developers to write, test, and debug their code.

11
New cards

Define Interpreter Moder (Python Cosole)

Intepreter mode is where finished .py files are read and then executed in Python.

12
New cards

Define Interactive Mode (Python Console)

Interactive mode is a command line shell which gives immediate line feedback.

13
New cards

Define a String data type in Python (and how it is identified)

A String represents text and characters and is the name given to any sequence of characters in the code. You can indentify the string through the use of single or double quotations.

14
New cards

Give 3 formatting examples of String Methods

.upper ()

.lower ()

,title ()

15
New cards

Who popularised the Python code “Hello World”?

Popularised by the “The C Programming Languages” (1918) by Kenneth and Richie

16
New cards


17
New cards
18
New cards
19
New cards
20
New cards
21
New cards
22
New cards
23
New cards
24
New cards
25
New cards
26
New cards
27
New cards
28
New cards
29
New cards
30
New cards
31
New cards
32
New cards
33
New cards
34
New cards
35
New cards