100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
PCEP Question and answers correctly solved $13.49   Add to cart

Exam (elaborations)

PCEP Question and answers correctly solved

 6 views  0 purchase
  • Course
  • PCEP
  • Institution
  • PCEP

PCEP Question and answers correctly solved PCEP - Certified Entry-Level Python Programmer Study Cards Alphabet - correct answer a set of symbols used to build words of a certain language (e.g., the Latin alphabet for English, the Cyrillic alphabet for Russian, Kanji for Japanese, and so on) ...

[Show more]

Preview 3 out of 19  pages

  • October 18, 2024
  • 19
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • pcep
  • PCEP
  • PCEP
avatar-seller
flyhigher329
PCEP - Certified Entry-Level Python
Programmer Study Cards
Alphabet - correct answer ✔a set of symbols used to build words of a certain
language (e.g., the Latin alphabet for English, the Cyrillic alphabet for
Russian, Kanji for Japanese, and so on)


Lexis - correct 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 - correct 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 - correct 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)


Source code - correct answer ✔A program written in a high-level
programming language (in contrast to the machine code executed by
computers)


Source file - correct answer ✔the file containing the source code


What compositions must a computer program have to make sense? - correct
answer ✔A computer program must make sense:

,alphabetically - a program needs to be written in a recognizable script, such
as Roman, Cyrillic, etc.


lexically - 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 - each language has its rules and they must be obeyed;


semantically - the program has to make sense.


What are two different ways of transforming a program from a high-level
programming language into machine language? - correct answer
✔Compilation and Interpretation


What is compilation? - correct answer ✔The translation of source code into
machine code.


What is interpretation? - correct 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.


How is source code stored and what requirements must it meet? - correct
answer ✔Source code is stored in a computer file, typically a text file. The
text file must be a pure text file without any decorations like different fonts,
colors, embedded images or other media.


Advantages to compilation? - correct 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.


Advantages to interpretation? - correct 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.


Disadvantages to compilation? - correct 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.


Disadvantages to interpretation? - correct 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.


What are scripting languages? - correct answer ✔languages designed to be
utilized in the interpretation manner.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller flyhigher329. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $13.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

73918 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$13.49
  • (0)
  Add to cart