Course (2 versions) Includes Verified Questions And
Learning Content Covering Foundational Computing
Concepts Such As Programming Logic, Software
Development Lifecycles, Algorithms, Data Structures,
Binary And Hexadecimal
Systems, And Basic Cybersecurity Principles. This
Course
Serves As An Entry Point Into WGU’s Computer Science
Or
IT Degree Programs, Preparing Students For More
Advanced Technical Coursework.
Which principle of OOP is demonstrated by restricting access to certain parts of an
object?
- Abstraction
- Encapsulation
- Inheritance
- Polymorphism - ANSWER--Encapsulation
What does the term "abstraction" refer to in OOP?
- The practice of hiding the complex implementation details and showing only the
necessary features
- The ability to define multiple methods with the same name but different parameter
lists
- The process of creating complex data types from basic ones
, WGU’s D684 Introduction To Computer Science
Course (2 versions) Includes Verified Questions And
Learning Content Covering Foundational Computing
Concepts Such As Programming Logic, Software
Development Lifecycles, Algorithms, Data Structures,
Binary And Hexadecimal
Systems, And Basic Cybersecurity Principles. This
Course
Serves As An Entry Point Into WGU’s Computer Science
Or
IT Degree Programs, Preparing Students For More
Advanced Technical Coursework.
- The ability of different objects to respond to the same method in different ways -
ANSWER--The practice of hiding the complex implementation details and showing
only the necessary features.
Which value is stored as an integer in computer programming?
- "0"
- true
- -306.5
- 21 - ANSWER--21
Which coding construct repeats a task while a condition is true?
- Iteration
- Input/output
- Selection
- Assignment - ANSWER--Iteration
, WGU’s D684 Introduction To Computer Science
Course (2 versions) Includes Verified Questions And
Learning Content Covering Foundational Computing
Concepts Such As Programming Logic, Software
Development Lifecycles, Algorithms, Data Structures,
Binary And Hexadecimal
Systems, And Basic Cybersecurity Principles. This
Course
Serves As An Entry Point Into WGU’s Computer Science
Or
IT Degree Programs, Preparing Students For More
Advanced Technical Coursework.
How are items accessed in a stack?
- The item removed is the one that has been in the longest time.
- All items can be added to or removed from any location.
- The last item to be added becomes the first item removed.
- All items can be accessed or changed but not easily inserted or removed. -
ANSWER--The last item to be added becomes the first item removed.
What is the relationship between a parameter and an argument?
- A parameter is passed to a function by reference, whereas an argument is passed by
value.
- A parameter is a temporary variable in a function that receives the actual value of an
argument.
- An argument is an identifier in a function that receives the value called the
parameter.
, WGU’s D684 Introduction To Computer Science
Course (2 versions) Includes Verified Questions And
Learning Content Covering Foundational Computing
Concepts Such As Programming Logic, Software
Development Lifecycles, Algorithms, Data Structures,
Binary And Hexadecimal
Systems, And Basic Cybersecurity Principles. This
Course
Serves As An Entry Point Into WGU’s Computer Science
Or
IT Degree Programs, Preparing Students For More
Advanced Technical Coursework.
- An argument is a value set in the code by a calculation, whereas a parameter is set
by user input. - ANSWER--A parameter is a temporary variable in a function that
receives the actual value of an argument.
Which programming language is considered to be a declarative language?
- Smalltalk
- BASIC
- Lisp
- Java - ANSWER--Lisp: The declarative programming paradigm is a model in which
the results are described, but the steps to accomplish the results are not stated.
What does computational thinking involve?
- Designing user interfaces
- Managing network infrastructure
- Solving problems using logical steps