Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

All of the following are true about algorithms except: A set of instructions for solving a problem. Help in expressing the logic of a solution.

All of the following are true about algorithms except:

A set of instructions for solving a problem.
Help in expressing the logic of a solution.
Are seldom executed by computers.

Select all that apply to a Use Case.

A Functional requirement of a system.
A Description of the interactions between various actors and the system.
A goal an actor wants to achieve by interacting with the system.
A Sequence of actions a user will initiate.

Activity diagrams are totally different from flow charts.

True
False

An activity diagram may (select all that apply):

Describe a business process.
Identify functional requirements of a system.
Explain what happens in an individual use case.

Illustrate the logic of a software process.

A two's complement scheme only represents negative numbers.

True
False

What is the correct sequence to represent a negative number in the two's complement scheme?.

Find the positive binary representation; add one; flip the bits
Find the positive binary representation; subract one; flip the bits
Find the positive binary representation; flip the bits; add one.

Find the positive binary representation; flip the bits; subtract one.

When declaring a variable to store a positive or negative whole number, use

int
Integer
double

float

Given

int a = 3, b = 5; 

which of the following printf statements displays

3 + 5 = 8 
System.out.printf("%d + %d = %d", a, b, a+b)
System.out.printf("a + b = %d ", a+b)
System.out.printf("a" + "b" = "a + b")

To make a class instance variable available only to other members of the class, use the access specifier

public
private
protected

package

In the method declaration

public static int square( int x ) 

the keyword static means

You must declare an object of the class before calling the method.
The method will only be called from within main().
The method can be called even when no objects of the class that contains the method exist.
Has no meaning for this type of method.

For a custom class you create, the default constructor (select all that apply)

Never has any parameters specified.
If declared for a class, no other constructors can be declared.
Can never be included in a class if other constructors are defined.
Is created by the compiler if no other constructors are declared for the class.

Flag this Question

Question 221 pts

The purpose of a constructor method for a class is to initialize the state of the class.

True
False

In order to support multi-media, HTML 5 has new elements for (select all that apply)

Audio
Faster audio download speeds.
Video
Easier YouTube access.

This HTML code

My Personal Webpage 

represents a(n)

Tag
Element
Attribute

Which of these tags are all used to create tables?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Object Oriented Databases Prentice Hall International Series In Computer Science

Authors: John G. Hughes

1st Edition

0136298745, 978-0136298748

More Books

Students also viewed these Databases questions

Question

LO 13-2 Describe the four Ps of marketing.

Answered: 1 week ago

Question

Identify five strategies to prevent workplace bullying.

Answered: 1 week ago