explain any two factors to consider when classifying computer systems​

Answers

Answer 1

Answer:

The following classifications can be made of the computer systems:

1. According to size.

2. Functionality based on this.

3. Data management based. 

Explanation:

Servers:-

Servers are only computers that are configured to offer clients certain services. Depending on the service they offer, they are named. For example security server, server database.

Workstation:-

These are the computers which have been designed mainly for single users. They operate multi-user systems. They are the ones we use for our daily business/personal work.

Information appliances:-

They are portable devices that perform a limited number of tasks such as basic computations, multimedia playback, internet navigation, etc. They are commonly known as mobile devices. It has very limited storage and flexibility and is usually "as-is" based.


Related Questions

A single module has its own time duration and is worth 5% of the final grade true or false

Answers

A single module has its own time duration and is worth 5% of the final grade  is a false statement.

What does a textbook module mean?

The module of text books is known to be one that a person can print full books or only the chapters.

Note that the book module lets you have both main and supporting chapters, but it doesn't go any farther. In other words, since the module is meant to be a straightforward resource for teachers and students, sub chapters cannot have their own sub chapters.

Therefore, A single module has its own time duration and is worth 5% of the final grade  is a false statement because it can differ from text to text.

Learn more about module from

https://brainly.com/question/27682740
#SPJ1

(Python) Write an expression that prints 'You must be rich!' if the variables young and famous are both True. Sample output with inputs: 'True' 'True' You must be rich!

Answers

Answer:

young = True

famous = True

if young == True and famous == True:

   print("You must be rich!")

Explanation:

If you behave too informally with colleagues, employers or customers it could

1. Build your relationships
2. Improve your reputation
3. Reflex poorly on you
4. Get you promoted

Answers

If you behave too informally with colleagues, employers or customers it could  Reflex poorly on you (Option 3)

Why is it important to remain professional at work?

Professionalism includes qualities such as dedication, ethics, and accountability, which help a person succeed in her job. Professionals build a reputation for themselves by taking ownership of their positions and responsibilities, and they frequently find that advancement, chances, and repeat business come easy to them.

According to Katy Curameng, director of career planning and development at UMass Global, being professional may provide a favorable first impression, effective interpersonal interactions, and a lasting reputation within your business and sector.

Learn more about professional relationships:
https://brainly.com/question/31512971?
#SPJ1

Which of these files allow for image editing?
Select all that apply.
JPEG
TIFF
PSD
GIF

Answers

Among the files you listed, the formats that allow for image editing are TIFF (Tagged Image File Format) and PSD (Adobe Photoshop Document). Thus, option B and C are correct.

Both TIFF and PSD file formats are commonly used for image editing. TIFF files are lossless and support high-quality images with multiple layers, making them suitable for professional editing. PSD files are the native format of Adobe Photoshop and preserve all the layers, adjustments, and effects applied to an image, allowing for non-destructive editing.

On the other hand, JPEG (Joint Photographic Experts Group) and GIF (Graphics Interchange Format) are primarily used for displaying images and do not offer the same level of flexibility for extensive editing. JPEG files are compressed and lose some image quality during the compression process. GIF files are limited in color depth and are often used for simple animations or graphics with transparency.

In summary, both TIFF and PSD files are suitable for image editing, while JPEG and GIF files are more commonly used for displaying images rather than extensive editing.

Learn more about JPEG on:

https://brainly.com/question/27139052

#SPJ1

Theatre seat booking - Java program
Part A

A new theatre company called ‘New Theatre’ has asked you to design and implement a new Java program to manage and control the seats that have been sold and the seats that are still available for one of their theatre sessions. They have provided you with their floorplan in which we can see that the theatre is composed of 3 rows, each with a different number of seats: 12, 16 and 20 retrospectively.

Task 1) Create a new project named Theatre with a class (file) called Theatre (Theatre.java) with a main method that displays the following message ‘Welcome to the New Theatre’ at the start of the program. Add 3 arrays (one for each row) in your program to keep record of the seats that have been sold and the seats that are still free. Row 1 has 12 seats, row 2 has 16 seats and row 3 has 20 seats. 0 indicates a free seat, 1 indicates an occupied (sold) seat. At the start of the program all seats should be 0 (free). This main method will be the method called when the program starts (entry point) for all Tasks described in this work.

Task 2) Add a menu in your main method. The menu should print the following 8 options: 1)Buy a ticket, 2) Print seating area, 3) Cancel ticket, 4) List available seats, 5) Save to file, 6) Load from file, 7) Print ticket information and total price, 8) Sort tickets by price, 0) Quit. Then, ask the user to select one of the options. Option ‘0’ should terminate the program without crashing or giving an error. The rest of the options will be implemented in the next tasks. Example:

