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 ______.
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.
Signup and view all the answers
All keywords in Python are in lower case.
All keywords in Python are in lower case.
Signup and view all the answers
Which of the following is not the feature of python language?
Which of the following is not the feature of python language?
Signup and view all the answers
By default, the Python scripts are saved with _______ extension.
By default, the Python scripts are saved with _______ extension.
Signup and view all the answers
Python uses ______ to convert its instruction into machine language.
Python uses ______ to convert its instruction into machine language.
Signup and view all the answers
Language translator convert ______ code to ______ code.
Language translator convert ______ code to ______ code.
Signup and view all the answers
Which Keyboard key is used to run python programs?
Which Keyboard key is used to run python programs?
Signup and view all the answers
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?
Signup and view all the answers
By default, the Python scripts are saved in ______.
By default, the Python scripts are saved in ______.
Signup and view all the answers
______ are reserved words.
______ are reserved words.
Signup and view all the answers
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?
Signup and view all the answers
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.