Podcast
Questions and Answers
An ordered set of instruction to be executed by a computer to carry out a specific task is called a ______.
An ordered set of instruction to be executed by a computer to carry out a specific task is called a ______.
program
Computer understand the language of Os and 1s which is called ______.
Computer understand the language of Os and 1s which is called ______.
- Machine language
- Low level language
- Binary language
- All of the above (correct)
A program written in a high-level language is called ______ code.
A program written in a high-level language is called ______ code.
object
Python is case sensitive.
Python is case sensitive.
All keywords in Python are in lower case.
All keywords in Python are in lower case.
Which of the following is not the feature of python language?
Which of the following is not the feature of python language?
By default, the Python scripts are saved with _______ extension.
By default, the Python scripts are saved with _______ extension.
Python uses ______ to convert its instruction into machine language.
Python uses ______ to convert its instruction into machine language.
Language translator convert ______ code to ______ code.
Language translator convert ______ code to ______ code.
Which Keyboard key is used to run python programs?
Which Keyboard key is used to run python programs?
In which of the following mode, the interpreter executes the statement and displays the result as soon as we press 'Enter' key?
In which of the following mode, the interpreter executes the statement and displays the result as soon as we press 'Enter' key?
By default, the Python scripts are saved in ______.
By default, the Python scripts are saved in ______.
______ are reserved words.
______ are reserved words.
Which of the following is not correct for naming an identifier in Python?
Which of the following is not correct for naming an identifier in Python?
Flashcards
Program
Program
A set of instructions for a computer to perform a task.
Machine Language
Machine Language
The language of 0s and 1s understood by computers.
High-Level Language
High-Level Language
A programming language that humans can easily read and write.
Python Code
Python Code
Signup and view all the flashcards
Interpreter
Interpreter
Signup and view all the flashcards
Source Code
Source Code
Signup and view all the flashcards
Object Code
Object Code
Signup and view all the flashcards
Python
Python
Signup and view all the flashcards
Interactive Mode
Interactive Mode
Signup and view all the flashcards
.py extension
.py extension
Signup and view all the flashcards
Python Installation Folder
Python Installation Folder
Signup and view all the flashcards
Keyword
Keyword
Signup and view all the flashcards
Identifier
Identifier
Signup and view all the flashcards
Case Sensitivity
Case Sensitivity
Signup and view all the flashcards
F6 Keyboard Key
F6 Keyboard Key
Signup and view all the flashcards
Python is not Proprietary
Python is not Proprietary
Signup and view all the flashcards
Python is not based on ABC
Python is not based on ABC
Signup and view all the flashcards
Keywords are lowercase
Keywords are lowercase
Signup and view all the flashcards
No Spaces in Identifiers
No Spaces in Identifiers
Signup and view all the flashcards
What is a program?
What is a program?
Signup and view all the flashcards
What is machine language?
What is machine language?
Signup and view all the flashcards
What is code?
What is code?
Signup and view all the flashcards
What makes Python unique?
What makes Python unique?
Signup and view all the flashcards
Is Python case sensitive?
Is Python case sensitive?
Signup and view all the flashcards
Rules for identifiers
Rules for identifiers
Signup and view all the flashcards
What extension are Python scripts saved with?
What extension are Python scripts saved with?
Signup and view all the flashcards
Where are Python scripts saved?
Where are Python scripts saved?
Signup and view all the flashcards
Study Notes
Chapter 6 - Basic Python
- An ordered set of instructions for a computer to perform a task is called an algorithm or a program.
- Computers understand instructions in binary language (0s and 1s), also called machine language.
- A program written in a high-level language needs to be translated into machine language using a compiler or interpreter.
- Python uses an interpreter to translate source code into machine language.
- Python is an open-source language, based on the ABC language, and developed by Guido Van Rossum.
- Python is case-sensitive.
- The key to run Python programs is CTRL + R.
- Python keywords are all lowercase.
- Python is not a proprietary language.
- Python uses brackets for blocks of code.
- Python scripts are usually saved with a .py extension.
- Python scripts are typically saved in the Python installation folder.
- Reserved words in Python include keywords, variables, and comments.
- Identifiers in Python cannot be keywords and do not use special symbols like !@#$% or spaces.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
Dive into the fundamental concepts of Python programming with this quiz based on Chapter 6. Explore algorithms, machine language, the role of the interpreter, and the essentials of Python syntax. Perfect for beginners and those looking to strengthen their programming skills.