-------------------------------------------------
Please select an option:
1) Buy a ticket
2) Print seating area
3) Cancel ticket
4) List available seats
5) Save to file
6) Load from file
7) Print ticket information and total price
8) Sort tickets by price
0) Quit
------------------------------------------------
Enter option:

Tip: Think carefully which control structure you will use to decide what to do after the user selects an option (Lecture Variables and Control Structures).

Task 3) Create a method called buy_ticket that asks the user to input a row number and a seat number. Check that the row and seat are correct and that the seat is available. Record the seat as occupied (as described in Task 1). Call this method when the user selects ‘1’ in the main menu.

Task 4)
A) Create a method called print_seating_area that shows the seats that have been sold, and the seats that are still available. Display available seats with the character ‘O’ and the sold seats with ‘X’. Call this method when the user selects ‘2’ in the main menu.
The output should show the following when no tickets have been bought:

OOOOOOOOOOOO
OOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOOOOOO

After purchasing a ticket for row 1, seat 6, and a ticket for row 3, seat 10, using option ‘1’ in the menu, the program should display the following:

OOOOOXOOOOOO
OOOOOOOOOOOOOOOO
OOOOOOOOOXOOOOOOOOOO

B) Update your code to align the display such that shows the seats in the correct location, and the stage, as shown below:

***********
* STAGE *
***********

OOOOOX OOOOOO
OOXXXXXX OOOOOXXX
XXOOOOXXXO XXXOOOXXXX

Task 5) Create a method called cancel_ticket that makes a seat available again. It should ask the user to input a row number and a seat number. Check that the row and seat are correct, and that the seat is not available. Record the seat as occupied (as described in

Task 1). Call this method when the user selects ‘3’ in the main menu.

Task 6) Create a method called show_available that for each of the 3 rows displays the seats that are still available. Call this method when the user selects ‘4’ in the main menu.

Example at the start of the program:

Enter option: 4

Seats available in row 1: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12.
Seats available in row 2: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16.
Seats available in row 3: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20.

Task 7) Create a method called save that saves the 3 arrays with the row’s information in a file. Call this method when the user selects ‘5’ in the main menu.

Task 8) Create a method called load that loads the file saved in Task 7 and restores the 3 arrays with the row’s information. Call this method when the user selects ‘6’ in the main menu.

Answers

Here's the Java program to implement the tasks described:

import java.io.*;

import java.util.*;

public class Theatre {

   private static final int ROWS = 3;

   private static final int[] SEATS_PER_ROW = {12, 16, 20};

   private static final int TOTAL_SEATS = SEATS_PER_ROW[0] + SEATS_PER_ROW[1] + SEATS_PER_ROW[2];

   private static final int[][] seats = new int[ROWS][];

   private static final Scanner scanner = new Scanner(System.in);

   private static boolean isModified = false;

   public static void main(String[] args) {

       // initialize seats to be all free

       for (int i = 0; i < ROWS; i++) {

           seats[i] = new int[SEATS_PER_ROW[i]];

       }

       // display welcome message

       System.out.println("Welcome to the New Theatre");

       int option;

       do {

          // print menu

           System.out.println("Please select an option:");

           System.out.println("1) Buy a ticket");

           System.out.println("2) Print seating area");

           System.out.println("3) Cancel ticket");

           System.out.println("4) List available seats");

           System.out.println("5) Save to file");

           System.out.println("6) Load from file");

           System.out.println("7) Print ticket information and total price");

           System.out.println("8) Sort tickets by price");

           System.out.println("0) Quit");

           System.out.print("Enter option: ");

           option = scanner.nextInt();

           scanner.nextLine(); // consume the newline character

           switch (option) {

               case 1:

                   buyTicket();

                   break;

               case 2:

                   printSeatingArea();

                   break;

               case 3:

                   cancelTicket();

                   break;

               case 4:

                   showAvailable();

                   break;

               case 5:

                   save();

                   break;

               case 6:

                   load();

                   break;

               case 7:

                   printTicketInfoAndTotalPrice();

                   break;

               case 8:

                   sortTicketsByPrice();

                   break;

               case 0:

                   System.out.println("Thank you for using our system. Goodbye!");

                   break;

               default:

                   System.out.println("Invalid option. Please try again.");

           }

       } while (option != 0);

   }

   private static void buyTicket() {

       System.out.print("Enter row number (1-" + ROWS + "): ");

       int row = scanner.nextInt() - 1; // convert to 0-based index

       if (row < 0 || row >= ROWS) {

           System.out.println("Invalid row number. Please try again.");

           return;

       }

       System.out.print("Enter seat number (1-" + SEATS_PER_ROW[row] + "): ");

       int seat = scanner.nextInt() - 1; // convert to 0-based index

       if (seat < 0 || seat >= SEATS_PER_ROW[row]) {

           System.out.println("Invalid seat number. Please try again.");

           return;

       }

       if (seats[row][seat] == 1) {

           System.out.println("Seat already taken. Please choose another seat.");

           return;

       }

       seats[row][seat] = 1;

       isModified = true;

       System.out.println("Ticket purchased successfully.");

   }

