WGU C173 Study Sheet Questions And Answers With Complete Solution
WGU C173 Study Sheet What is a compiled programming language? - 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? - 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? - 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? - Something that has its own identity and characteristics, separate from other objects. What three things describe an object in object-oriented programming languages? - identity, attributes, and behavior What is a class? - 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? - 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? - 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? - Creating instances of a class What is abstraction? - 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.
Written for
- Institution
- WGU C173
- Course
- WGU C173
Document information
- Uploaded on
- December 29, 2022
- Number of pages
- 11
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
wgu c173 study sheet questions and answers with complete solution
-
what is a compiled programming language
-
what is an interpreted programming language
-
what is the main difference in compiled and inter
Also available in package deal