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

Exam (elaborations)

PCEP exam Question and answers correctly solved

 8 views  0 purchase
  • Course
  • PCEP
  • Institution
  • PCEP

PCEP exam Question and answers correctly solved PCEP exam What 4 elements must a language contain? alphabet, lexis, syntax, semantics What is machine language? a rudimentary computer programming language consisting of binary or hexadecimal instructions which a computer can respond to d...

[Show more]

Preview 4 out of 46  pages

  • October 18, 2024
  • 46
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • pcep exam
  • PCEP
  • PCEP
avatar-seller
flyhigher329
PCEP exam
What 4 elements must a language contain?
alphabet, lexis, syntax, semantics




What is machine language?
a rudimentary computer programming language consisting of binary or
hexadecimal instructions which a computer can respond to directly




What is a instruction list?
- alphabet of machine language
- simplest and most primary set of symbols we can use to give commands to a
computer




What is a high-level programming language?
- similar to natural language - bc they use symbols, words and conventions
readable to humans
- enable to express commands to computers that are much more complex
than those offered by ILs




What is a source code?
a program written in a high-level programming language

,What is a source file?
a file containing source code




What two ways can you use to translate a high level programming language
into a machine language?
- compilation or interpretation




How do compiled programming languages work?
- the source code is translated only once (this must be repeated each time
you modify the source code)
- the program performing this kind of transformation is called called
compiler/translator
- the source code is translated into a executable binary file containing the
machine code that can be directly executed by the computer's CPU




How do interpreted programming languages work?
- the source code needs to be translate each time you want to run the
program
- the program performing this kind of transformation is called an interpreter
- when you distribute the source code, you must also include the interpreter
with it (or the information about interpreter version and any required
dependencies to ensure smooth execution)

,Can language be both compiled and interpreted?
- yes but there are very few cases




Advantages and disadvantages of compilation
+ execution of code usually faster
+ end-user does not need compiler
+ very low risk of ideas theft - compiled code is in machine code - hard to
understand


- compilation itself is very time consuming
- compiler is hardware dependent - the more platforms, the more compilers




Advantages and disadvantages of interpretation
+ code can be run directly after its completion
+ code is stored in programming language = can be run on any machine as it
is translated into machine language each time that it executes


- slower than compiled
- both creator as the end-user need to have the interpreter




Which series was the inspiration for Python´s name?
Monty Python's Flying Circus

, Who is the creator of Python?
Guido van Rossum




What were the 4 main goals of Python creator that he had in mind while
creating it?
- easy and intuitive language
- open source
- code that is as understandable as plain English
- suitable for everyday tasks, short development times




What are the 2 direct competitors of Python?
- Ruby - Yukihiro Matsumoto - innovative and more full of fresh ideas
- Perl - Larry Wall - more traditional and more conservative




For which two areas is Python not suitable?
- low-level programming
- mobile applications




Are Python 2 and Python 3 compatible?
- No, therefore it is better not to rewrite the source code into a different
version, just to improve the existing interpreter

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)

62890 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