Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

WGU C173 SCRIPTING AND PROGRAMMING – FOUNDATIONS FINAL PRE-ASSESSMENT 2022/2023 DETAILED QUESTIONS AND ANSWERS(A+ GRADED)

Beoordeling
-
Verkocht
-
Pagina's
17
Cijfer
A+
Geüpload op
14-09-2022
Geschreven in
2022/2023

WGU C173 SCRIPTING AND PROGRAMMING – FOUNDATIONS FINAL PRE-ASSESSMENT 2022/2023 DETAILED QUESTIONS AND ANSWERS(A+ GRADED)

Instelling
Vak

Voorbeeld van de inhoud

WGU C173 SCRIPTING AND PROGRAMMING – FOUNDATIONS FINAL
PRE-ASSESSMENT 2022/2023 DETAILED QUESTIONS AND ANSWERS
What is a compiled programming language? (correct answers)You write your source code and then a
compiler goes through the code and creates a separate file that contains the machine code. This
separate file is an executable file because the computer can directly execute it. All of the code is
converted at once and the new compiled file is no longer editable.



What is an interpreted programming language? (correct answers)An interpreted language does the
conversion from source code to machine code on-the- fly. There is no separate machine code file. The
computer executes each line when it is needed. This means that all of the code is saved in a format that
is editable programming language.



What is the main difference in compiled and interpreted code? (correct answers)The main difference is
when the code is converted to machine language. A compiled language converts all of the code at one
time, before the code is run by the machine, and saves this into a new file. That new file is now machine
code, and is not editable. An interpreted language still needs to convert to machine language in order
for the computer to understand it, but it does this at the time that the code is executed. The original
programming language is preserved, so it is editable.



What is an object? (correct answers)Something that has its own identity and characteristics, separate
from other objects.



What three things describe an object in object-oriented programming languages? (correct
answers)identity, attributes, and behavior



What is a class? (correct answers)A class describes what an object will be, but it isn't the object itself. A
class is a blueprint, a detailed description, a definition of an object.



Why would we create a class? (correct answers)To create a blueprint upon which to build multiple
objects that share attributes and behaviors.

,What is the difference in an object and a class? (correct answers)An object is something that has its own
identify and characteristics, separate from other objects. A class describes that object will be, but it isn't
the object itself. For example, a house is an object and the blueprints used to create it would be
considered the class.



What is instantiation? (correct answers)Creating instances of a class



What is abstraction? (correct answers)Focus on the essential qualities of something rather than one
specific example. For example, if I say a table you have an idea of what I mean even though I didn't say if
it was wood/glass or big/small. This is the essential idea behind creating classes.



What is encapsulation? (correct answers)Surrounding something, not just to keep the contents
together, but also to protect those contents. Restricts access to the inner workings of a class or any
objects based on that class; this is referred to as information hiding or data hiding.



What is inheritance? (correct answers)A form of code reuse.



How does inheritance apply to working with classes? (correct answers)We can create a new class, but
instead of writing it from scratch, we can base it on an existing class. It would inherit some of the
characteristics of the base class but could also have its own unique properties and methods that are not
shared with the base class.



What is polymorphism? How does polymorphism apply to working with classes? (correct
answers)Means many forms. It lets us automatically do the correct behavior even if what we're working
with could take one of many different forms. The + is a great example. If we're adding two variables
together with the plus sign, and these variables are integers, it will numerically add them. But if they are
two strings it will concatenate them. With classes this allows us to work with objects created from
different classes.



How do you define a class in Python? (correct answers)The syntax for creating a class in Python is:

class <ClassName> (<BaseClass>):

, <Block>



What is a programming library? (correct answers)A programming library is simply code that is already
written, already tested, and ready for you to link to and use.



Why are libraries useful? (correct answers)These can greatly reduce the amount of time to write code.



What does it mean if a programming language is object oriented? (correct answers)An object oriented
programming language that is organized around objects or classes, rather than "actions". Object-
oriented programming takes the view that what we really care about are the objects we want to
manipulate rather than the logic required to manipulate them.



Which of these programs is object-oriented (correct answers)Java, .NET & C#, Ruby, Python, Objective-C



What is this programming languages best used for: C (correct answers)C - games, utilities, embedded
systems, operating systems



What is this programming languages best used for: Java (correct answers)Java - cross-platform language,
used for desktop applications and android mobile applications



What is this programming languages best used for: .NET (correct answers):.NET - windows platforms -
desktop, mobile, or web



What is this programming languages best used for: C# sharp (correct answers)C# sharp - windows
platforms - desktop, mobile, or web



What is this programming languages best used for: Ruby (correct answers)Ruby - cross-platform
language, used for small utilities and web apps

Geschreven voor

Vak

Documentinformatie

Geüpload op
14 september 2022
Aantal pagina's
17
Geschreven in
2022/2023
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$8.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF


Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
MENTALGIANT Western Governors University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
493
Lid sinds
4 jaar
Aantal volgers
385
Documenten
269
Laatst verkocht
1 week geleden
ALL UNIVERSITY FINAL EXAMs, OAs, PAs, NURSING EXAMS AND TESTBANKS NB: REVIEWING GETS CHEAPER PRICES

ALL UNIVERSITY FINAL EXAMs, OAs, PAs, NURSING EXAMS AND TESTBANKS/ STUDY GUIDES(Verified learners) Here, you will find everything you need in ALL UNIVERSITY FINAL EXAMs, OAs, PAs, NURSING EXAMS AND TESTBANKS.Contact us, to fetch it for you in minutes if we do not have it in this shop.BUY WITHOUT DOUBT!!!!Always leave a review after purchasing any document so as to make sure our customers are 100% satisfied.

3.5

92 beoordelingen

5
38
4
10
3
19
2
10
1
15

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen