Masigaderic
On this page, you find all documents, package deals, and flashcards offered by seller masigaderic.
- 513
- 0
- 18
Community
- Followers
- Following
520 Reviews received
531 items
Python Exam Challenge Questions with merged Solution 2024
1. Which of the following is correct about Python? 
a. Python is a high-level, interpreted, interactive and object-oriented scripting language. 
b. Python is designed to be highly readable. 
c. It uses English keywords frequently where as other languages use punctuation, and it 
has fewer syntactical constructions than other languages. 
d. All of the above - d. All of the above. 
2. Is Python case sensitive when dealing with identifiers? 
a. yes 
b. no 
c. it depends on context 
d. it depends...
- Exam (elaborations)
- • 6 pages •
1. Which of the following is correct about Python? 
a. Python is a high-level, interpreted, interactive and object-oriented scripting language. 
b. Python is designed to be highly readable. 
c. It uses English keywords frequently where as other languages use punctuation, and it 
has fewer syntactical constructions than other languages. 
d. All of the above - d. All of the above. 
2. Is Python case sensitive when dealing with identifiers? 
a. yes 
b. no 
c. it depends on context 
d. it depends...
Python Exam 3 Review Questions and Answers
This term refers to an individual item in a list - Element 
This is a number that identifies an item in a list - index 
This is the first index in a list - 0 
This is the last index in a list - The size of the list minus one 
This will happen if you try to use an index that is out of range for a list - an IndexError will occur 
This function returns the length of a list - len 
When the * operator's left operand is a list and its right oberand is an integer, the operator becoms this - 
the repet...
- Exam (elaborations)
- • 4 pages •
This term refers to an individual item in a list - Element 
This is a number that identifies an item in a list - index 
This is the first index in a list - 0 
This is the last index in a list - The size of the list minus one 
This will happen if you try to use an index that is out of range for a list - an IndexError will occur 
This function returns the length of a list - len 
When the * operator's left operand is a list and its right oberand is an integer, the operator becoms this - 
the repet...
Python Exam 2 Study Questions with Complete solutions for new updates
Functions - group of statements that exist within a program for the purpose of performing a 
specific task 
 Divide and conquer - Instead of writing 1 large program, break it down into individual tasks. 
individuals or teams can works independently on separate tasks. 
 Advantages of divide and conquer - Simpler for programmers 
code reuse 
better testing 
faster development 
 void function - executes statements, nothing is put into it by the program, and it sends 
nothing back to the main pro...
- Exam (elaborations)
- • 6 pages •
Functions - group of statements that exist within a program for the purpose of performing a 
specific task 
 Divide and conquer - Instead of writing 1 large program, break it down into individual tasks. 
individuals or teams can works independently on separate tasks. 
 Advantages of divide and conquer - Simpler for programmers 
code reuse 
better testing 
faster development 
 void function - executes statements, nothing is put into it by the program, and it sends 
nothing back to the main pro...
Python Exam 2 Revision Questions and Answers 2024
If a file with the specified name already exists when the file is opened and the file is opened in 
'w' mode, then an alert will appear on the screen. - False 
 When a piece of data is read from a file, it is copied from the file into the program - false 
 closing a file disconnects the communication between the file and the program - true 
 In python, there is nothing that can be donee if the program tries to access a file to read that 
does not exist - false 
 Python allows the programmer...
- Exam (elaborations)
- • 11 pages •
If a file with the specified name already exists when the file is opened and the file is opened in 
'w' mode, then an alert will appear on the screen. - False 
 When a piece of data is read from a file, it is copied from the file into the program - false 
 closing a file disconnects the communication between the file and the program - true 
 In python, there is nothing that can be donee if the program tries to access a file to read that 
does not exist - false 
 Python allows the programmer...
Python Exam 2 Challenge Questions and Answers
Which of the following is the correct extension of the Python file? 
.py 
Does python code need to be compiled or interpreted? 
Python code is both compiled and interpreted 
Which of the following is used to define a block of code in Python language? 
Indentation 
Which keyword is used for function in Python language? 
def 
Which of the following functions is a built-in function in python? 
print() 
Which of the following is not python's built-in function 
re() 
Which of the following is not a ...
- Exam (elaborations)
- • 20 pages •
Which of the following is the correct extension of the Python file? 
.py 
Does python code need to be compiled or interpreted? 
Python code is both compiled and interpreted 
Which of the following is used to define a block of code in Python language? 
Indentation 
Which keyword is used for function in Python language? 
def 
Which of the following functions is a built-in function in python? 
print() 
Which of the following is not python's built-in function 
re() 
Which of the following is not a ...
Python Exam 2 Challenge Questions and Answers for new updates.
if you were writing your source code in the JavaScript programming language, what file 
extension would you use to save your file? - .js 
 What is the standard extension to use for a python code file? - .py 
 if you were developing an application for an iPhone, which IDE would you use? - XCode 
 Which IDE feature allows you to get code suggestions while you are typing? - IntelliSense 
 which tool is used to write source code? - a text editor 
 which language does not use a hybrid compiler/inte...
