cis 247 devry week 1 quiz latest n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
CIS 247 DEVRY WEEK 1 QUIZ LATEST PowerPoint Presentation
Download Presentation
CIS 247 DEVRY WEEK 1 QUIZ LATEST

Loading in 2 Seconds...

play fullscreen
1 / 3

CIS 247 DEVRY WEEK 1 QUIZ LATEST - PowerPoint PPT Presentation


  • 4 Views
  • Uploaded on

\nVisit Below Link, To Download This Course:\n\nhttps://www.tutorialsservice.net/product/cis-247-devry-week-1-quiz-latest/\n\nOr \nEmail us on\nSUPPORT@TUTORIALSSERVICE.NET\n\nCIS 247 DeVry Week 1 Quiz Latest\nCIS247\nCIS 247 DeVry Week 1 Quiz Latest\n1. Question : (TCO 1) The components of a class are called _____ and _____.\n• elements; objects\n• attributes; methods\n• objects; instantiations\n• properties; descriptions\n

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'CIS 247 DEVRY WEEK 1 QUIZ LATEST' - tutorialsservicesnet


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
cis 247 devry week 1 quiz latest

CIS 247 DEVRY WEEK 1 QUIZ LATEST

Visit Below Link, To Download This Course:

https://www.tutorialsservice.net/product/cis-247-devry-week-1-quiz-latest/

Or

Email us on

SUPPORT@TUTORIALSSERVICE.NET

CIS 247 DeVry Week 1 Quiz Latest

CIS247

CIS 247 DeVry Week 1 Quiz Latest

1. Question : (TCO 1) The components of a class are called _____ and _____.

elements; objects

attributes; methods

objects; instantiations

properties; descriptions

Question 2. Question : (TCO 1) Which of the following would be the most appropriate choice for a

method in a Cup class?

drink()

hot()

break()

color()

Question 3. Question : (TCO 1) Which of the following statements is/are true?

Objects communicate through message passing.

An object must be defined before you can create a class.

The state of an object should not be hidden.

Implementation details should be visible through the interface of a class.

slide2

A and C

All are true

None are true

Question 4. Question : (TCO 1) Which of the following would be the most appropriate choice for a data

member in a Screen class?

dimensions

turnoff

refresh

activate Screensaver

Question 5. Question : (TCO 1) The property of _____ describes the packaging of state and behavior

together in an object.

data hiding

abstraction

encapsulation

All of the above

None of the above

Question 6. Question : (TCO 8) Most professional coding standards use _____ for class names.

underscores along with all upper case words

Method Class case

no specific naming convention

Pascal case

Question 7. Question : (TCO 1) Examine the ClockType class definition. How many attributes does it

contain?

class ClockType { public void setTime(int hour, int min, int sec);

public int getTime();

public void printTime();

private int hr;

public int min;

public int sec; }

2

3

9

slide3

6

An average of 5 because (7+3)/2 = 5

Question 8. Question : (TCO 1) Assume we have two classes and have instantiated an object from each

class. How many copies of each class’s attributes and methods exist in the instantiated objects?

Two copies, one copy of the first class and one of the second

Zero, the objects do not have attributes and methods

Only one copy and both objects share it

None of the above

Question 9. Question : (TCO 1) Both _____ and _____ allow for code reuse and the building of more

complex systems.

inheritance; composition

UML diagrams; serialization

messaging; object behaviors

None of the above

Question 10. Question : (TCO 1) Which of the following is a valid statement for a method definition in

Java?

public int computeAverage { return 1; }

public int computeAverage ( return 1; )

public int computeAverage () { return 1; };

public int computeAverage () { return 1; }