   private static void printSeatingArea() {

       System.out.println("***********");

       System.out.println("*  STAGE  *");

       System.out.println("***********");

       for (int i = 0; i < ROWS; i++) {

         

What is the explanation of the above code?

The program manages and controls the seats sold and available for a theatre session.

It starts by displaying a welcome message and a menu with several options, including buying a ticket, printing the seating area, canceling a ticket, listing available seats, saving and loading from a file, and sorting tickets by price.

Each option is implemented as a separate method. The program keeps track of the seats that have been sold and the seats that are still available using three arrays, one for each row. It displays the seating area using 'X' for sold seats and 'O' for available seats, and includes the stage.

The program allows users to buy and cancel tickets, list available seats, and save/load data to/from a file.

Learn more about Java Codes;
https://brainly.com/question/30479363
#SPJ1

In order to average together values that match two different conditions in different ranges, an excel user should use the ____ function.

Answers

Answer: Excel Average functions

Explanation: it gets the work done.

Answer:

excel average

Explanation:

The back panel is the best place for which of the following?

Question 3 options:

charts appropriate for the brochure


main title and purpose of brochure


contact information and maps


touching story about cause

Answers

Answer:

Imma contact info and maps

Explanation:

It's the most reasonable

Answer:

contact information and maps

Because of inability to manage those risk. How does this explain the team vulnerability with 5 points and each references ​

Answers

The team is vulnerable due to a lack of risk assessment. Without risk understanding, they could be caught off guard by events. (PMI, 2020) Ineffective risk strategies leave teams vulnerable to potential impacts.

What is the inability?

Inadequate contingency planning can hinder response and recovery from materialized risks. Vulnerability due to lack of contingency planning.

Poor Communication and Collaboration: Ineffective communication and collaboration within the team can make it difficult to address risks collectively.

Learn more about inability  from

https://brainly.com/question/30845825

#SPJ1

Problem: Longest Palindromic Substring (Special Characters Allowed)

Write a Python program that finds the longest palindromic substring in a given string, which can contain special characters and spaces. A palindrome is a word, phrase, number, or other sequence of characters that reads the same forward and backward. The program should find and return the longest palindromic substring from the input string, considering special characters and spaces as part of the palindrome. You do not need a "words.csv" as it should use dynamic programming to find the longest palindromic substring within that string.

For example, given the string "babad!b", the program should return "babad!b" as the longest palindromic substring. For the string "c bb d", the program should return " bb " as the longest palindromic substring.

Requirements:

Your program should take a string as input.
Your program should find and return the longest palindromic substring in the input string, considering special characters and spaces as part of the palindrome.
If there are multiple palindromic substrings with the same maximum length, your program should return any one of them.
Your program should be case-sensitive, meaning that "A" and "a" are considered different characters.
You should implement a function called longest_palindrome(string) that takes the input string and returns the longest palindromic substring.
Hint: You can use dynamic programming to solve this problem. Consider a 2D table where each cell (i, j) represents whether the substring from index i to j is a palindrome or not.

Note: This problem requires careful consideration of edge cases and efficient algorithm design. Take your time to think through the solution and test it with various input strings.

Answers

A Python program that finds the longest palindromic substring in a given string, considering special characters and spaces as part of the palindrome is given below.

Code:

def longest_palindrome(string):

   n = len(string)

   table = [[False] * n for _ in range(n)]

   # All substrings of length 1 are palindromes

   for i in range(n):

       table[i][i] = True

   start = 0

   max_length = 1

   # Check for substrings of length 2

   for i in range(n - 1):

       if string[i] == string[i + 1]:

           table[i][i + 1] = True

           start = i

           max_length = 2

   # Check for substrings of length greater than 2

   for length in range(3, n + 1):

       for i in range(n - length + 1):

           j = i + length - 1

           if string[i] == string[j] and table[i + 1][j - 1]:

               table[i][j] = True

               start = i

               max_length = length

   return string[start:start + max_length]

# Example usage

input_string = "babad!b"

result = longest_palindrome(input_string)

print(result)

This program defines the longest_palindrome function that takes an input string and uses a dynamic programming approach to find the longest palindromic substring within that string.

The program creates a 2D table to store whether a substring is a palindrome or not. It starts by marking all substrings of length 1 as palindromes and then checks for substrings of length 2.

Finally, it iterates over substrings of length greater than 2, updating the table accordingly.

The program keeps track of the start index and maximum length of the palindromic substring found so far.

After processing all substrings, it returns the longest palindromic substring using the start index and maximum length.

For more questions on Python program

https://brainly.com/question/30113981

#SPJ8

What is Mobile Edge Computing? Explain in tagalog.​

Answers

Answer:

English: Multi-access edge computing, formerly mobile edge computing, is an ETSI-defined network architecture concept that enables cloud computing capabilities and an IT service environment at the edge of the cellular network and, more in general at the edge of any network.

Very very rough Tagalog: Ang multi-access edge computing, dating mobile edge computing, ay isang konsepto ng network architecture na tinukoy ng ETSI na nagbibigay-daan sa mga kakayahan sa cloud computing at isang IT service environment sa gilid ng cellular network at, higit sa pangkalahatan sa gilid ng anumang network.

Explanation:

Can someone give me an example of code of any cartoon character using java applet please help me i need to make my project please☹️​

Answers

The Java code for a cartoon character using java applet is

import java.applet.Applet;

import java.awt.*;

public class CartoonCharacter extends Applet implements Runnable {

   Thread t;

   int x = 0;

   int y = 100;

   

   public void init() {

       setSize(500, 500);

       setBackground(Color.white);

   }

   

   public void start() {

       if (t == null) {

           t = new Thread(this);

           t.start();

       }

   }

   

   public void run() {

       while (true) {

           x += 10;

           repaint();

           try {

               Thread.sleep(100);

           } catch (InterruptedException e) {}

       }

   }

   

   public void paint(Graphics g) {

       g.setColor(Color.red);

       g.fillOval(x, y, 50, 50);

   }

}

How does the code work?

Note that the cartoon character is made like a red circle that navigates accross the screent.

The init() method sets the size of the applet and its background color,    while the      start( ) method creates a new thread and starts the animation loop in the run() method

Learn more about Java Code at:

https://brainly.com/question/29897053

#SPJ1

You are a systems analyst. Many a time have you heard friends and colleagues complaining that their jobs and businesses are being negatively impacted by e-commerce. As a systems analyst, you decide to research whether this is true or not. Examine the impact of e-commerce on trade and employment/unemployment, and present your findings as a research essay.

Answers

E-commerce, the online buying and selling of goods and services, has significantly impacted trade, employment, and unemployment. This research essay provides a comprehensive analysis of its effects.

What happens with  e-commerce

Contrary to popular belief, e-commerce has led to the growth and expansion of trade by breaking down geographical barriers and providing access to global markets for businesses, particularly SMEs. It has also created job opportunities in areas such as operations, logistics, customer service, web development, and digital marketing.

While certain sectors have experienced disruption, traditional businesses can adapt and benefit from e-commerce by adopting omni-channel strategies. The retail industry, in particular, has undergone significant transformation. E-commerce has empowered small businesses, allowing them to compete with larger enterprises and fostered entrepreneurial growth and innovation. However, there have been job displacements in some areas, necessitating individuals to transition and acquire new skills.

Read mroe on  e-commerce here  https://brainly.com/question/29115983

#SPJ1

Which of the following statements are true about how technology has changed work? Select 3 options. Responses Businesses can be more profitable by using communication technology to reduce the costs of travel. Businesses can be more profitable by using communication technology to reduce the costs of travel. With the spread of technology and the Internet, smaller businesses are not able to compete as effectively as before. With the spread of technology and the Internet, smaller businesses are not able to compete as effectively as before. In a gig economy, workers are only hired when they are needed for as long as they are needed. In a gig economy, workers are only hired when they are needed for as long as they are needed. Through the use of the Internet and collaboration tools more workers are able to perform their jobs remotely. Through the use of the Internet and collaboration tools more workers are able to perform their jobs remotely. Technology has not really changed how businesses operate in the last fifty years. Technology has not really changed how businesses operate in the last fifty years.

Answers

The three genuine statements almost how technology has changed work are:

Businesses can be more productive by utilizing communication technology to decrease the costs of travel. This can be genuine since advances like video conferencing and virtual gatherings permit businesses to conduct gatherings, transactions, and collaborations remotely, lessening the require for costly travel courses of action.

With the spread of technology and the Web, littler businesses are not able to compete as successfully as some time recently. This explanation is genuine since innovation has empowered bigger companies to use their assets and reach a worldwide advertise more effortlessly, making it challenging for littler businesses to compete on the same scale.

Through the utilize of the Web and collaboration devices, more laborers are able to perform their occupations remotely. This explanation is genuine as innovation has encouraged farther work courses of action, allowing employees to work from anyplace with an online association. Collaboration instruments like extend administration computer program and communication stages have made inaccessible work more doable and effective.

Technology explained.

Technology alludes to the application of logical information, aptitudes, and devices to form innovations, fathom issues, and move forward proficiency in different spaces of human movement. It includes the improvement, usage, and utilize of gadgets, frameworks, and processes that are outlined to achieve particular assignments or fulfill specific needs.

Technology can be broadly categorized into distinctive sorts, such as data technology, communication technology, therapeutic innovation, mechanical technology, and transportation technology, among others. These categories include different areas, counting computer science, hardware, broadcast communications, building, and biotechnology.

Learn more about technology below.

https://brainly.com/question/13044551

#SPJ1

Hiya people. I am a game developer and I need an idea for a new game. If you have any ideas, pls feel free to tell me. Best idea gets brainliest.

Answers

Answer:

A better RPG game all the one that are existing are the same dull thing

Explanation:

Answer:

There are many ideas you can get for games but now-a-days action games are getting more fame than others such as fortnite, freefire, pubg etc. I prefer you to make a game that is relatated to action or adventure. You can make it related to zombie hunting, or online fighting games, or some adventurous games like tomb raider.

Use the drop-down menus to complete statements about how to use the database documenter

options for 2: Home crate external data database tools

options for 3: reports analyze relationships documentation

options for 5: end finish ok run

Use the drop-down menus to complete statements about how to use the database documenteroptions for 2:

Answers

To use the database documenter, follow these steps -

2: Select "Database Tools" from   the dropdown menu.3: Choose "Analyze"   from the dropdown menu.5: Click on   "OK" to run the documenter and generate the desired reports and documentation.

How is this so?

This is the suggested sequence of steps to use the database documenter based on the given options.

By selecting "Database Tools" (2), choosing "Analyze" (3), and clicking on "OK" (5), you can initiate the documenter and generate the desired reports and documentation. Following these steps will help you utilize the database documenter effectively and efficiently.

Learn more about database documenter at:

https://brainly.com/question/31450253

#SPJ1

i need to know thr full number of pie

Answers

Answer:

3.14159

Explanation:

Will AI technology replace most jobs held by employees?

Answers

Short Answer:

Yes, it will replace many jobs but not all. You do not have to pay AI wages or for working overtime. AI will never complain for the workload and generally doesn't have feelings unless programmed to. Computers work faster than humans and more efficiently (less mistakes). AI will not replace all jobs since a lot of them can only be completed with the conscious of a human.

How to modify the query by creating a calculated field enter the TotalAdultCost:[AdultCost]*[NumAdult] in the zoom dialog box of the first empty column in the design grid

Answers

To modify the   query and create a calculated field, follow these steps.

The steps to be followed

1. Open the query in the design view.

2. In the design grid,locate the first empty column where you want to add the calculated field.

3. In the "Field" row of the empty   column, enter "TotalAdultCost" as the field name.

4. In the "Table" row of the empty column, select the table that contains the fields [AdultCost] and [NumAdult].

5. In the "TotalAdultCost"row of the empty column, enter the expression: [AdultCost]*[NumAdult].

6. Save the query.

Byfollowing these steps, you will create a calculated field named "TotalAdultCost" that multiplies the values of [AdultCost] and [NumAdult].

Learn more about query at:

https://brainly.com/question/25694408

#SPJ1

you have a table for a membership database that contains the following fields: MemberLatName, MemberFirstName, Street, City, State, ZipCode and intiation fee. there are 75,000records in the table. what indexes would you create for the table, and why would you create these indexes?

Answers

A unique lookup table called an index is used to speed performance

What is lookup function?

Use the lookup and reference function LOOKUP when you need to search a single row or column and find a value from the same position in another row or column. As an example, let's say you have the part number for a car part but don't know how much it costs.

We employ we lookup since?

Use VLOOKUP when you need to search by row in a table or a range. For instance, you could use the employee ID to look up a person's name or the part number to check the price of a car part.

To know more about speed visit:-

https://brainly.com/question/17661499

#SPJ1

Adam is so good at playing arcade games that he will win at every game he plays. One fine day as he was walking on the street, he discovers an arcade store that pays real cash for every game that the player wins - however, the store will only pay out once per game. The store has some games for which they will pay winners, and each game has its own completion time and payout rate. Thrilled at the prospect of earning money for his talent, Adam walked into the store only to realize that the store closes in 2 hours (exactly 120 minutes). Knowing that he cannot play all the games in that time, he decides to pick the games that maximize his earnings

Answers

Answer:

line = sys.stdin.readline()

print(line)

Explanation:

The first line of input is always an integer denoting many lines to read after the first line. In our sample test case, we have 6 in the first line and 6 lines after the first line, each having a game, completion_time and payout_rate.

In each data line, the game, completion_time and payout_rate are separated by a ','(comma).

The games board may change but the store still closes in 120 minutes.

Input

6

Pac-man,80,400

Mortal Kombat,10,30

Super Tetris,25,100

Pump it Up,10,40

Street Fighter II,90,450

Speed Racer,10,40

Output Explanation

Print the game names that earn him the most into the standard output in alphabetical order

Output

Mortal Kombat

Pump it Up

Speed Racer

Street Fighter II

Python:

import sys

line = sys.stdin.readline()

print(line)

Add the function min as an abstract function to the class arrayListType to return the smallest element of the list.

Also, write the definition of the function min in the class unorderedArrayListType and write a program to test this function.

part 3

MY Main


//Data: 18 42 78 22 42 5 42 57

#include
#include "arrayListType.h"
#include "unorderedArrayListType.h"
using namespace std;
int main()
{
unorderedArrayListType intList(25);
int number;
cout << "";
for(int i = 0;i < 8; i++)
{
cin >> number;
intList.insertEnd(number);
}
cout << endl;
intList.print();
cout << endl;

//Testing for min
cout << "The smallest number in intList: "
<< intList.min() << endl;

return 0;
}

Answers

Answer:

Here is the updated code for the `arrayListType` class with the abstract function `min` added:

```cpp

class arrayListType

{

public:

virtual int min() const = 0;

//other member functions

};

```

And here is the implementation of the `min` function in the `unorderedArrayListType` class:

```cpp

class unorderedArrayListType : public arrayListType

{

public:

int min() const override

{

int minVal = list[0];

for (int i = 1; i < length; i++) {

if (list[i] < minVal) {

minVal = list[i];

}

}

return minVal;

}

//other member functions

};

```

And here's an example program that uses the `min` function:

```cpp

#include <iostream>

#include "arrayListType.h"

#include "unorderedArrayListType.h"

using namespace std;

int main()

{

unorderedArrayListType intList(25);

int number;

cout << "Enter 8 integers: ";

for(int i = 0; i < 8; i++)

{

cin >> number;

intList.insertEnd(number);

}

cout << endl;

intList.print();

cout << endl;

cout << "The smallest number in intList: " << intList.min() << endl;

return 0;

}

```

Assuming that the `arrayListType` and `unorderedArrayListType` header and implementation files are properly included and compiled, this program should output the smallest number in the list.

instruction for a computer to follow​

Answers

Answer:

program/software program

Explanation:

main types are application software and system software

how do computer worms spread​

Answers

Where a worm differs from a virus is that it typically doesn't infect or manipulate files on its own. Instead, it simply clones itself over and over again and spreads via a network (say, the Internet, a local area network at home, or a company's intranet) to other systems where it continues to replicate itself.

list four reasons why technology is important​

Answers

Answer:

its help comunicate with other out of reach in person you can learn from it esiear for students to find information on technolongy than in a textbook it has designed buildings and ect.

Explanation:

it is a big part of my life

Description: Given the IP address and number of hosts in the first two columns, determine the
number of host bits required and write the network number with the correct prefix. The first one is completed for you, and the next two are partially completed.

Description: Given the IP address and number of hosts in the first two columns, determine thenumber of

Answers

In IP address, we have 32 bits. If we are using x bits to represent no of hosts then we will use remaining 32-x bits to represent no of networks.

What are Host Bits?

It can be define as no of bits required to represent no. of hosts. In IP address, if we have no of host bits = 8 , then by using this we can represent only 2^8-2 hosts only.

Because all 0's and all 1's are not assigned to any host because they represent Network id and limited broadcast address respectively.

In IP address, we have 32 bits. If we are using x bits to represent no of hosts then we will use remaining 32-x bits to represent no of networks.

Learn more about network on

https://brainly.com/question/1027666

#SPJ1

Photoshop files are generally small in size. True or false

Answers

Answer:

true

Explanation:

I'm not really sure

Choose the best technology device for the
scenario below.
A business professional works in an office
designing graphics for a company's
advertisements.
O Tablet PC
o Smartphone
Desktop computer with 2 screens
Laptop computer

Answers

Answer:

Desktop computer with 2 screens

Explanation:

All graphices designers need the most screen space possible

Answer:

Desktop computer with 2 screens

Explanation:

Match each disk type on the left with its corresponding description/features on the right. Each disk type may be used once, more than once, or not at all.
Support up to 128 volumes: Dynamic disks.
Use primary and extended partitions: Basic Disks
Are supported by all operating systems: Basic Disks
Support volumes that use discontinuous disk space: Dynamic disks.
Store partitioning information in a hidden database on all such disks in the system: Dynamic disks.
Only support volumes made up of contiguous disk space: Basic disks.

Answers

Large-capacity magnetic storage device known as a hard disc drive (HDD). Solid State Drives (SSD) are non-volatile storage devices that don't need electricity to keep their data current.

Any piece of hardware that is used to store digital data is referred to as a storage device. Hard drives, SSDs, USB flash drives, optical discs, memory cards, and RAM are a few examples of storage devices. Data storage devices are necessary for both personal and professional use. The most popular storage option is a hard drive because of its high storage capacity and reasonable price. Because they outperform hard drives in terms of speed, dependability, and power efficiency, SSDs are growing in popularity. While optical discs, such CDs and DVDs, are still used for data preservation and storage, USB flash drives remain a practical choice for moving data between computers. For cameras and other portable devices, memory cards are a popular option.

Learn more about Storage device here:

https://brainly.com/question/29834485

#SPJ4

In HTML5, the
(line break) tag does not require a closing tag.


true or false

Answers

True in HTML 5 line break tag doesn’t require closing tag

**GIVING ALL POINTS** 4.02 Coding With Loops
I NEED THIS TO BE DONE FOR ME AS I DONT UNDERSTAND HOW TO DO IT. THANK YOU

Output: Your goal

You will complete a program that asks a user to guess a number.


Part 1: Review the Code

Review the code and locate the comments with missing lines (# Fill in missing code). Copy and paste the code into the Python IDLE. Use the IDLE to fill in the missing lines of code.


On the surface this program seems simple. Allow the player to keep guessing until he/she finds the secret number. But stop and think for a moment. You need a loop to keep running until the player gets the right answer.


Some things to think about as you write your loop:


The loop will only run if the comparison is true.

(e.g., 1 < 0 would not run as it is false but 5 != 10 would run as it is true)

What variables will you need to compare?

What comparison operator will you need to use?

# Heading (name, date, and short description) feel free to use multiple lines


def main():


# Initialize variables

numGuesses = 0

userGuess = -1

secretNum = 5


name = input("Hello! What is your name?")


# Fill in the missing LOOP here.

# This loop will need run until the player has guessed the secret number.


userGuess = int(input("Guess a number between 1 and 20: "))


numGuesses = numGuesses + 1


if (userGuess < secretNum):

print("You guessed " + str(userGuess) + ". Too low.")


if (userGuess > secretNum):

print("You guessed " + str(userGuess) + ". Too high.")


# Fill in missing PRINT statement here.

# Print a single message telling the player:

# That he/she guessed the secret number

# What the secret number was

# How many guesses it took


main()

Part 2: Test Your Code

Use the Python IDLE to test the program.

Using comments, type a heading that includes your name, today’s date, and a short description.

Run your program to ensure it is working properly. Fix any errors you observe.

Example of expected output: The output below is an example of the output from the Guess the Number game. Your specific results will vary based on the input you enter.


Output


Your guessed 10. Too high.

Your guessed 1. Too low.

Your guessed 3. Too low.

Good job, Jax! You guessed my number (5) in 3 tries!




When you've completed filling in your program code, save your work by selecting 'Save' in the Python IDLE.


When you submit your assignment, you will attach this Python file separately.


Part 3: Post Mortem Review (PMR)

Using complete sentences, respond to all the questions in the PMR chart.


Review Question Response

What was the purpose of your program?

How could your program be useful in the real world?

What is a problem you ran into, and how did you fix it?

Describe one thing you would do differently the next time you write a program.

Answers

Answer:

import random

from time import sleep as sleep

 

def main():

   # Initialize random seed

   random.seed()

 

   # How many guesses the user has currently used

   guesses = 0

   

   # Declare minimum value to generate

   minNumber = 1

 

   # Declare maximum value to generate

   maxNumber = 20

 

   # Declare wait time variable

   EventWaitTime = 10 # (Seconds)

 

   # Incorrect config check

   if (minNumber > maxNumber or maxNumber < minNumber):

       print("Incorrect config values! minNumber is greater than maxNumber or maxNumber is smaller than minNumber!\nDEBUG INFO:\nminNumber = " + str(minNumber) + "\nmaxNumber = " + str(maxNumber) + "\nExiting in " + str(EventWaitTime) + " seconds...")

       sleep(EventWaitTime)

       exit(0)

 

   # Generate Random Number

   secretNumber = random.randint(minNumber, maxNumber)

 

   # Declare user guess variable

   userGuess = None

 

   # Ask for name and get input

   name = str(input("Hello! What is your name?\n"))

 

   # Run this repeatedly until we want to stop (break)

   while (True):

 

       # Prompt user for input then ensure they put in an integer or something that can be interpreted as an integer

       try:

           userGuess = int(input("Guess a number between " + str(minNumber) + " and " + str(maxNumber) + ": "))

       except ValueError:

           print("ERROR: You didn't input a number! Please input a number!")

           continue

 

       # Increment guesses by 1

       guesses += 1

 

       # Check if number is lower, equal too, or higher

       if (userGuess < secretNumber):

           print("You guessed: " + str(userGuess) + ". Too low.\n")

           continue

       elif (userGuess == secretNumber):

           break

       elif (userGuess > secretNumber):

           print("You guessed: " + str(userGuess) + ". Too high.\n")

           continue

   

   # This only runs when we use the 'break' statement to get out of the infinite true loop. So, print congrats, wait 5 seconds, exit.

   print("Congratulations, " + name + "! You beat the game!\nThe number was: " + str(secretNumber) + ".\nYou beat the game in " + str(guesses) + " guesses!\n\nThink you can do better? Re-open the program!\n(Auto-exiting in 5 seconds)")

   sleep(EventWaitTime)

   exit(0)

 

if __name__ == '__main__':

   main()

Explanation:

Answer:

numGuesses = 0

userGuess = -1

secretNum = 4

name = input("Hello! What is your name?")

while userGuess != secretNum:

  userGuess = int(input("Guess a number between 1 and 20: "))

  numGuesses = numGuesses + 1

  if (userGuess < secretNum):

      print(name + " guessed " + str(userGuess) + ". Too low.")

  if (userGuess > secretNum):

      print( name + " guessed " + str(userGuess) + ". Too high.")

  if(userGuess == secretNum):

     print("You guessed " + str(secretNum)+ ". Correct! "+"It took you " + str(numGuesses)+ " guesses. " + str(secretNum) + " was the right answer.")

Explanation:

Review Question Response

What was the purpose of your program?  The purpose of my program is to make a guessing game.  

How could your program be useful in the real world?   This can be useful in the real world for entertainment.

What is a problem you ran into, and how did you fix it?   At first, I could not get the input to work. After this happened though, I switched to str, and it worked perfectly.

Describe one thing you would do differently the next time you write a program.  I want to take it to the next level, like making froggy, tic tac toe, or connect 4

Other Questions
A researcher conducts a study on the effects of task difficulty (easy, hard) and presence of others (no one else present, 5 other people present) on task performance. Task performance is assessed by measuring how many Sudoku puzzles a participant is able to complete in 30 minutes. Below are the mean numbers of correct responses for each of the resulting conditions in the study. Easy Difficult No one else present 7 9 Five others present 14 2 The results from this study indicate there is ________________________________________. In 1947, milk cost $0.75 per gallon and bananas cost $0.15 per pound. Donna bought two gallons of milk and some bananas for a total of $2.25 in 1947. How many pounds of bananas did she buy? How much greater is the light-collecting area of a 6-meter telescope than a 3-meter telescope?. Which of the following is the equation of the line that is perpendicular to y = - 4x - 5 and goes through the point (-2, 3)?O y = - 4x-5Oy = 4x + 11O y = x + 1/O y = -x + 1/ 2. How were laws created in the colonies? 1. Express 36 minutes as a fraction of an hour: 36 minutes hour How do you solve properties of parallel lines cut by transversal? What is the difference? StartFraction 2 x 5 Over x squared minus 3 x EndFraction minus StartFraction 3 x 5 Over x cubed minus 9 x EndFraction minus StartFraction x 1 Over x squared minus 9 EndFraction. 13 Trees in thorn forests are:o] Tall b) Derse :) Scattered (tt) None of these Soil erosion is the wearing down of soil. This map provides data on the rate of soil erosion in the United States for a given year. What trend does the map show?A. Soil erosion rates are high across the United States.B. Soil erosion rates are low across the United States.C. Soil erosion rates are uniform across the United States.D. Soil erosion rates vary across the United States. (b) On March 1, a securities analyst recommended General Cinema stock as a good purchase in the early summer. The portfolio manager plans to buy 20,000 shares of the stock on June 1 but is concerned that the market as a whole will be bullish over the next three months. General Cinema's stock currently is at 32.88, and the beta is 1.10. i. Construct a hedge that will protect against movements in the stock market as a whole. Use the September stock index futures, which is priced at 375.30 on March 1 and has a $500 multiplier. (5 marks) ii. Evaluate the outcome of the hedge if on June 1 the futures price is 387.30 and General Cinema's stock price is 38.63. (5 marks) (Total: 40 marks) PLZ RESPOND ASAP1:The total earnings from mowing a lawn for 3 hours is $19.50. What equation can be used to model the total earnings for mowing a lawn x hours?2:The ratio of students to adults at a school is 14 : 2. Suppose there are a total of 490 students. How many adults are at the school? Pls the equation should be y = mx + b this is my 3rd attempt at getting an answer GIVE ME THE ANSWER PLS An oil tank is being drained. The volume, V, in liters, of oilremaining in the tank after time, t, in minutes, is represented bythe function V(t) = 60(25 - t)?, 0 =t25.a) Determine the average complete the balanced chemical equation for the following reaction between a weak acid and a strong base. ch3nh3cl(aq) naoh(aq) Which of the following require a host cell because they are not able to make protein on their own? Need help with this homework problem asap please :) Jake won 7 of the 15 races he ran. Write Jake's fraction of decimal. wins as a how fast must a rollercoaster be traveling along a track in order for passengers to go inverted and feel momentary weightlessness if the loop has a radius of 12.0m? calcular la depreciacin del activo fijo aplicando el mtodo de la suma de dgitos y representar en la tabla de depreciacin Transaccin: La empresa adquiere un vehculo en $ 28.000 se estima que tendr una vida til de cinco aos y como valor de desecho es el 10% del costos