Represent valid comments

Assignment Help Basic Computer Science
Reference no: EM13773446

1. Which of the following statements is/are true?

A. Object names are***** the bottom section of a UML diagram.

B. Attribute names are***** the bottom section of a UML diagram.

C. Method names are***** the bottom section of a UML diagram.

D. Class names are***** the bottom section of a UML diagram.

E. None of the above

2. Java, C#, and C++ all allow use of comments. Which of the following represent(s) valid comments in these three languages?

A. /* Comment */

B. //* Comment */

C. // Comment //

D. //Comment

E. All of the above

F. None of the above

3. Attributes represent the _____ of an object because they store information about that object.:

A. state

B. behaviors

C. size

D. accessibility

4. If a programmer explicitly defines a constructor that accepts parameters, he or she should also define a _____ version, as a best practice.

A. private

B. public

C. static

D. default

E. None of the above

5. One of the ways object-oriented languages protect object data is through _____.

A. integration of objects

B. universal data access

C. encapsulation

D. the public accessor

E. All of the above

6. Accessors such as "+" and "-" can be used to dictate how external programs, objects, and entities interact with _____.

A. an entire class only

B. all attributes and methods in a class

C. attributes of a class only

D. methods of a class only

E. None of the above

7. A black box is a term used to describe a system that can be understood solely based on its inputs, the resulting outputs and _____.

A. its object-specific instantiated behavior

B. its object-specific state at any given time

C. a detailed understanding of its implementation

D. a basic understanding of its implementation

8. One of the benefits of _____ is that it allows the implementation of a class to change without affecting external entities using that class.

A. abstraction

B. encapsulation

C. instantiation

D. construction

9. Which of the following is a proper implementation setter?

A. int setAge() { return age;}

B. void setAge(int age) {this.age = age;}

C. void setAge(int newAge) {return age;}

D. void setAge() {return age;}

10. Identify the attribute declaration(s) below that most likely contribute to the concept of information/data hiding and is correctly declared.

A. private age;

B. int age;

C. int private age;

D. public int age;

E. None of the above

Reference no: EM13773446

Questions Cloud

The obtained value of the appropriate statistic for testing : 1. For a given N, the interval that bounds the population mean at the 99% confidence level is ____ that which bounds the population mean at the 95% confidence level. A. equal to B. greater than C. less than D. can't be determined
Explain why is it necessary to have principles for policies : Be sure to list your references at the end of your post a minimum of two references. References must be in APA citation format. All posts must be a minimum of 300 words combined. Why is it necessary to have principles for policies
Distribution of survey instrument within correction facility : There are four parts to this Project, each of which is worth a quarter of the Project Paper grade: Distribution of the survey instrument within a corrections facility and Research of the issues presented based on survey results
Impact infiltration and evaporation from the ground : How would drought conditions impact infiltration and evaporation from the ground?
Represent valid comments : Java, C#, and C++ all allow use of comments. Which of the following represent(s) valid comments in these three languages
Write classification essay on styles of eating in cafeteria : Write a classification essay on Styles of eating in the cafeteria.
The main greenhouse gases issues : What are some predicted environmental damages if carbon dioxide emissions are not reduced?
What are the three most acidic ptcrtons in molecule : Draw out the other two staggered Newman Projections for this molecule - What are the three most acidic ptcrtons in molecule.
Description the nature and scope of problem-issue : Your paper must be well documented using current AMA format. You are required to use at least 10 professional, peer-reviewed, scholarly sources in the reference page of your paper.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd