1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
tresset_1 [31]
3 years ago
8

Consider the following class interfaces:

Computers and Technology
1 answer:
o-na [289]3 years ago
6 0

Answer:

class teacher and student I didn't actually read it but I think it is class student

You might be interested in
Write a program that uses while loops to perform the following steps:
Vladimir79 [104]

Answer:

Explanation:

//Include the required header files.

#include<iostream>

using namespace std;

//Define the main function.

int main()

{

//Define the variables.

int i, sum = 0, sqSum = 0, firstNum = 1, secondNum = 0;

char ch;

//Check for valid input.

while (!(firstNum < secondNum))

{

cout << "Enter starting number: ";

cin >> firstNum;

cout<<"Enter ending number(must be > startingNumber): ";

cin >> secondNum;

}

//Store first number in i

i = firstNum;

//Dispaly the number.

cout << "The odd numbers between " << firstNum

<< " and " << secondNum << " are:\n";

//Iterate between first and second number.

while (i <= secondNum)

{

//Check for even numbers.

//Store the sum

if (i % 2 == 0)

sum = sum + i;

//Print the odd numbers

//Evaluate the square of sum of odd number.

else

{

cout << i << " ";

sqSum = sqSum + i * i;

}

//Increase the value of i.

i++;

}

//Dispaly the sum of even numbers.

cout << "\n\nThe sum of the even numbers is:"

<< sum << endl << endl;

//Dispaly the sum of square of odd number.

cout << "The sum of squares the odd numbers is:"

<< sqSum << endl;

//Set i to 1.

i = 1;

//Dispaly the message.

cout << "\nNumber Square\n";

//Iterate and print number between 1 andd 10

//along with the sum.

while (i <= 10)

{

cout << " " << i << "\t " << i * i << endl;

i++;

}

//USe for visual studio.

system("pause");

//Return the value 0.

return 0;

}

Explanation:

The program code will perform the function listed below using loop.

Prompt the user to input two integers: firstNum and secondNum (firstNum must be less than secondNum). Output all odd numbers between firstNum and secondNum. Output the sum of all even numbers between firstNum and secondNum. Output the numbers and their squares between 1 and 10. Separate the numbers using any amount of spaces. Output the sum of the square of the odd numbers between firstNum and secondNum. Output all uppercase letters.

Hope this helps!

3 0
3 years ago
Using logic gates, design an active low chip select for the memory a 256
drek231 [11]

Answer:

Question (1b) Using logic gates, design an active low chip select for the memory a 256 K memory device starting at address 48000016 in a 16 Megabyte memory space A cache memory stores frequently/recently used data and instructions during instruction execution. With the aid of a diagram explain how the main memory is divided into blocks and how these blocks of main memory are allocated to the lines of cache using direct mapping. Show the output waveform of an AND gate with the inputs A, B, and C indicated in the figure below A B С

Explanation:

8 0
3 years ago
Recovery point objectives of a recovery plan specify ________.
Ksenya-84 [330]

Answer:

The correct option to the following question is an option (D).

Explanation:

Because RPO(Recovery point objective) is the objective in which we getting the greatest level of the privacy. confidence and the important thing is security for our resources.

The best thing is that the center of activity of the RPO in on the data and the overall elasticity of the loss of your company.

5 0
3 years ago
Im trying to call the keys in a dictionary I have called "planet_dict". in order for them to be included in the for loop, the va
zavuch27 [327]

You can do something like this. My code iterates through the dictionary keys and then we use that key to get a value. We check if the value is between 273 and 373 and if it is, it's a water planet. My code is just a general idea of what to do. Instead of printing, you could add the key to a list and then print the contents of the list.

4 0
3 years ago
There are many different computer peripherals that are available to optimize your computing system’s specific needs. A graphic d
Rashid [163]

Answer:

Jamal could use a drawing pad. He could draw things out with a stylus and have it on his PC to manipulate. They cost as little as $40.

Felicia could use a mechanical keyboard. Although these are better for nearly everyone, someone who is doing a lot of typing and needing both speed and accuracy should get one. They start at around $50.

Credence could use a printer to print out work to hand in when needed. A decent one starts at around $100.

8 0
3 years ago
Other questions:
  • 1. Perform the following Binary Additions 101101 + 10100 *
    13·2 answers
  • How do I cancel my subscription
    14·2 answers
  • What does it mean when you mail is labled unable to forward for review
    5·1 answer
  • int sequence[10] = { 3, 4, 5, 6, 7, 8, 9, 10, 1, 2 }; Write a C++ program to ask the user to enter a number, if the number can b
    10·1 answer
  • How does one select an entrepreneurial activity?
    9·1 answer
  • Which steps will create a new blank word document
    9·1 answer
  • How to draw use case diagram
    13·1 answer
  • What are three key characteristics of an OS process?
    11·1 answer
  • Which is a concept of the CIA of Computer Security
    7·1 answer
  • Memory of the computer is measured by the following units which is = to 1 character
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!