This assignment involves developing a program that prompts the user to enter a series of 10 integers and then determines and displays the largest and smallest values entered.
Your solution must use at least the following variables: counter: A counter to count how many integers were entered
a Number: The integer most recently input by the user,
smallest: The smallest number entered so far, largest: The largest number entered so far.
Write three separate programs for this assignment:
Name the first program HiLoWhile and use a while construct in the solution.
Name the second program HiLoFor and use a for construct in the solution.
Name the third program HiLoDoWhile and use a do-while construct in the solution.
Write the pseudocode for ONLY the HiLoWhile program.
IN JAVA
In: Computer Science
Many dog owners see the benefit of buying natural dog food and treats. Dog Day Afternoon is a local company that creates its own dog food and treats. Their products are made locally and with natural ingredients. Sales are up and the owners of Dog Day Afternoon have decided to expand their business. Currently they are manually calculating sales. They need a computer program to help speed up the process.
The owners of Dog Day Afternoon decided to get some help. They approached the Career Center and posted numerous temporary programming positions. You are eager to get some experience as a programmer so you apply and get the job.
Your portion of the project is to create a class called DogDay that will take in the quantity and the size of the dog treat. Store these values in attributes called quantity (integer) and size (string). The class will also contain three methods. One method will determine the cost of one dog bone. Name this method DeterminePrice. The cost of the different size natural raw hide bones is as follows:
Store the cost of each individual dog bone in an attribute called price.
Your second method will be called DetermineTotal. This method will calculate the total cost (quantity * cost) and round this value to 2 decimal places. It will store this value in an attribute called total.
Your final method will return the total.
When creating this class start coding in VS Code or IDLE. To test your class create an object. Send in the values 6 and C. Next call your method DeterminePrice followed by DetermineTotal. Finally print the method ReturnTotal to the screen. Your code should print the following: 29.7
In: Computer Science
Suppose internet data in hex is 99 f5 44 27 23 96 e3 4f. Calculate internet checksum.
You need to show steps and write answer here
In: Computer Science
You will conduct a systems analysis project ( car rentals ) by performing 3 phases of SDLC (planning, analysis and design) for a small (real or imaginary) organization. ( car rentals )The actual project implementation is not required (i.e. No coding required.)
This project should follow the main steps of the first three phases of the SDLC (phase 1, 2 and 3). Details description and diagrams should be included in each phase.
my part that i need help in it :
, you are required to determine the main business requirements; consequently, the following must be included:
In: Computer Science
Database systems and Information systems
An information system performs three sets of services:
Basically, a database is a fact (data) repository that serves an information system. If the database is designed poorly, one can hardly expect that the data/information transformation will be successful, nor is it reasonable to expect efficient and capable management of data and information.
The transformation of data into information is accomplished through application programs. It is impossible to produce good information from poor data; and, no matter how sophisticated the application programs are, it is impossible to use good application programs to overcome the effects of bad database design. In short: Good database design is the foundation of a successful information system.
Database design must yield a database that:
The last point deserves emphasis: even the best-designed database lacks value if it fails to meet information system objectives. In short, good database designers must pay close attention to the information system requirements.
Systems design and database design are usually tightly intertwined and are often performed in parallel. Therefore, database and systems designers must cooperate and coordinate to yield the best possible information system.
The SDLC traces the history (life cycle) of an information system. The DBLC traces the history (life cycle) of a database system. Since we know that the database serves the information system, it is not surprising that the two life cycles conform to the same basic phases.
There are two basic approaches to database design: top‑down and bottom‑up.
Top‑down design begins by identifying the different entity types and the definition of each entity's attributes. In other words, top‑down design:
Bottom‑up design:
Although the two methodologies tend to be complementary, database designers who deal with small databases with relatively few entities, attributes, and transactions tend to emphasize the bottom‑up approach. Database designers who deal with large, complex databases usually find that a primarily top‑down design approach is more appropriate.
Even if a generally top‑down approach is selected, the normalization process that revises existing table structures is (inevitably) a bottom‑up technique. E-R models constitute a top-down process even if the selection of attributes and entities may be described as bottom-up. Since both the E-R model and normalization techniques form the basis for most designs, the top‑down vs. bottom-up debate may be based on a distinction without a difference.
Assignment
Write two to three paragraphs answering each of the following questions:
In: Computer Science
You will conduct a systems analysis project ( car rentals ) by performing 3 phases of SDLC (planning, analysis and design) for a small (real or imaginary) organization. ( car rentals )The actual project implementation is not required (i.e. No coding required.)
This project should follow the main steps of the first three phases of the SDLC (phase 1, 2 and 3). Details description and diagrams should be included in each phase.
my part that i need help in it :
Under this section, include the following:
In: Computer Science
You will conduct a systems analysis project ( car rentals ) by performing 3 phases of SDLC (planning, analysis and design) for a small (real or imaginary) organization. ( car rentals )The actual project implementation is not required (i.e. No coding required.)
This project should follow the main steps of the first three phases of the SDLC (phase 1, 2 and 3). Details description and diagrams should be included in each phase.
my part that i need help in it :
In: Computer Science
Read Chapter One of David Brin's The Transparent Society.
What is the effective difference between Brin's "City Number One" and "City Number Two"? Think in terms of civil liberties. A description of how these two cities work is not enough, you must tell me about civil liberties.
In: Computer Science
36. A junior Linux administrator is performing version control
on a Git repository. The administrator is given a list of tasks to
complete:
• List the currently installed Git release.
• Show the status reporting on the clone.
Which of the following commands would allow the administrator to
complete these tasks? (Select TWO).
A. git clone --progress
B. git clone --recursive
C. git --help
D. git clone --dissociate
E. git --version
F. git clone –shared
37. A company wants to provide internal identity verification
services for networked devices. Which of the following should be
installed?
A. SSH
B. VPN
C. CA
D. DCHP
E. DNS
38. A system administrator wants to disable the Linux Watchdog
Timer Driver for security purposes. Which of the following will
accomplish this task?
A. Add blacklist watchdog to the /etc/modprobe.d/blacklist
file.
B. Rename the /etc/modprobe.d/watchdog file to watchdog.off
instead.
C. Remove the watchdog=1 from the /usr/modules/watchdog.conf
file.
D. Add watchdog=0 to the /etc/modprobe.conf file.
39. Ann, a user has created a new directory and noticed that
permissions on the new directory are as follows:
drwx------. 1 ann ann 0 Jun 11 08:20 work
Which of the following should the administrator do to restore
default permissions for newly created directories?
A. Change unmask value in /etc/profile.
B. Run chmod command to update permissions.
C. Modify directory ownership to ann:ann with chown.
D. Execute chattr command to restore default access.
40. A security administrator wants to display a warning banner
before a user logs in. Which of the following files must be edited
to make this happen?
A. /etc/services
B. /etc/issue
C. /etc/hosts
D. /etc/mood
In: Computer Science
____________(str) is the function to run in the shell to find out details about how to use str() and the type of data it accepts and returns.
In: Computer Science
Question 6
Advise the company on where to place the shared printer in the offices that they have retained from their lease agreement. What are the possible problems that can occur if a printer is not set up in the correct space and not managed correctly?
In: Computer Science
You will conduct a systems analysis project ( car rentals ) by performing 3 phases of SDLC (planning, analysis and design) for a small (real or imaginary) organization. ( car rentals )The actual project implementation is not required (i.e. No coding required.)
This project should follow the main steps of the first three phases of the SDLC (phase 1, 2 and 3). Details description and diagrams should be included in each phase.
my part that i need help in it :
, you are required to determine the main business requirements; consequently, the following must be included:
In: Computer Science
What factors should you consider before determining whether your presentation should be posted online? Is your material copyrighted? Can you prevent others from using your material without authorization?
In: Computer Science
Write and Compile a python script to solve the 4-queens problem using Forward Checking algorithm . The code should allow for random starting, and for placed starting. Random Starting means randomly place a queen position on the chessboard. Placed Starting means asked for the user input to place a queen position on the chessboard. Display the iterations until the final solution
"The 4-Queens Problem[1] consists in placing four queens on a 4 x 4 chessboard so that no two queens can capture each other. That is, no two queens are allowed to be placed on the same row, the same column or the same diagonal."
Display the output of the python Script
In: Computer Science
Blurred Sequence
Jojo as a treasure hunter has finally found the ancient treasure box. The treasure box has three layers of lock. Each layer of lock contains clues to unlock the lock.
The first layer of lock gives a sequence of numbers. But as we know that the treasure box is as old as the dinosaurs, the sequence is blurred as it goes to the end. Jojo can only read the first seven numbers of the sequence which is: 1 , 1 , 2 , 3 , 5 , 8 , 13, ... and the rest are blurred.
After a days of researching, Jojo found out that the sequence is a fibonacci sequence which each number is the sum of the two preceding ones. Formally, fibonacci sequence are written as Fi as the i-th fibonacci number and its property is Fi = Fi-1 + Fi-2 where i > 2 and in this case, the base cases are F1 = 1 and F2 = 1.
And it’s not even the riddle yet. The lock gives Jojo two numbers L and R and asks Jojo to get the sum of its digits from L-th fibonacci to R-th fibonacci inclusive. As a good friend of Jojo, help Jojo to solve the first layer lock riddle.
Format Input:
There are T testcases. Each testcase contains two integers L and R which indicates the numbers that the lock gives.
Format Output:
Output T line with format “Case # X: ”, where X indicates the testcase number and then followed by the answer of the riddle.
Constraints
• 1 ≤ T ≤ 100
• 1 ≤ L ≤ R ≤ 64
Sample Input (standard input):
5
1 4
3 5
6 7
9 9
3 11
Sample Output (standard output):
Case #1: 7
Case #2: 10
Case #3: 12
Case #4: 7
Case #5: 59
NOTE: USE C LANGUAGE, DONT USE FUNCTION(RESULT,RETURN),VOID,RECURSIVE, USE BASIC CODE AND CODE IT UNDER int main (){, constraint must be the same
In: Computer Science