Other Programming & Computer Science Answers

Questions: 537

Answers by our Experts: 537

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

List the binary, octal and hexadecimal numbers :


DECIMAL:

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31


BINARY:

OCTAL :

HEXADECIMAL :


Write pseudocode, design flow chart and Java program using meaningful variable names, match logic specificed as in pseudocode and flow chart. Collect client information (Last name, first name, middle name (appear in one line) house/unit number, street name, type (appear in one line, city (by itself) & age (by itself) . Initial of first name with full stop, initial of middle name with full stop. Age brackets: 20 or under

21-35

36-70

71 or over


Write pseudocode, design flow chart and Java program using meaningful variable names, match logic specificed as in pseudocode and flow chart. Collect client information (Last name, first name, middle name (appear in one line) house/unit number, street name, type (appear in one line, city (by itself) & age (by itself) . Initial of first name with full stop, initial of middle name with full stop. Age brackets: 20 or under

21-35

36-70

71 or over


The "SUPER GOODS " Pvt. Ltd. manufactures spices for the export market. In the factory, there are two machines called A and B. The following table shows a sample production of each machine in seven days. Day1 Day2 Day3 Day4 Day5 Day6 Day 7 Production of Machine A 160 180 150 110 190 140 165 Production of Machine B 180 100 115 170 155 165 195

Write a program in pseudocode to

• Declare a two-dimensional array to store these data and get user input to load the array. • Find the total production of machine A in the entire week. • Display the highest production and name of the machine that produced it.


Write a program that allows the user to input two numbers. Use NUM1 & NUM2 as variables. The program should output 4 answers using 4 different operators which are +, ‐, /, * and MOD. Your Screen should look something like this:

Ans1 =

Ans2 =

Ans3 =

Ans4 =

*using netbeans*


Scenario:

The manager of the Diner by the Valley restaurant plans to have a computer available for students to place their orders when they enter the campus center. They have a limited menu selection available that includes sandwiches and drinks.


In addition to white bread, they have whole wheat and rye bread. No charge is included for different bread types; however, they do consider that selection a special request. The interface should enable special requests such as bread types to be selected. Students should be able to enter other special requests such as "Hold the onion" or "Hold the mayo". Water is available for each order at no charge, but it must be ordered. Prices are as follows: • Sandwich = $2.00 • Tea = $1.80, • Coffee = $2.30 • Juice = $1.50. The manager needs a user-friendly interface where a student can choose options easily and at the end, the program should display the current order selections and show the total cost of the order.




Write a program to multiply every element of the linked list with 10


How to determine the types of data files?


A. Write I if the statement is Interval, N if Normal, R if Ratio, and O if Ordinal.

1. Military title

2. Temperature in degree celcius

3. Birthplace

4. Year level

5. Favorite type of music

6. Clothing such as hat, shirt, shoes

7. A score in 5-item quiz in Math

8. Feeling for today

9. Means of transportation to school

10. How internet is used at home



Think of task 3 above, in real life the total cost is not provide but rather calculated by
the system/program in place. Given the following facts create a program to calculate the cost give
the arrival and departure times:
Duration Cost
0 to 30 minutes N$ 0
0.5h to 8 hours N$ 2.50 per 30 minutes
Above 8 hours N$ 80.00
Sample run 1:
Java lab01_task05 N88W 8h30 9h45
Output:
Vehicle Details
N88W
++++++++++++++++++++++
Arrival 8h30
Departure 9h45
++++++++++++++++++++++
Total Cost: N$ 6.25
++++++++++++++++++++++
LATEST TUTORIALS
APPROVED BY CLIENTS