Answer:
7,650 ÷ 1000 = 7.65
Explanation:
We need to solve the below expression :
7,650 ÷ ----- = 7.65
Let the blank is x.
7,650 ÷ x = 7.65
\(\dfrac{7650}{x}=7.65\)
Multiplying both sides by 7.65 and cross multiplying :
\(\dfrac{7650}{7.65}=x\\\\\dfrac{7650\times 100}{765}=x\\\\x=1000\)
Hence, 7,650 ÷ 1000 = 7.65
Write a program that creates an integer array with 40 elements in it. Use a for loop to assign values to each element of the array so that each element has a value that is triple its index. For example, the element with index 0 should have a value of 0, the element with index 1 should have a value of 3, the element with index 2 should have a value of 6, and so on.
Answer:
public class Main
{
public static void main(String[] args) {
int[] numbers = new int[40];
for (int i=0; i<40; i++){
numbers[i] = i * 3;
}
for (int i=0; i<40; i++){
System.out.println(numbers[i]);
}
}
}
Explanation:
*The code is in Java.
Initialize an integer array with size 40
Create a for loop that iterates 40 times. Inside the loop, set the number at index i as i*3
i = 0, numbers[0] = 0 * 3 = 0
i = 1, numbers[1] = 1 * 3 = 3
i = 2, numbers[2] = 2 * 3 = 6
.
.
i = 39, numbers[39] = 39 * 3 = 117
Create another for loop that iterates 40 times and prints the values in the numbers array
A Process of receiving selecting
organizing interpreting checking and
reacting to sensory stimuli or data
so as to form a meaningful and
coherent picture of the world is
Select one:
a. Attitude
b. Perception
c. Communication
d. Thinking
= Perception
Answer:
I think it’s B based on the answer choices
Explanation:
When is it typically appropriate to use older sources and facts?
Write a basic program that performs simple file and mathematical operations.
a. Write a program that reads dates from input, one date per line. Each date's format must be as follows: March 1, 1990. Any date not following that format is incorrect and should be ignored. Use the find() method to parse the string and extract the date. The input ends with -1 on a line alone. Output each correct date as: 3/1/1990.
b. After the program is working as above, modify the program so that it reads all dates from an input file "inputDates.txt" (an Example file is attached).
c. Modify your program further so that after parsing all dates from the input file "inputDates.txt", it writes out the correct ones into an output file called: "parsedDates.txt".
Ex: If the input is:
March 1, 1990
April 2 1995
7/15/20
December 13, 2003
-1
then the output is:
3/1/1990
12/13/2003
Answer:
Explanation:
I have written the Python program based on your requirements.
Just give the path of the input file and the path for the output file correctly where you want to place the output file.
In, my code - I have given my computer's path to the input and output file.
You just change the path correctly
My code works perfectly and I have tested the code with your inputs.
It gives the exact output that you need.
I have attached the Output that I got by running the below program.
Code:
month_list={ "january":"1","february":"2", "march":"3","april":"4", "may":"5", "june":"6","july":"7", "august":"8", "september":"9","october":"10", "november":"11", "december":"12"} input_file=open('C:\\Users\\Desktop\\inputDates.txt', 'r') output_file=open('C:\\Users\\Desktop\\parsedDates.txt','w') for each in input_file: if each!="-1": lis=each.split() if len (lis) >=3: month=lis [0] day=lis[1] year=lis [2] if month.lower() in month_list: comma=day[-1] if comma==',': day=day[:len (day)-1] month_number=month_list[month.lower()] ans-month_number+"/"+day+"/"+year output_file.write (ans) output_file.write("\n") output_file.close() input_file.close()
- O X parsedDates - Notepad File Edit Format View Help 3/1/1990 12/13/2003
- X inputDates - Notepad File Edit Format View Help March 1, 1990 April 2 1995 7/15/20 December 13, 2003 -1
cheers i hope this helped !!
In this exercise we have to use the knowledge in computer language to write a code in python, like this:
the code can be found in the attached image
to make it simpler we have that the code will be given by:
month_list ={"january": "1", "february": "2", "march": "3", "april": "4", "may": "5", "june": "6", "july": "7", "august": "8", "september": "9", "october": "10", "november": "11", "december":"12"}
input_file = open ('C:\\Users\\Desktop\\inputDates.txt', 'r') output_file =
open ('C:\\Users\\Desktop\\parsedDates.txt', 'w') for each
in input_file:if each
!="-1":lis = each.split ()if len
(lis) >= 3:month = lis[0] day = lis[1] year = lis[2] if month
.lower ()in month_list:comma = day[-1] if comma
== ',': day = day[:len (day) - 1] month_number =
month_list[month.lower ()]ans - month_number + "/" + day + "/" +
year output_file.write (ans) output_file.write ("\n") output_file.
close ()input_file.close ()
See more about python at brainly.com/question/26104476
3.
Which of the following is a feature in Windows 10 that allows
you to display two windows side by side?
O Pin
O Peek
O Snap
One-click
Answer:
Snap
Explanation:
Smart Window, also called Snap, is a feature of Microsoft Windows that lets you automatically position two windows side-by-side without manually resizing them. Smart Window is also useful if you don't want to use Alt + Tab to switch between 2 windows.
CORRECT ANSWER GETS BRAINLIEST. HELP ASAP
What is the computer toolbar used for?
Groups similar icons together
Holds frequently used icons
Organizes files
Sorts files alphabetically
Answer:
holds frequently used icons
Answer:
gives you quick access to certain apps
What code would you use to tell if "schwifty" is of type String?
a. "schwifty".getClass().getSimpleName() == "String"
"b. schwifty".getType().equals("String")
c. "schwifty".getType() == String
d. "schwifty" instanceof String
Answer:
d. "schwifty" instanceof String
Explanation:
Given
List of options
Required
Determine which answers the question.
The syntax to check an object type in Java is:
[variable/value] instanceof [variable-type]
Comparing this syntax to the list of options;
Option d. "schwifty" instanceof String matches the syntax
Hence;
Option d answers the question
What is a small device that connects to a computer and acts as a modem
Answer:
Dongle
Explanation:
a small device that connects to a computer and acts as a modem. broadband. internet connection with fast data-transfer speeds and an always-on connection. cable internet service.
in the situation above, what ict trend andy used to connect with his friends and relatives
The ICT trend that Andy can use to connect with his friends and relatives such that they can maintain face-to-face communication is video Conferencing.
What are ICT trends?ICT trends refer to those innovations that allow us to communicate and interact with people on a wide scale. There are different situations that would require a person to use ICT trends for interactions.
If Andy has family and friends abroad and wants to keep in touch with them, video conferencing would give him the desired effect.
Learn more about ICT trends here:
https://brainly.com/question/13724249
#SPJ1
Select the correct answer from the drop-down menu.
Which are the two alternatives for pasting copied data in a target cell or a group of cells?
You can right-click the target cell or cells and then select the
option or press the
ke
Answer:
Right click and paste
Ctrl + V
The program should prompt the user to enter two integers. The program should store these
values into variables a and b and compare the two integers entered then say which number is
greater than the other. E.g. If a user enters 20 and 40, the program should say that 40 is
greater than 20. If the values entered are equal the program should display that the first
number is equal to the second number or else display that invalid data has been entered. Use
if else statements to implement your solution.
Explanation:
Begin
Prompt : please enter & first number:
Please enter & second number:
a number;
b number;
a := first number
b := second number
If (a>b) then
Display (a || 'is grater than' || b) ;
else if (b>a) then
Display (b || 'is grater than' || a) ;
else if (a==b) then
Display (a || 'is equal to' || b) ;
else
Display ('Invalid data has been entered') ;
end if;
End;
Hope it helps!
Hope it helps! Please mark it as brainliest!
What is the name given to software that decodes information from a digital file so that a media player can display the file? hard drive plug-in flash player MP3
Answer:
plug-in
Explanation:
A Plug-in is a software that provides additional functionalities to existing programs. The need for them stems from the fact that users might want additional features or functions that were not available in the original program. Digital audio, video, and web browsers use plug-ins to update the already existing programs or to display audio/video through a media file. Plug-ins save the users of the stress of having to wait till a new product with the functionality that they want is produced.
Answer:
B plug-in
Explanation:
Edge2022
In c++, make the output exactly as shown in the example.
Answer:
Here's a C++ program that takes a positive integer as input, and outputs a string of 1's and 0's representing the integer in reverse binary:
#include <iostream>
#include <string>
std::string reverse_binary(int x) {
std::string result = "";
while (x > 0) {
result += std::to_string(x % 2);
x /= 2;
}
return result;
}
int main() {
int x;
std::cin >> x;
std::cout << reverse_binary(x) << std::endl;
return 0;
}
The reverse_binary function takes an integer x as input, and returns a string of 1's and 0's representing x in reverse binary. The function uses a while loop to repeatedly divide x by 2 and append the remainder (either 0 or 1) to the result string. Once x is zero, the function returns the result string.
In the main function, we simply read in an integer from std::cin, call reverse_binary to get the reverse binary representation as a string, and then output the string to std::cout.
For example, if the user inputs 6, the output will be "011".
Hope this helps!
Define a function calc_total_inches, with parameters num_feet and num_inches, that returns the total number of inches. Note: There are 12 inches in a foot.
Answer:
def print_total_inches (num_feet, num_inches):
print('Total inches:', num_feet * 12 + num_inches)
print_total_inches(5, 8)
Explanation:
I'm not sure what language you needed this written in but this would define it in Python.
Answer:
def calc_total_inches(num_feet, num_inches):
return num_feet*12+num_inches
Explanation:
Which three major objects are built into the JavaScript language?
This task contains the radio buttons and checkboxes for options. The shortcut keys to perform this task are A to H and alt+1 to alt+9.
A
Document, Object, Model.
B
Canvas, Geolocation and Drag.
C
None, JavaScript is object-based not object-oriented.
D
Document, Navigator, Array.
Answer:
jddjjddjdjdjjsjsjejejejjejejejjdjdjeje
What is the difference between Mac, PC, Tablets, and Cell Phones?
Answer:
In the strictest definition, a Mac is a PC because PC stands for personal computer. However, in everyday use, the term PC typically refers to a computer running the Windows operating system, not the operating system made by Apple.
Explanation:
Hope this helps !!
What is data reduction and why is it important
Data reduction refers to the process of reducing the amount of data in a dataset while preserving its meaningful and relevant information. It involves techniques such as data compression, filtering, and sampling.
There are several reasons why data reduction is important:
1. Storage Efficiency: By reducing the size of the dataset, data reduction helps save storage space. This is especially crucial when dealing with large datasets that can take up significant storage resources.
2. Processing Efficiency: Smaller datasets are quicker to process and analyze. Data reduction techniques help to simplify and streamline the data, making it more manageable and enabling faster data processing.
3. Improved Accuracy: Removing redundant or irrelevant data through data reduction can improve the accuracy of analysis. By focusing on the most significant and representative data points, data reduction helps to eliminate noise and improve the quality of results.
4. Enhanced Data Mining: Data reduction facilitates data mining processes by reducing the complexity of the dataset. It enables researchers and analysts to extract patterns, trends, and insights more effectively from the data.
5. Cost Reduction: Storing and processing large datasets can be expensive in terms of storage infrastructure and computational resources. By reducing the data size, organizations can save costs associated with storage and processing.
Overall, data reduction is important because it enables organizations to manage and analyze data more efficiently, leading to improved decision-making and cost savings.
For more such questions data,Click on
https://brainly.com/question/179886
#SPJ8
DSL full form in computer
please give me answer fast
Answer:
Digital subscriber line
Define a thread that will use a TCP connection socket to serve a client Behavior of the thread: it will receive a string from the client and convert it to an uppercase string; the thread should exit after it finishes serving all the requests of a client Create a listening TCP socket While (true) { Wait for the connection from a client Create a new thread that will use the newly created TCP connection socket to serve the client Start the new thread. }
Answer:
The primary intention of writing this article is to give you an overview of how we can entertain multiple client requests to a server in parallel. For example, you are going to create a TCP/IP server which can receive multiple client requests at the same time and entertain each client request in parallel so that no client will have to wait for server time. Normally, you will get lots of examples of TCP/IP servers and client examples online which are not capable of processing multiple client requests in parallel.
Explanation:
hope i helped
The boolean expression:
!((A < B) || (C > D))
is equivalent to which of the following expressions?
(A >= B) && (C <= D)
(A >= B) || (C <= D)
(A > B) || (C < D)
(A > B) && (C < D)
(A < B) && (C > D)
Answer:
(A > B) || (C < D)
Explanation:
What is a foreign key? a security key to a database that stores foreign data a security key to a database located in another country a field in a table that uniquely identifies a record in a relational database a field in a table that links it to other tables in a relational database
Answer: a field in a table that links it to other tables in a relational database
A - a security key to a database that stores foreign data
b) Use method from the JOptionPane class to request values from the user to initialize the instance variables of Election objects and assign these objects to the array. The array must be filled.
The example of the Java code for the Election class based on the above UML diagram is given in the image attached.
What is the Java code about?Within the TestElection class, one can instantiate an array of Election objects. The size of the array is determined by the user via JOptionPane. showInputDialog()
Next, one need to or can utilize a loop to repeatedly obtain the candidate name and number of votes from the user using JOptionPane. showInputDialog() For each iteration, one generate a new Election instance and assign it to the array.
Learn more about Java code from
https://brainly.com/question/18554491
#SPJ1
See text below
Question 2
Below is a Unified Modelling Language (UML) diagram of an election class. Election
-candidate: String
-num Votes: int
<<constructor>> + Election ()
<<constructor>> + Election (nm: String, nVotes: int)
+setCandidate( nm : String)
+setNum Votes(): int
+toString(): String
Using your knowledge of classes, arrays, and array list, write the Java code for the UML above in NetBeans.
[7 marks]
Write the Java code for the main method in a class called TestElection to do the following:
a) Declare an array to store objects of the class defined by the UML above. Use a method from the JOptionPane class to request the length of the array from the user.
[3 marks] b) Use a method from the JOptionPane class to request values from the user to initialize the instance variables of Election objects and assign these objects to the array. The array must be filled.
Which of the following is the final step in the problem-solving process?
Explanation:
Evaluating the solution is the last step of the problem solving process.
You are asked to check for undocumented features of the Computer Program. Outline the strategy you would use to identify and characterize unpublicized operations.
The following is a general strategy to identify and characterize unpublicized operations in a computer program:
Identify potential areas of the program where undocumented features might exist. This could include any parts of the program that have been customized, or any features that seem to work differently from the documented behavior.
Use testing tools to examine the program's behavior and identify any differences from the documented behavior. This could include debugging tools, testing frameworks, or custom scripts that simulate program inputs.
Analyze the program's source code to identify any unusual or suspicious behavior. This could include reviewing the program's libraries and dependencies, examining code for hidden or obfuscated functions, or searching for specific keywords or patterns.
Conduct interviews with program developers, testers, or other staff to identify any undocumented features or behavior. This could include asking about any known workarounds or hacks, or querying staff about any unusual or unexpected behaviors they have observed.
Collaborate with other security researchers to share information about any potential undocumented features or behavior. This could include participating in online forums, attending conferences, or sharing information through social media.
Document any findings in detail, including any discovered functionality, how it is accessed, and any potential security implications. This information can be used to develop mitigation strategies or to communicate with program developers and other stakeholders.
Which of these are innovative tools that shape some online reading
experiences?
A. Blogs and message boards
B. HTML and computer code
C. Text messages and emoticons
D. Hypertexts and hyperlinks
Answer:
I think the answer is A. Blogs and message boards.
Have a wonderful day!
Explanation:
Answer: its D
Explanation:
What feature allows a person to key on the new lines without tapping the return or enter key
The feature that allows a person to key on new lines without tapping the return or enter key is called word wrap
How to determine the featureWhen the current line is full with text, word wrap automatically shifts the pointer to a new line, removing the need to manually press the return or enter key.
In apps like word processors, text editors, and messaging services, it makes sure that text flows naturally within the available space.
This function allows for continued typing without the interruption of line breaks, which is very helpful when writing large paragraphs or dealing with a little amount of screen space.
Learn more about word wrap at: https://brainly.com/question/26721412
#SPJ1
Write a template that accepts an argument and returns its absolute value. The absolute entered by the user, then return the total. The argument sent into the function should be the number of values the function is to read. Test the template in a simple driver program that sends values of various types as arguments and displays the results.
Answer:
In python:
The template/function is as follows:
def absval(value):
return abs(value)
Explanation:
This defines the function
def absval(value):
This returns the absolute value of the argument using the abs() function
return abs(value)
To call the function from main, you may use:
print(absval(-4))
of what is famous Ted Nelson?
Answer:
Nelson proposed a system where copying and linking any text excerpt, image or form was possible.
Explanation:
Ted Nelson is one of the theoretical pioneers of the world wide web who is best known for inventing the concept of hypertext and hypermedia in the 1960s. As one of the early theorists on how a networked world would work.
How I know:
I goggle it.
Write the squares function which:
a) to accept an unspecified number of parameters (we assume integer values), and
b) be a generator function
squares should sequentially return (according to a generator function) the square of the difference of each value from the average of all values given to it as input.
In the main program call squares (in any correct way you like) to display the results it returns when given the triplet of values 3,4,5 as input parameters (see examples below). Also use the statistics library to calculate the average.
Execution example: If the triplet of values 3, 4, 5 are given as input parameters then squares will return 1, 0 and 1 consecutively because the average of 3, 4, 5 is 4 and the squares of the difference of each value from the average are 1, 0 and 1 respectively.
Another example: If given as input parameters the square of values 2, 7, 3, 12 then squares will successively return 16, 1, 9, and 36 because the mean is 6 and the squares of the difference of each value from the mean is 16, 1, 9, and 36 respectively.
WHAT TO WATCH OUT FOR
We assume that squares is always given integer values (at least one or more) as input, so you don't need to check for this.
The exercise clearly does not ask that the code be executed multiple times in an iteration loop. Any use of a repeat loop that completely repeats the execution of the program will be considered an error.
Here's the code for the squares function as a generator function:
python
import statistics
def squares(*args):
avg = statistics.mean(args)
for arg in args:
yield (arg - avg)**2
In the main program, we can call the squares function with the input parameters and iterate over the results using a for loop:
scss
values = (3, 4, 5)
for square in squares(*values):
print(square)
This will output:
1
0
1
Alternatively, we can call the squares function with a list of values:
scss
values = [2, 7, 3, 12]
for square in squares(*values):
print(square)
This will output:
16
1
9
36
In both cases, the squares function calculates the average of the input values using the statistics library and then yields the square of the difference between each value and the average using a generator function.
In which of the following situations must you stop for a school bus with flashing red lights?
None of the choices are correct.
on a highway that is divided into two separate roadways if you are on the SAME roadway as the school bus
you never have to stop for a school bus as long as you slow down and proceed with caution until you have completely passed it
on a highway that is divided into two separate roadways if you are on the OPPOSITE roadway as the school bus
The correct answer is:
on a highway that is divided into two separate roadways if you are on the OPPOSITE roadway as the school busWhat happens when a school bus is flashing red lightsWhen a school bus has its flashing red lights activated and the stop sign extended, it is indicating that students are either boarding or exiting the bus. In most jurisdictions, drivers are required to stop when they are on the opposite side of a divided highway from the school bus. This is to ensure the safety of the students crossing the road.
It is crucial to follow the specific laws and regulations of your local jurisdiction regarding school bus safety, as they may vary.
Learn more about school bus at
https://brainly.com/question/30615345
#SPJ1