Answer:
Peripheral devices, such as the monitor, keyboard, and mouse are separate from the system unit.
Explanation:
Consider the following incomplete method. Method findNext is intended to return the index of the first occurrence of the value val beyond the position start in array arr. I returns index of first occurrence of val in arr /! after position start; // returns arr.length if val is not found public int findNext (int[] arr, int val, int start) int pos = start + 1; while condition '/ ) pos++ return pos; For example, consider the following code segment. int [ ] arr {11, 22, 100, 33, 100, 11, 44, 100); System.out.println(findNext (arr, 100, 2)) The execution of the code segment should result in the value 4 being printed Which of the following expressions could be used to replace /* condition */ so that findNext will work as intended?
(A) (posarr.length) &&(arr [pos]- val)
(B) (arr [pos] != val) && (pos < arr. Îength)
(C) (pos
(D) (arr [pos} == val) && (pos < arr. length)
(E) (pos
Answer:
B)
Explanation:
The while loop runs as long as two conditions are satisfied, as indicated by the && logical operator.
The first condition- arr[pos] != val
checks to see if the value in the array index, pos, is equal to the given value and while it is not equal to it, the second condition is checked.
The second condition(pos < are.length), checks to see if the index(pos) is less than the length of the array. If both conditions are true, the program execution enters the while loop.
The while loop is only terminated once arr[pos] == Val or pos == arr.length.
1.
Consider the following Java statements.
1
2.
int a = 5;
int b = 3;
int c = 4;
C = a + b 3
3
4
What is the value of c after these lines execute?
Enter answer here
Answer:
2. in the a= 5
Explanation:
dhjhff jogs KFC lol f kids
Iconic designs are inspirational and are often copied.
True
False
This is absolutely true. A shining example of this is with smartphones. Before Apple introduced the world to the iPhone, most smartphones had actual keyboards, zero touchscreen capabilities, could barely browse the internet, and had very small displays. After the iPhone was released in 2007, companies immediately scrambled to come out with phones that looked uncannily similar to Apple's. Why? Because Apple's phone was designed well. It's pretty amazing how immediate the shift was. In fact, I recomend you look up "Smartphones before and after iPhone" online. It's pretty cool. Here's an image example: https://www.redmondpie.com/image-showing-phones-before-and-after-iphone-x-revisits-how-android-market-still-tends-to-copy-iphone/
Hope this helps!
An electronic device for storing and processing data typically in binary form according to instructions given to it in a variable
program
Answer:
Computer
Explanation:
What was really Ur quiz ,it's name?If so then it's a computer
Manny has drafted an email message and configured a delivery option “Do not delivery before 5:00 PM and today’s date” he shuts down his computer and leaves for the day at 4:30 pm. What will happen at 5 pm?
- the message will be delivered from the server
- the message will be delivered from Manny’s computer
- the message will remain in manny’s outbox until the computer is started and the outlook programs is started the next day
- the message will remain in Manny’s outbox until the computer is started and he will be promoted
Answer:
Explanation:
In this scenario, the message will remain in manny’s outbox until the computer is started and the outlook programs is started the next day. When you create a message but do not send it, even if you schedule to send it, the message gets saved as a draft in your outbox. Once the scheduled time arrives the program will grab the message, prepare it, and send it. This will however not happen if the program is closed. Therefore, Manny's message will only send once the computer is turned on and the Outlook program relaunches.
Why do entries in a local address resolution protocol table expire after a short amount of time?
Answer:
To account for network changes
Explanation:
Answer:
To account for network changes
Explanation:
Address Resolution Protocol (ARP) can be regarded as procedure that is been engaged in mapping of dynamic Internet Protocol address i.e (IP address) into permanent physical machine address( MAC Address) in a particular local area network (LAN).
ARP is utilized when there is need for
dynamically mapping of layer-3 network addresses into data-link addresses. It should be noted that the reason why entries in a local address resolution protocol table expire after a short amount of time is that it will be easy to account for network changes
Consider the key success factors of B2C. Is it only IT? What is most important?
Jsjfu zzer jsusuc888 kksss
market trends on products made of bamboo, wood, and metal
Answer:
market trends on products made of bamboo, wood, and metal
Quail eggs, popcorns, hotdogs, sandwiches, ice creams, fries, sodas, juice, you name it. It can all be found near school community. Also, fun and exciting stuff can be found and are sold near schools. Keychains, pretty and fashionable headbands, ponytails, ribbons, and so much more are sold there.
How is an interpreter different from a compiler?
An interpreter translates and executes code line by line, while a compiler translates all code at once so that it is ready to be executed at any time.
An interpreter translates all code at once so that it is ready to be executed at any time, while a compiler translates and executes code line by line.
An interpreter translates programming code into binary language, while a compiler does not.
An interpreter translates binary language into programming language, while a compiler translates programming language into binary language.
Answer:
An interpreter is quite different from a complier due to the following statement below:
O. An interpreter translates and executes code line by line, while a compiler translates all code at once so that it is ready to be executed at any time.
Explanation:
For an interpreter, it works in translating and execution of the codes line after another line. In a situation where there is a mistake in the code, the next line would not be able to be executed, but rather display error message. On the other hand, compiler translate all codes at once and execute them as a single work.
During its translation of the codes in compiler, should there be any error, it would not be able to execute despite the fact that, the error might be in the last line of the code.
Answer:
a
Explanation:
taking test right now
Mathilda’s computer has been running slow the past few months. She observed that the system unit becomes too hot. What does she need to do to fix this issue?
A.
She needs to make sure that the keyboard and mouse are properly connected.
B.
She needs to install antivirus software.
C.
She needs to delete unwanted files from her hard disk.
D.
She needs to clean the dust from the system unit fan.
Answer:
The answer is D
Explanation:
5.10 (Find the highest score) Write a program that prompts the user to enter the number of students and each student's score, and displays the highest score.
Please help me!
Answer:
Python Program for the task.
#Ask the user to input the number of students
n = int(input("Please enter the number of students:\n"))
print()
#Get students' scores
for i in range(n):
score_list = [ ] #placeholder for score
i = float(input("Please enter student's score:"))
score_list.append(i) # append student score
#print the highest score
print("The highest score is",max(score_list))
what is this....... Iam booking train to patna.
Compile and Execute a Program
1. Compile Pay.java using the JDK or a Java IDE as directed by your instructor.
2. You should not receive any error messages.
3. When this program is executed, it will ask the user for input. You should calculate several different cases by hand. Since there is a critical point at which the calculation changes, you should test three different cases: the critical point, a number above the critical point, and a number below the critical point. You want to calculate by hand so that you can check the logic of the program. Fill in the chart below with your test cases and the result you get when calculating by hand.
4. Execute the program using your first set of data.
Record your result. You will need to execute the program three times to test all your data. Note: you do not need to compile again. Once the program compiles correctly once, it can be executed many times. You only need to compile again if you make changes to the code. Hours Rate Pay (hand calculated) Pay (program result) LLLLLLLLLL import java.util.Scanner; // Needed for the Scanner class This program calculates the user's gross pay. public class Pay public static void main(String[] args) // Create a Scanner object to read from the keyboard. Scanner keyboard = new Scanner(System.in); // Identifier declarations double hours; // Number of hours worked double rate; // Hourly pay rate double pay; // Gross pay // Display prompts and get input. System.out.print("How many hours did you work? "); hours = keyboard.nextDouble(); System.out.print("How much are you paid per hour? "); rate - keyboard.nextDouble(); // Perform the calculations. if (hours <- 40) pay - hours * rate; else pay - (hours - 40) - (1.5 * rate) + 40 - rate; // Display results. System.out.println("You earned $" + pay);
Answer:
import java.util.Scanner;
// Needed for the Scanner class This program calculates the user's gross pay.
public class Pay {
public static void main(String[] args) {
// Create a Scanner object to read from the keyboard.
Scanner keyboard = new Scanner(System.in);
// Identifier declarations
double hours;
// Number of hours worked
double rate;
// Hourly pay rate
double pay;
// Gross pay
// Display prompts and get input.
System.out.print("How many hours did you work? ");
hours = keyboard.nextDouble();
System.out.print("How much are you paid per hour? ");
rate = keyboard.nextDouble();
// Perform the calculations.
if (hours <= 40) {
pay = hours * rate;
}
else
{
pay = (hours - 40) - (1.5 * rate) + 40 - rate;
}
// Display results.
System.out.println("You earned $" + pay);
}
}
Explanation:
Name 4 components of a components system
10.11 LAB: Pet information (derived classes) The base class Pet has private data members petName, and petAge. The derived class Dog extends the Pet class and includes a private data member for dogBreed. Complete main() to: create a generic pet and print information using PrintInfo(). create a Dog pet, use PrintInfo() to print information, and add a statement to print the dog's breed using the GetBreed() function.
Answer:
Answered below.
Explanation:
//Program in Java
Class Test{
public static void main (String[] args){
//create a pet object
Pet pet = new Pet();
//call pet object's printInfo method
pet.printInfo();
//create a new Dog object
Dog dog = new Dog();
//dog can access the printInfo method of the Pet class because it derives from it
dog.printInfo();
//dog can also call it's private method.
dog.getBreed();
}
}
Describe a problem you’ve solved or a problem you’d like to solve. It can be an intellectual challenge, a research query, an ethical dilemma — anything of personal importance, no matter the scale. Explain its significance to you and what steps you took or could be taken to identify a solution.
Answer:
Explanation:
I run an online e-commerce store and lately its been very difficult keeping track of customer detail, incoming orders, keyword generation etc. One solution that I thought about would be an application that controls all of that for me. In order to accomplish this I would first need to design and create a GUI that contains all of the necessary buttons and displays for the information. Then I would need to code a webscraper using Python to grab all of the data from e-commerce store as soon as it becomes available, organize it, and display it within the GUI.
question is in photo
Which of these skills are used in game design?
Writing, Project Management, Drawing and artistic visualization, all of the above
Answer:
I think the answer is Writing but am not sure
HLOOKUP is used for Horizontal Data look ups while VLOOKUP is for Vertical Data look ups
Select one:
True
False
Answer:
True
Explanation:
Both HLOOKUP and VLOOKUP are excel functions used for searching through tables for a specified lookup value to either get an exact or approximate match. The VLOOK and HLOOKUP functions have identical syntax which only differs with the HLOOKUP requiring the row index number to search through the rows while, VLOOKUP requires the column index number to search through the columns. Other than this difference, the other syntax values are the same.
VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup])
In this problem, you should write one function named count_calories. This function should have one parameter, which will be a dictionary of food items. The keys will ne the name of a food item (such as 'granola' or 'steak'), and the value associated with each food will be the integer calorie amount for that food. The function should iterate through all of the foods and sum up the total calories, and then return that number. For example:
count_calories({'chocolate':200, 'milk':120, 'steak':250}) should return 570.
count_calories({'carrot':5, 'apple':50}) should return 55.
Make sure to include only the one function in your file.
Answer:
The function is as follows:
def count_calories(dictt):
total = 0
for keys, values in dictt.items():
total+=values
return total
Explanation:
This defines the function
def count_calories(dictt):
This initializes total to 0
total = 0
This iterates through the dictionary
for keys, values in dictt.items():
This adds the dictionary
total+=values
This returns the calculated total
return total
1. What are the main features of IEEE 802.3 Ethernet standard?
Answer:
Single byte node address unique only to individual network. 10 Mbit/s (1.25 MB/s) over thick coax. Frames have a Type field. This frame format is used on all forms of Ethernet by protocols in the Internet protocol suite.
Explanation:
802.3 is a standard specification for Ethernet, a method of packet-based physical communication in a local area network (LAN), which is maintained by the Institute of Electrical and Electronics Engineers (IEEE). In general, 802.3 specifies the physical media and the working characteristics of Ethernet.
What was software for modems that connected through phone lines called?
virtual-emulation software
terminal-emulation software
bulletin-board software
baud modem software
Answer:
Best Regards to all of the people who have met you in the class
The document that is use in excel to store an work with data that's formatted in a pattern of a uniformly space horizontalal an vertical lines
Answer:
Spreadsheet.
Explanation:
Microsoft Excel is a software application or program designed and developed by Microsoft Inc., for analyzing and visualizing spreadsheet documents.
The document that is use in excel to store a work with data that's formatted in a pattern of uniformly spaced horizontalal and vertical lines is called a spreadsheet.
A spreadsheet can be defined as a file or document which comprises of cells in a tabulated format (rows and columns) typically used for formatting, arranging, analyzing, storing, calculating and sorting data on computer systems.
Additionally, workbooks are known as Microsoft Excel files. An Excel workbook can be defined as a collection of one or more charts and worksheets (spreadsheets) used for data entry and storage in an excel file. In order to create a project on Excel you will have to use a workbook.
Many companies use telephone numbers like 555-GET-FOOD so the number is easier for their customers to remember. On a standard telephone, the alphabetic letters are mapped to numbers in the following fashion: A, B, and C = 2 D, E, and F = 3 G, H, and I = 4 J, K, and L = 5 M, N, and O = 6 P, Q, R, and S = 7 T, U, and V = 8 W, X, Y, and Z = 9 Write a program that asks the user to enter a 12-character telephone number in the format: XXX-XXX-XXXX. Acceptable characters (X's) are A-Z and a-z. Your program should check for: The length of the phone number is correct. The dashes are included and are in the correct positions. There are no characters in the illegal characters in the string. The application should display the telephone number with any alphabetic characters that appeared in the original translated to their numeric equivalent. If the input string is not entirely correct then you should print an error message. For example, if the user enters 555-GET-FOOD the program should display 555-438-3663. If the user enters 123-456-7890, the program should display 123-456-7890. Rules: You must have one function (in addition to main()) that converts an alphabetic character to a digit. Or you can have one function that coverts all characters to digits. You can make your own function or use a built-in function if one exists.
Answer:
The program in Python is as follows:
def convertt(phone):
splitnum = phone.split ('-')
valid = True
count = 0
err = ""
numphone = ""
if len(phone) != 12:
err = "Invalid Length"
valid = False
elif phone[3] != '-' or phone[7] != '-':
err = "Invalid dash [-] location"
valid = False
while valid== True and count < 3:
for ch in splitnum[count]:
if ch.isdigit():
numphone += ch
elif ch.upper()in 'ABC':
numphone += '2'
elif ch.upper()in 'DEF':
numphone += '3'
elif ch.upper()in 'GHI':
numphone += '4'
elif ch.upper() in 'JKL':
numphone += '5'
elif ch.upper()in 'MNO':
numphone += '6'
elif ch.upper()in 'PQRS':
numphone += '7'
elif ch.upper()in 'TUV':
numphone += '8'
elif ch.upper()in 'WXYZ':
numphone += '9'
else:
valid = False
err = "Illegal character in phone number"
if count!=2:
numphone += '-'
count += 1
if valid == False:
print (err)
else:
print ("Phone Number", numphone)
phone = input("Phone number: ")
convertt(phone)
Explanation:
See attachment for complete source code where comments are used for explanation
When adding delegates to his mailbox, which role should Joel use if he would like the user to be able to read and create items in a particular folder?
- editor
- publishing editor
- author
- manager
Answer:
publishing editor
Explanation:
In this scenario, the role that he should choose for the delegates would be publishing editor. This role will allow them to create, read, modify, and delete all items within a given folder, and create subfolders. The other options listed either do not give access to create/modify existing files or simply only give all these rights with files that the user creates but not files that already existed in the folder. Therefore, this would be the best role for what Joel wants to accomplish.
Use the web to learn how to use the LocalDate Boolean methods isBefore(), isAfter(), and equals(). Use your knowledge to write a program that prompts a user for a month, day, and year, and then displays a message specifying whether the entered day is in the past, is today (the current date), or is in the future.
import java.util.*;
import java.time.LocalDate;
public class PastPresentFuture2
{
public static void main(String args[])
{
int mo,da,yr;
LocalDate today=LocalDate.now();
System.out.println("Program to find if the given date is in past, present or future::");
Scanner input=new Scanner(System.in);
//taking inputs from console and storing them in three variables.
System.out.print("Enter month::");
mo=input.nextInt();
System.out.print("Enter day::");
da=input.nextInt();
System.out.print("Enter year::");
yr=input.nextInt();
//creating a LocalDate object and initializing it to null;
LocalDate inputDate=null;
try
{
/*we are using the 3 variables and converting it into a date object to compare it with today's date */
inputDate = LocalDate.of(yr,mo,da);
}
catch(Exception ex)
{
/*if the entered day,month & year are not converted to a date object because of invalid entry of any values, we are stopping the program.*/
System.out.println("You have made invalid entries, please try again !!");
System.exit(0);
}
/*if the date object is created after proper entries, we are using the built-in functions to compare it the today's date object*/
System.out.print("The date you entered is ");
if(inputDate.isBefore(today))
System.out.println("in the past.");
else
if(inputDate.isAfter(today))
System.out.println("in the future.");
else
if(inputDate.equals(today))
System.out.println("the current date.");
}
}
Answer:
Explanation:
The code provided is already taking in the input and comparing it to the current date using the methods isBefore(), isAfter(), and equals(). It works perfectly and did not need any changes to the code. As you can see from the attached pictures below, every scenario works as intended. If the format is not correct and the date object is not able to be created then it prompts an error message and exits the program as intended.
import java.util.*;
import java.time.LocalDate;
class PastPresentFuture2
{
public static void main(String args[])
{
int mo,da,yr;
LocalDate today=LocalDate.now();
System.out.println("Program to find if the given date is in past, present or future::");
Scanner input=new Scanner(System.in);
//taking inputs from console and storing them in three variables.
System.out.print("Enter month::");
mo=input.nextInt();
System.out.print("Enter day::");
da=input.nextInt();
System.out.print("Enter year::");
yr=input.nextInt();
//creating a LocalDate object and initializing it to null;
LocalDate inputDate=null;
try
{
/*we are using the 3 variables and converting it into a date object to compare it with today's date */
inputDate = LocalDate.of(yr,mo,da);
}
catch(Exception ex)
{
/*if the entered day,month & year are not converted to a date object because of invalid entry of any values, we are stopping the program.*/
System.out.println("You have made invalid entries, please try again !!");
System.exit(0);
}
/*if the date object is created after proper entries, we are using the built-in functions to compare it the today's date object*/
System.out.print("The date you entered is ");
if(inputDate.isBefore(today))
System.out.println("in the past.");
else
if(inputDate.isAfter(today))
System.out.println("in the future.");
else
if(inputDate.equals(today))
System.out.println("the current date.");
}
}
Write a Python Program to find Prime Factors of a Number using For Loop, and While Loop
Answer:
1. Take the value of the integer and store in a variable.
2. Using a while loop, first obtain the factors of the number.
3. Using another while loop within the previous one, compute if the factors are prime or not.
4. Exit.
hope it helps☺
The Syntax NPV formula includes the Rate, The Cash Flows, the number of payments, and the Future
Value.
Select one:
True
False
Answer:
False
Explanation:
NPV stands for Net Present Value, it is an important term in finance as it used to determine the value of money or investment based on a series of cashflows and specified discount rate. Excel provides a functions which aids easy calculation of the Net Present value of money or investment using the NPV formula. The syntax forbthe NPV formula is :
=NPV(rate,value 1, [value 2],...)
This formular requires only tow key parameters ; the discount rate, which comes first and the cashflows, which is designated in the syntax as values ; the cashflows is usually placed in a range of cells in excel and the cell range is inputed in the formular. Hence, the number of payments and future value aren't part of the NPV syntax.
Read the scenario and then answer the question using only the information provided.
A report titled “Students in Freshman Chemistry” contains the names of college students enrolled in a freshman chemistry course. Names are organized in ascending alphabetical order. Which best describes how the report is organized?
The report is grouped and sorted.
The report is sorted only.
The report is grouped only.
Answer:
It’s b the report is sorted only
Explanation:
it is used to connect the different data and flow of action from one symbol to another what is that
Since u said "symbols" I'm assuming Ur talking about flowcharts.
If that's wut Ur talking about, u use arrows to denote the flow of control and data and also the sequence.
If Ur talking about processor architecture ( which I assume Ur not) the answer is buses