100% tevredenheidsgarantie Direct beschikbaar na betaling Zowel online als in PDF Je zit nergens aan vast
logo-home
PCEP exam Question and answers correctly solved €13,15   In winkelwagen

Tentamen (uitwerkingen)

PCEP exam Question and answers correctly solved

 8 keer bekeken  0 keer verkocht
  • Vak
  • PCEP
  • Instelling
  • 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...

[Meer zien]

Voorbeeld 4 van de 46  pagina's

  • 18 oktober 2024
  • 46
  • 2024/2025
  • Tentamen (uitwerkingen)
  • Vragen en antwoorden
  • PCEP
  • PCEP
avatar-seller
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

Voordelen van het kopen van samenvattingen bij Stuvia op een rij:

Verzekerd van kwaliteit door reviews

Verzekerd van kwaliteit door reviews

Stuvia-klanten hebben meer dan 700.000 samenvattingen beoordeeld. Zo weet je zeker dat je de beste documenten koopt!

Snel en makkelijk kopen

Snel en makkelijk kopen

Je betaalt supersnel en eenmalig met iDeal, creditcard of Stuvia-tegoed voor de samenvatting. Zonder lidmaatschap.

Focus op de essentie

Focus op de essentie

Samenvattingen worden geschreven voor en door anderen. Daarom zijn de samenvattingen altijd betrouwbaar en actueel. Zo kom je snel tot de kern!

Veelgestelde vragen

Wat krijg ik als ik dit document koop?

Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.

Tevredenheidsgarantie: hoe werkt dat?

Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.

Van wie koop ik deze samenvatting?

Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper flyhigher329. Stuvia faciliteert de betaling aan de verkoper.

Zit ik meteen vast aan een abonnement?

Nee, je koopt alleen deze samenvatting voor €13,15. Je zit daarna nergens aan vast.

Is Stuvia te vertrouwen?

4,6 sterren op Google & Trustpilot (+1000 reviews)

Afgelopen 30 dagen zijn er 75057 samenvattingen verkocht

Opgericht in 2010, al 14 jaar dé plek om samenvattingen te kopen

Start met verkopen
€13,15
  • (0)
  Kopen