- Exam (elaborations)
- • 4 pages •
if you were writing your source code in the JavaScript programming language, what file 
extension would you use to save your file? - .js 
 What is the standard extension to use for a python code file? - .py 
 if you were developing an application for an iPhone, which IDE would you use? - XCode 
 Which IDE feature allows you to get code suggestions while you are typing? - IntelliSense 
 which tool is used to write source code? - a text editor 
 which language does not use a hybrid compiler/inte...
Python Exam 2 Briefing Questions with Complete solutions
Sequences - objects that can hold multiple items of data in order. You can then perform operations 
on sequences to examine and manipulate the items stored in them. 
What sequence types does Python use? - Lists, tuples 
Lists are mutable. What does this mean? - Their contents can be changed during program execution 
What are the different ways lists can be created? - [ ] with numbers and/or strings, along with using 
range (list(range(2, 22, 2))) 
What are Python's list operations? - + can jo...
- Exam (elaborations)
- • 3 pages •
Sequences - objects that can hold multiple items of data in order. You can then perform operations 
on sequences to examine and manipulate the items stored in them. 
What sequence types does Python use? - Lists, tuples 
Lists are mutable. What does this mean? - Their contents can be changed during program execution 
What are the different ways lists can be created? - [ ] with numbers and/or strings, along with using 
range (list(range(2, 22, 2))) 
What are Python's list operations? - + can jo...
Python Exam 1: 60 Multiple Choice Questions with merged correct Answers
1. What is the informal language, used by programmers use to create models of programs, that has 
no syntax rules and is not meant to be compiled or executed? 
a. flowchart 
b. algorithm 
c. source code 
d. pseudocode - d. pseudocode 
2. A(n) ________ is a diagram that graphically depicts the steps that take place in a program. 
a. flowchart 
b. algorithm 
c. source code 
d. pseudocode - a. flowchart 
3. The ________ function reads a piece of data that has been entered at the keyboard and retur...
- Exam (elaborations)
- • 9 pages •
1. What is the informal language, used by programmers use to create models of programs, that has 
no syntax rules and is not meant to be compiled or executed? 
a. flowchart 
b. algorithm 
c. source code 
d. pseudocode - d. pseudocode 
2. A(n) ________ is a diagram that graphically depicts the steps that take place in a program. 
a. flowchart 
b. algorithm 
c. source code 
d. pseudocode - a. flowchart 
3. The ________ function reads a piece of data that has been entered at the keyboard and retur...
Python Exam 1 Summary Questions with Complete Solutions
• algorithm - A set of specific steps for solving a category of problems 
• comment - Text in a program that is meant for other programmers (or anyone reading the 
source code) and has no effect on the execution of the program 
• high-level language - A programming language like Python that is designed to be easy for 
humans to read and write. 
• print - A function used in a program or script that causes the Python interpreter to display a 
value on its output device. 
• runtime err...
- Exam (elaborations)
- • 6 pages •
• algorithm - A set of specific steps for solving a category of problems 
• comment - Text in a program that is meant for other programmers (or anyone reading the 
source code) and has no effect on the execution of the program 
• high-level language - A programming language like Python that is designed to be easy for 
humans to read and write. 
• print - A function used in a program or script that causes the Python interpreter to display a 
value on its output device. 
• runtime err...
Python Exam 1 Study guide and Summary 2024
algorithm - A set of specific steps for solving a category of problems 
 comment - Text in a program that is meant for other programmers (or anyone reading the 
source code) and has no effect on the execution of the program 
 high-level language - A programming language like Python that is designed to be easy for 
humans to read and write. 
 print - A function used in a program or script that causes the Python interpreter to display a 
value on its output device. 
 runtime error - An error t...
- Exam (elaborations)
- • 6 pages •
algorithm - A set of specific steps for solving a category of problems 
 comment - Text in a program that is meant for other programmers (or anyone reading the 
source code) and has no effect on the execution of the program 
 high-level language - A programming language like Python that is designed to be easy for 
humans to read and write. 
 print - A function used in a program or script that causes the Python interpreter to display a 
value on its output device. 
 runtime error - An error t...
OCR 2023 GCE Sociology H580/02: Researching and understanding social inequalities A Level Question Paper & Mark Scheme (Merged)
OCR 2023 GCSE Economics J205/01: Introduction to economics Question Paper & Mark Scheme (Merged
OCR 2023 Biology A H020/02: Depth in biology AS Level Question Paper & Mark Scheme (Merged)
OCR 2023 Biology A H020/01: Breadth in biology OCR 2023Biology AH020/01: Breadth in biology AS Level Question Paper & Mark Scheme (Merged)AS Level Question Paper & Mark Scheme (Merged)
OCR 2023 Biology A H020/02: Depth in biology AS Level Question Paper & Mark Scheme (Merged)