100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Module 1.1 - Introduction to Programming with Python Questions and Complete Solutions Graded A+

Rating
-
Sold
-
Pages
4
Grade
A+
Uploaded on
26-03-2025
Written in
2024/2025

Module 1.1 - Introduction to Programming with Python Questions and Complete Solutions Graded A+ Machine Language - Answer: Computers have their own language too, which is very rudimentary. Instruction List (IL) - Answer: A complete set of known commands is called an Natural Languages - Answer: they are still evolving, and new words are created every day as old words disappear. These languages are called Alphabet - Answer: a set of symbols used to build words of a certain language Lexis - Answer: (aka a dictionary) a set of words the language offers its users (e.g., the word "computer" comes from the English language dictionary, while "cmoptrue" doesn't; the word "chat" is present both in English and French dictionaries, but their meanings are different) Syntax - Answer: a set of rules (formal or informal, written or felt intuitively) used to determine if a certain string of words forms a valid sentence (e.g., "I am a python" is a syntactically correct phrase, while "I a python am" isn't) Semantics - Answer: a set of rules determining if a certain phrase makes sense (e.g., "I ate a doughnut" makes sense, but "A doughnut ate me" doesn't) The IL - Answer: the alphabet of a machine language. This is the simplest and most primary set of symbols we can use to give commands to a computer. It's the computer's mother tongue. Source Code - Answer: A program written in a high-level programming language Source Files - Answer: the file containing the source code is Alphabetically - Answer: a program needs to be written in a recognizable script, such as Roman, Cyrillic, etc. Lexically - Answer: each programming language has its dictionary and you need to master it; thankfully, it's much simpler and smaller than the dictionary of any natural language; Syntactically - Answer: each language has its rules and they must be obeyed; Semantically - Answer: the program has to make sense. Compilation - Answer: the source program is translated once (however, this act must be repeated each time you modify the source code) by getting a file (e.g., an .exe file if the code is intended to be run under MS Windows) containing the machine code; now you can distribute the file worldwide; the program that performs this translation is called a compiler or translator; Interpretation - Answer: you (or any user of the code) can translate the source program each time it has to be run; the program performing this kind of transformation is called an interpreter, as it interprets the code every time it is intended to be executed; it also means that you cannot just distribute the source code as-is, because the end-user also needs the interpreter to execute it. Computer File - Answer: Let's assume once more that you have written a program. Now, it exists as a Text Files - Answer: a computer program is actually a piece of text, so the source code is usually placed in Pure Text - Answer: without any decorations like different fonts, colors, embedded images or other media Error Message - Answer: If the compiler finds an error, it finishes its work immediately. The only result in this case is an Compilation Advantages - Answer: - the execution of the translated code is usually faster; - only the user has to have the compiler - the end-user may use the code without it; - the translated code is stored using machine language as it is very hard to understand it, your own inventions and programming tricks are likely to remain your secret. Compilation Disadvantages - Answer: - the compilation itself may be a very time-consuming process - you may not be able to run your code immediately after making an amendment; - you have to have as many compilers as hardware platforms you want your code to be run on. Interpretation Advantages - Answer: - you can run the code as soon as you complete it - there are no additional phases of translation; - the code is stored using programming language, not machine language - this means that it can be run on computers using different machine languages; you don't compile your code separately for each different architecture. Interpretation Disadvantages - Answer: - don't expect interpretation to ramp up your code to high speed - your code will share the computer's power with the interpreter, so it can't be really fast; - both you and the end user have to have the interpreter to run your code. Monty Python's Flying Circus - Answer: the name of the Python programming language comes from an old BBC television comedy sketch series called Guido van Rossum - Answer: Python was created by Open Source - Answer: Anyone can contribute to its development Perl and Ruby - Answer: Pythons top 2 competitors all the newer versions of Python 3 are - Answer: backward compatible with the previous versions of Python 3.

Show more Read less
Institution
Introduction To Programming In Python - C859
Course
Introduction to Programming in Python - C859








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Introduction to Programming in Python - C859
Course
Introduction to Programming in Python - C859

Document information

Uploaded on
March 26, 2025
Number of pages
4
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Module 1.1 - Introduction to
Programming with Python Questions
and Complete Solutions Graded A+
Machine Language - Answer: Computers have their own language too, which is very rudimentary.



Instruction List (IL) - Answer: A complete set of known commands is called an



Natural Languages - Answer: they are still evolving, and new words are created every day as old words
disappear. These languages are called



Alphabet - Answer: a set of symbols used to build words of a certain language



Lexis - Answer: (aka a dictionary) a set of words the language offers its users (e.g., the word "computer"
comes from the English language dictionary, while "cmoptrue" doesn't; the word "chat" is present both
in English and French dictionaries, but their meanings are different)



Syntax - Answer: a set of rules (formal or informal, written or felt intuitively) used to determine if a
certain string of words forms a valid sentence (e.g., "I am a python" is a syntactically correct phrase,
while "I a python am" isn't)



Semantics - Answer: a set of rules determining if a certain phrase makes sense (e.g., "I ate a doughnut"
makes sense, but "A doughnut ate me" doesn't)



The IL - Answer: the alphabet of a machine language. This is the simplest and most primary set of
symbols we can use to give commands to a computer. It's the computer's mother tongue.



Source Code - Answer: A program written in a high-level programming language



Source Files - Answer: the file containing the source code is

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
YourExamplug Grand Canyon University
View profile
Follow You need to be logged in order to follow users or courses
Sold
171
Member since
1 year
Number of followers
26
Documents
14332
Last sold
3 days ago
Your Exm Plug

Assignments, Case Studies, Research, Essay writing service, Questions and Answers, Discussions etc. for students who want to see results twice as fast. I have done papers of various topics and complexities. I am punctual and always submit work on-deadline. I write engaging and informative content on all subjects. Send me your research papers, case studies, psychology papers, etc, and I’ll do them to the best of my abilities. Writing is my passion when it comes to academic work. I’ve got a good sense of structure and enjoy finding interesting ways to deliver information in any given paper. I love impressing clients with my work, and I am very punctual about deadlines. Send me your assignment and I’ll take it to the next level. I strive for my content to be of the highest quality. Your wishes come first— send me your requirements and I’ll make a piece of work with fresh ideas, consistent structure, and following the academic formatting rules. For every student you refer to me with an order that is completed and paid transparently, I will do one assignment for you, free of charge!!!!!!!!!!!!

Read more Read less
4.3

67 reviews

5
38
4
16
3
7
2
4
1
2

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions