Answer:
The primary difference between a blockchain and a database is centralization. While all records secured on a database are centralized, each participant on a blockchain has a secured copy of all records and all changes so each user can view the provenance of the data.
Explain the unique reason why assember language is perfered to high level language
The unique reason why assembler language is preferred to high level language is that It is said to be memory efficient and it is one that requires less memory.
Why is assembly language better than other kinds of high level?
It implies means that the programs that one uses to write via the use of high-level languages can be run easily on any processor that is known to be independent of its type.
Note that it is one that has a lot of better accuracy and an assembly language is one that carries out a lot of better functions than any high-level language, in all.
Note also that the advantages of assembly language over high-level language is in terms of its Performance and accuracy as it is better than high-level language.
Hence, The unique reason why assembler language is preferred to high level language is that It is said to be memory efficient and it is one that requires less memory.
Learn more about assembler language from
https://brainly.com/question/13171889
#SPJ1
Hundreds of endpoints were not updated with the latest OS and patches. Identify an administrative control to remediate outdated operating systems and patches.
Implementing a regular patch management policy, with a schedule for updating all endpoints and enforcing compliance through configuration management or other tools.
What is patch management policy?Patch management rules are a set of standards that guarantee patching is managed, efficient, and secure. These instructions outline the actions and procedures to be followed when fixing bugs and vulnerabilities. There are several sorts of patches, such as security patches, hotfixes, and service packs.
Patch management is the process of updating software, drivers, and firmware to prevent vulnerabilities. Effective patch management also ensures that systems run at peak performance, increasing productivity.
Learn more about Path Management:
https://brainly.com/question/29744046
#SPJ1
Write a converter program for temperatures. This program should prompt the user for a temperature in Celsius. It should then convert the temperature to Fahrenheit and display it to the screen. Finally, it should convert the Fahrenheit temperature to Kelvin and display that to the screen.
Answer:
c = float(input("Enter the temperature in Celsius: "))
f = c * 1.8 + 32
print("The temperature in Fahrenheit: " + str(f))
k = (f - 32) / 1.8 + 273.15
print("The temperature in Kelvin: " + str(k))
Explanation:
*The code is in Python.
Ask the user to enter the temperature in Celsius
Convert the Celsius to Fahrenheit using the conversion formula and print it
Convert the Fahrenheit to Kelvin using the conversion formula and print it
he ________ feature, located on the Ribbon, allow you to quickly search for commands or features.
Answer:
The Quick Access Toolbar feature, located on the Ribbon, allow you to quickly search for commands or features.
.
The Quick Access Toolbar feature, located on the Ribbon, allow you to quickly search for commands or features.
Where is the Quick Access toolbar?Shortcuts to frequently used features, options, actions, or option groups are gathered in the Quick Access Toolbar. In Office programs, the toolbar is typically buried beneath the ribbon, but you can opt to reveal it and move it to appear above the ribbon.
Note that a toolbar that may be customized and contains a set of actions that are not dependent on the tab that is now shown is called the Quick Access Toolbar (QAT). It can be found in one of two locations: left upper corner, over the ribbon (default location) under the ribbon in the upper-left corner.
Learn more about Quick Access Toolbar from
https://brainly.com/question/13523749
#SPJ1
Write a program that would determine the day number in a non-leap year. For example, in a non-leap year, the day number for Dec 31 is 365; for Jan 1 is 1, and for February 1 is 32. This program will ask the user to input day and month values. Then it will display the day number day number corresponding to the day and month values entered assuming a non-leap year. (See part II to this exercise below).
Answer:
In Python:
months = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]
daymonths = [31,28,31,30,31,30,31,31,30,31,30,31]
day = int(input("Day: "))
month = input("Month: ")
ind = months.index(month)
numday = 0
for i in range(ind):
numday+=daymonths[i]
numday+=day
print(numday)
Explanation:
This initializes the months to a list
months = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]
This initializes the corresponding days of each month to a list
daymonths = [31,28,31,30,31,30,31,31,30,31,30,31]
This gets the day from the user
day = int(input("Day: "))
This gets the month from the user
month = input("Month: ")
This gets the index of the month entered by the user
ind = months.index(month)
This initializes the sum of days to 0
numday = 0
This adds up the days of the months before the month entered by the user
for i in range(ind):
numday+=daymonths[i]
This adds the day number to the sum of the months
numday+=day
This prints the required number of days
print(numday)
Note that: Error checking is not done in this program
Identify the types of networks described.
A home network is a ______.
The network in a state is a _______.
The internet is a _______.
options for all three:
Wi-Fi Hotspot
Local Area Network (LAN)
Wide Area Network (WAN)
Answer:
wi-fi hotspot, local area network, wide area network
Explanation:
think about it. how are you on this site? you might be at home. you are using a wifi hotspot to connect to brainly. at home.
or maybe at school
the state network is LAN and even wider than that is the internet which is a WAN
the first part of your assignment is to complete the naive reconstruct function in hw3.py, which should take a string with no whitespace and return a reconstruction if possible, or none if not. your algorithm should run in o(nk), where k is the length of the longest word in the dictionary. this is provided as max word length. use the provided is valid function to check if a word is in the dictionary. this will ignore whitespace and leading / trailing punctuation.
Here is an example implementation in Python for the naive reconstruct function:
def naive_reconstruct(string, max_word_length, is_valid):
for i in range(1, len(string) + 1):
word = string[:i]
if is_valid(word):
if i == len(string):
return [word]
tail_reconstruction = naive_reconstruct(string[i:], max_word_length, is_valid)
if tail_reconstruction:
return [word] + tail_reconstruction
return None
The function starts by looping through the input string and checking if substrings of length 1 to len(string) are valid words using the is_valid function.
If a valid word is found, the function will recursively call itself on the remaining part of the string, and if a reconstruction is possible, it will return a list of words including the found word and the words from the recursive call. If no reconstruction is possible, it will return None.
The running time of the function is O(nk), where n is the length of the input string and k is the length of the longest word in the dictionary.To know more about naive reconstruct, click on the link below:
brainly.com/question/21507963
#SPJ4
in python
The program is the same as shown at the end of the Merge sort section, with the following changes:
Numbers are entered by a user in a separate helper function, read_nums(), instead of defining a specific list.
Output of the list has been moved to the function print_nums().
An output has been added to merge_sort(), showing the indices that will be passed to the recursive function calls.
Add code to the merge sort algorithm to count the number of comparisons performed.
Add code at the end of the program that outputs "comparisons: " followed by the number of comparisons performed (Ex: "comparisons: 12")
Hint: Use a global variable to count the comparisons.
Note: Take special care to look at the output of each test to better understand the merge sort algorithm.
Ex: When the input is:
3 2 1 5 9 8
the output is:
unsorted: 3 2 1 5 9 8
0 2 | 3 5
0 1 | 2 2
0 0 | 1 1
3 4 | 5 5
3 3 | 4 4
sorted: 1 2 3 5 8 9
comparisons: 8
main.py
# Read integers into a list and return the list.
def read_nums():
nums = input().split()
return [int(num) for num in nums]
# Output the content of a list, separated by spaces.
def print_nums(numbers):
for num in numbers:
print (num, end=' ')
print()
def merge(numbers, i, j, k):
merged_size = k - i + 1
merged_numbers = []
for l in range(merged_size):
merged_numbers.append(0)
merge_pos = 0
left_pos = i
right_pos = j + 1
while left_pos <= j and right_pos <= k:
if numbers[left_pos] < numbers[right_pos]:
merged_numbers[merge_pos] = numbers[left_pos]
left_pos = left_pos + 1
else:
merged_numbers[merge_pos] = numbers[right_pos]
right_pos = right_pos + 1
merge_pos = merge_pos + 1
while left_pos <= j:
merged_numbers[merge_pos] = numbers[left_pos]
left_pos = left_pos + 1
merge_pos = merge_pos + 1
while right_pos <= k:
merged_numbers[merge_pos] = numbers[right_pos]
right_pos = right_pos + 1
merge_pos = merge_pos + 1
merge_pos = 0
while merge_pos < merged_size:
numbers[i + merge_pos] = merged_numbers[merge_pos]
merge_pos = merge_pos + 1
def merge_sort(numbers, i, k):
j = 0
if i < k:
j = (i + k) // 2
# Trace output added to code in book
print(i, j, "|", j + 1, k)
merge_sort(numbers, i, j)
merge_sort(numbers, j + 1, k)
merge(numbers, i, j, k)
if __name__ == '__main__':
numbers = read_nums()
print ('unsorted:', end=' ')
print_nums(numbers)
print()
merge_sort(numbers, 0, len(numbers) - 1)
print ('\nsorted:', end=' ')
print_nums(numbers)
To add code to the merge sort algorithm to count the number of comparisons performed and at the end of the program that outputs "comparisons: " followed by the number of comparisons performed check the code given below.
What is sort algorithm?A sorting algorithm is a set of instructions that takes an input array, applies certain operations to the array (also known as a list), and outputs a sorted array.
Sorting algorithms are frequently covered early on in computer science courses because they offer a simple way to introduce other important concepts like Big-O notation, divide-and-conquer strategies, and data structures like binary trees and heaps.
When selecting a sorting algorithm, many factors need to be taken into account.
"""
Python version: 3.6
Python program to sort a list of numbers in ascending order using merge sort
"""
# add a global variable to count number of key comparisons in merge sort and initialize it to 0
comparisons = 0
def read_nums():
"""
Function that takes no inputs and returns a list of integers entered by the user
"""
# read a string of integers and split it into list of strings using default delimiter whitespace
nums = input().split()
# convert the list of strings to list of integers and return it
return [int(num) for num in nums]
def print_nums(numbers):
"""
Function that takes as input a list of numbers and display the
numbers on screen in one line separated by space ending with a newline
"""
for num in numbers:
print (num, end=' ')
print()
def merge(numbers, i, j, k):
"""
Function that takes as input a list of numbers and 3 integers
representing the start and ends of the sorted left[i, j] and sorted right[j+1, k] sublists
"""
global comparisons # use the global variable comparisons
# calculate the total size of the list after merging the sublists
merged_size = k - i + 1
# create a list of size merged_size and initialize all elements to 0
merged_numbers = []
for l in range(merged_size):
merged_numbers.append(0)
# set merge_pos to start index of merged_numbers, left_pos to start index of left sublist and right_pos to start index of right sublist
merge_pos = 0
left_pos = i
right_pos = j + 1
# loop until end of a sublist is reached
while left_pos <= j and right_pos <= k:
comparisons += 1 # increment comparisons by 1
# current element of left sublist is less than current element of right sublist
if numbers[left_pos] < numbers[right_pos]:
# insert current element of left sublist into merged_numbers and increment left_pos by 1
merged_numbers[merge_pos] = numbers[left_pos]
left_pos = left_pos + 1
else:
# else insert current element of right sublist into merged_numbers and increment right_pos by 1
merged_numbers[merge_pos] = numbers[right_pos]
right_pos = right_pos + 1
merge_pos = merge_pos + 1 # increment merge_pos by 1
# loop to copy the remaining elements of left sublist to merged_numbers
while left_pos <= j:
merged_numbers[merge_pos] = numbers[left_pos]
left_pos = left_pos + 1
merge_pos = merge_pos + 1
# loop to copy the remaining elements of right sublist to merged_numbers
while right_pos <= k:
merged_numbers[merge_pos] = numbers[right_pos]
right_pos = right_pos + 1
merge_pos = merge_pos + 1
# loop to copy the sorted list from merged_numbers to numbers in the range [i, k]
merge_pos = 0
while merge_pos < merged_size:
numbers[i + merge_pos] = merged_numbers[merge_pos]
merge_pos = merge_pos + 1
def merge_sort(numbers, i, k):
"""
Function that takes as input an unsorted list of numbers and start and end index
of the list to sort and sorts the list in ascending order using merge sort
"""
j = 0
# current list range contains at least 1 element
if i < k:
# get the index of middle element of the current range
j = (i + k) // 2
# output the range for the left and right sublists to sort
print(i, j, "|", j + 1, k)
# recursively sort the numbers in the range [i,j] and [j+1, k]
merge_sort(numbers, i, j)
merge_sort(numbers, j + 1, k)
# merge the sorted lists [i,j] and [j+1,k] to get the sorted list in the range [i,k]
merge(numbers, i, j, k)
if __name__ == '__main__':
# get the list of numbers entered by the user
numbers = read_nums()
# display the unsorted list
print ('unsorted:', end=' ')
print_nums(numbers)
print()
# sort the list in ascending order using merge sort passing the numbers list and 0 and 1 less than size of list as i and k
merge_sort(numbers, 0, len(numbers) - 1)
# display the sorted list
print ('\nsorted:', end=' ')
print_nums(numbers)
# display the number of comparisons using the global variable
print("comparisons:",comparisons)
# end of program
Learn more about sorting algorithm
https://brainly.com/question/14698104
#SPJ4
Information systems include all of these
A) People, Software
B) Hardware, Information
C) Data, Procedures
D) All of the above
Answer:
D
Explanation:
because you need people to access software through hardware and data through information and procedures.
Cryptography is an example of which part of the CIA triad?
Availability
Confidentiality
Integrity
Truthfulness
Cryptography is an example of ensuring Confidentiality in the CIA triad. (Option B)
How is this so?Cryptography is an essentialcomponent of ensuring Confidentiality within the CIA triad.
It involves the use of encryption techniques to protect sensitive information from unauthorized access.
By converting data into an unreadable format, cryptography ensures that only authorized individuals with the necessary decryption keys can access and understand the information,preserving its confidentiality and preventing unauthorized disclosure.
Learn more about Cryptography at:
https://brainly.com/question/88001
#SPJ1
1) It is possible to email a document
directly from the Word application.
O FALSE
O TRUE
Answer:
True
Explanation:
Write a program that accepts any number of homework scores ranging in value from 0 through
10. Prompt the user for a new score if they enter a value outside of the specified range. Prompt
the user for a new value if they enter an alphabetic character. Store the values in an array.
Calculate the average excluding the lowest and highest scores. Display the average as well as the
highest and lowest scores that were discarded.
Answer:
This program is written in Java programming language.
It uses an array to store scores of each test.
And it also validates user input to allow only integers 0 to 10,
Because the program says the average should be calculated by excluding the highest and lowest scores, the average is calculated as follows;
Average = (Sum of all scores - highest - lowest)/(Total number of tests - 2).
The program is as follows (Take note of the comments; they serve as explanation)
import java.util.*;
public class CalcAvg
{
public static void main(String [] args)
{
Scanner inputt = new Scanner(System.in);
// Declare number of test as integer
int numTest;
numTest = 0;
boolean check;
do
{
try
{
Scanner input = new Scanner(System.in);
System.out.print("Enter number of test (1 - 10): ");
numTest = input.nextInt();
check = false;
if(numTest>10 || numTest<0)
check = true;
}
catch(Exception e)
{
check = true;
}
}
while(check);
int [] tests = new int[numTest];
//Accept Input
for(int i =0;i<numTest;i++)
{
System.out.print("Enter Test Score "+(i+1)+": ");
tests[i] = inputt.nextInt();
}
//Determine highest
int max = tests[0];
for (int i = 1; i < numTest; i++)
{
if (tests[i] > max)
{
max = tests[i];
}
}
//Determine Lowest
int least = tests[0];
for (int i = 1; i < numTest; i++)
{
if (tests[i] < least)
{
least = tests[i];
}
}
int sum = 0;
//Calculate total
for(int i =0; i< numTest;i++)
{
sum += tests[i];
}
//Subtract highest and least values
sum = sum - least - max;
//Calculate average
double average = sum / (numTest - 2);
//Print Average
System.out.println("Average = "+average);
//Print Highest
System.out.println("Highest = "+max);
//Print Lowest
System.out.print("Lowest = "+least);
}
}
//End of Program
I know nothing abt computers
Answer:
The answer to this question should be all A.) it is a set of step-by-step instructions, B.) It's called code, and C.) it tells the computer what to do.
Nicole is in a study group to prepare for a test on plant biology, a subject she knows a lot about. During their meetings, she always comes prepared, helps other students, does most of the talking, and handles all of the tasks. What does Nicole need to do to make the study group more effective?
Answer:
B
Explanation:
She did all of the work so the other students wherent able to do anything
The thing that Nicole needs to do to improve the study group is to involve others and give them tasks.
What is a Study Group?This refers to the collection of persons that forms a group with the aim of learning and revising together.
Hence, we can see that because Nicole does most of the tasks in the study group for the test on plant biology, she would have to involve the other students so they would handle some of the work.
Read more about study groups here:
https://brainly.com/question/23779014
#SPj2
Make a program that, given a square matrix, identify the largest number and what position it has, indicate how many even and odd numbers it has. With functions in pseint.
A program that, given a square matrix, identifies the largest number and what position it has, and indicates how many even and odd numbers it has, is given below:
The Program in C++// C++ implementation to arrange
// odd and even numbers
#include <bits/stdc++.h>
using namespace std;
// function to arrange odd and even numbers
void arrangeOddAndEven(int arr[], int n)
{
int oddInd = 1;
int evenInd = 0;
while (true)
{
while (evenInd < n && arr[evenInd] % 2 == 0)
evenInd += 2;
while (oddInd < n && arr[oddInd] % 2 == 1)
oddInd += 2;
if (evenInd < n && oddInd < n)
swap (arr[evenInd], arr[oddInd]);
else
break;
}
}
// function to print the array
void printArray(int arr[], int n)
{
for (int i = 0; i < n; i++)
cout << arr[i] << " ";
}
// Driver program to test above
int main()
{
int arr[] = { 3, 6, 12, 1, 5, 8 };
int n = sizeof(arr) / sizeof(arr[0]);
cout << "Original Array: ";
printArray(arr, n);
arrangeOddAndEven(arr, n);
cout << "\nModified Array: ";
printArray(arr, n);
return 0;
}
OutputOriginal Array: 3 6 12 1 5 8
Modified Array: 6 3 12 1 8 5
Read more about programming here:
https://brainly.com/question/23275071
#SPJ1
____allow(s) visually impaired users to access magnified content on the screen in relation to other parts of the screen.
Head pointers
Screen magnifiers
Tracking devices
Zoom features
Answer: screen magnifiers
Explanation: got it right on edgen
. Write a program to calculate the square of 20 by using a loop
that adds 20 to the accumulator 20 times.
The program to calculate the square of 20 by using a loop
that adds 20 to the accumulator 20 times is given:
The Programaccumulator = 0
for _ in range(20):
accumulator += 20
square_of_20 = accumulator
print(square_of_20)
Algorithm:
Initialize an accumulator variable to 0.
Start a loop that iterates 20 times.
Inside the loop, add 20 to the accumulator.
After the loop, the accumulator will hold the square of 20.
Output the value of the accumulator (square of 20).
Read more about algorithm here:
https://brainly.com/question/29674035
#SPJ1
If your supervisor asks you to switch to a different word-processing software going forward, what soft skill is he hoping for?
A punctuality
B. honesty
c. flexibility
D. sociability
The soft skills developed in an employee with his supervisor allowing him to work on different software is flexibility. Thus, option C is correct.
What are soft skills?Soft skills are given as the skills of an employee that helps the growth as well as the navigation to the success and achieving goals.
The development of skills that mediates the employee to work with the availability of the new projects and the helps in the growth with learning new techniques is given as flexibility. Thus, option C is correct.
Learn more about Soft skills, here:
https://brainly.com/question/14500704
#SPJ1
Any help , and thank you all
Answer:
There are 28 chocolate-covered peanuts in 1 ounce (oz). Jay bought a 62 oz. jar of chocolate-covered peanuts.
Problem:
audio
How many chocolate-covered peanuts were there in the jar that Jay bought?
Enter your answer in the box.
Explanation:
Identify the correct characteristics of Python lists. Check all that apply. Python lists are enclosed in curly braces { }. Python lists contain items separated by commas. Python lists are versatile Python data types. Python lists may use single quotes, double quotes, or no quotes.
Answer:
Python lists contain items separated by commas.
Python lists are versatile Python data types.
Python lists may uses single quotes, double quotes, or no quotes.
Explanation:
Python Lists are enclosed in regular brackets [ ], not curly brackets { }, so this is not a correct characteristic.
Answer:
a c d
Explanation:
What when can you expect technology to be effective?
Answer:
we dont have to expect , the technology are effective , as each day the technology are being advance and developed day by day. each day the technology are being more and more effective. they are effective now and they will be effective in future too
One can expect technology to be effective when its selection and implementation of that technology is said to meet the need that it was created for.
What is the effectiveness of any technology?Technology is often used to change the learning experience of people. Students now have means to greater amount of new opportunities through the use of it.
Conclusively, technology helps students to be a little more creative and to be connected to others and technology is effective when its selection and implementation of that technology is said to meet the need that it was made for.
Learn more about technology from
https://brainly.com/question/25110079
The measure of a game mechanic is simply how effective it is at drawing a player into your game or creating player immersion.
Question 6 options:
True
False
The statement "The measure of a game mechanic is simply how effective it is at drawing a player into your game or creating player immersion" is true.
What are the game mechanics?The guidelines that control a video game's gameplay are known as play mechanics. The game's artificial intelligence (AI) and the activities that users can take within the game's environment are both controlled by the game's play mechanics.
Being able to move a variable amount of space based on a probability distribution produced by a pair of dice is an illustration of a mechanic frequently employed in board games.
Therefore, the statement is true.
To learn more about game mechanics, refer to the link:
https://brainly.com/question/29739190
#SPJ1
For this assignment, you will code one song in EarSketch, each incorporating the following Python commands:
You must use some form of randomization in your songs, using the randint() function.
You must use a conditional statement in your songs, using an if, else, elif statement.
You must use both of the EarSketch functions fitMedia() and setEffect() for an effect in your script (such as a fade or distortion).
You must use string operations (concatenation or splicing) to create your own beat, using the EarSketch function makeBeat().
You must use for loops to add repetition to your code
Each song must be at least 16 measures long.
Each song should have at least three tracks.
Each song should include different elements unique to a music genre (different beats, instruments, or sound clips that would allow a listener to tell songs apart from one another).
Answer:
edit your question and send a screenshot of the question
Explanation:
Admission to attend a show are as follows:
Adults: $20
Children:$15
Write a program that reads the number of children attending the show, as well as the number of adults. Calculate and print the total revenue made.(Pascal)
Answer:
#include <bits/stdc++. h>
using namespace std;
int main(){
int AdultPrice = 20;
int ChildrenPrice = 15;
int numChildren, numAdults;
cin >>numChildren >> numAdults;
int revChildren = numChildren*ChildrenPrice;
int revAdult = numAdults*AdultPrice;
cout << revChildren+revAdult << endl;
return 0;
}
What type of 3-phase connection requires only two transformers?
The use of two single-phase transformers to step down a high 3-phase voltage to a lower 3-phase voltage is possible using a rudimentary configuration dubbed an "open delta."
What is a single-phase transformer?For industrial applications, three phase transformers perform significantly better. Most heating, air conditioning, lighting, and house applications employ single phase systems in residential settings. When compared to low-power industrial systems and machines, they are less productive. A specific type of transformer called a single phase transformer functions using only one phase of power. This device carries electrical power from one circuit to another by the mechanism of electromagnetic induction. It is a passive electrical device. A transformer cannot change single-phase electricity into three-phase power, even if single-phase power can be produced from a three-phase power source. Phase converters or variable frequency drives are needed to convert single-phase electricity to three-phase power.To learn more about single phase transformers, refer to:
https://brainly.com/question/29665451
One positive thing about using adjustment layers is that they are ___________ because they are above the layers they affect. When designers use a mask to edit an image nondestructively, painting with black ________ areas, not ________ them.
One positive thing about using adjustment layers is that they are nondestructive. When designers use a mask to edit an image nondestructively, painting with black hide areas, not erase them.
What are the purposes of adjustment layers?A collection of incredibly helpful, non-destructive form of image editing tools called adjustment layers in Photoshop allow you to make color and tonal tweaks to your image without permanently altering its pixels.
You can alter and remove your edits or go back to your original image at any time using adjustment layers.
Since you may apply nondestructive modifications to the colors and tones in your image and continuing editing the adjustment layers without permanently altering the pixels in the image, adjustment layers provide you more control and flexibility over image edits than direct adjustments.
Therefore, one can say that One positive thing about using adjustment layers is that they are: nondestructive.
Learn more about Photoshop from
https://brainly.com/question/16859761
#SPJ1
Joseline is trying out a new piece of photography equipment that she recently purchased that helps to steady a camera with one single leg instead of three. What type of equipment is Joseline trying out?
A. multi-pod
B. tripod
C. semi-pod
D. monopod
Joseline trying out tripod .A camera-supporting three-legged stand is known as a tripod. For stability, cameras are fixed on tripods, sometimes known as "sticks." In tripods, the fluid head is used. The camera may now tilt up and down in addition to pan left and right.
What tools are employed in photography?You will need a camera with manual settings and the ability to change lenses, a tripod, a camera case, and a good SD card if you're a newbie photographer who wants to control the visual impacts of photography. The affordable photography gear listed below will help you get started in 2021.A monopod, which is a one-legged camera support system for precise and stable shooting, is also known as a unipod.A camera-supporting three-legged stand is known as a tripod. For stability, cameras are fixed on tripods, sometimes known as "sticks." In tripods, the fluid head is used. The camera may now tilt up and down in addition to pan left and right.To learn more about tripod refer to:
https://brainly.com/question/27526669
#SPJ1
Answer:
monopod
Explanation:
3) Write a Java application that asks the user to enter the scores in 3 different tests (test1, test2, test3) for 5 students into a 2D array of doubles. The program should calculate the average score in the 3 tests for each student, as well as the average of all students for test1, test2 and test3.
Answer:
import java.util.Scanner;
public class TestScores {
public static void main(String[] args) {
// create a 2D array of doubles to hold the test scores
double[][] scores = new double[5][3];
// use a Scanner to get input from the user
Scanner input = new Scanner(System.in);
// loop through each student and each test to get the scores
for (int i = 0; i < 5; i++) {
for (int j = 0; j < 3; j++) {
System.out.print("Enter score for student " + (i+1) + " on test " + (j+1) + ": ");
scores[i][j] = input.nextDouble();
}
}
// calculate the average score for each student and print it out
for (int i = 0; i < 5; i++) {
double totalScore = 0;
for (int j = 0; j < 3; j++) {
totalScore += scores[i][j];
}
double averageScore = totalScore / 3;
System.out.println("Average score for student " + (i+1) + ": " + averageScore);
}
// calculate the average score for each test and print it out
for (int j = 0; j < 3; j++) {
double totalScore = 0;
for (int i = 0; i < 5; i++) {
totalScore += scores[i][j];
}
double averageScore = totalScore / 5;
System.out.println("Average score for test " + (j+1) + ": " + averageScore);
}
}
}
Explanation:
Here's how the program works:
It creates a 2D array of doubles with 5 rows (one for each student) and 3 columns (one for each test).
It uses a Scanner to get input from the user for each test score for each student. It prompts the user with the student number and test number for each score.
It loops through each student and calculates the average score for each student by adding up all the test scores for that student and dividing by 3 (the number of tests).
It prints out the average score for each student.
It loops through each test and calculates the average score for each test by adding up all the test scores for that test and dividing by 5 (the number of students).
It prints out the average score for each test.
Note that this program assumes that the user will input valid numbers for the test scores. If the user inputs non-numeric data or numbers outside the expected range, the program will throw an exception. To handle this, you could add input validation code to ensure that the user inputs valid data.
Bunco is a dice throwing game that requires no decisions to be made or skill on the part of the player just luck. In the simplest form of the game there are six rounds, progressing in order from one to six, where the number of the round serves as the target for that round's rolls. Within a round, players alternate turns rolling three dice aiming to obtain the target number. Players gain one point for each die matching the target. If the player gets three-of-a-kind of the target number (a Bunco), they get 21 points. Write a program to simulate two players playing a round of Bunco showing the dice throws and scores during the games as well as the final scores and the player with the highest score. Also indicate which winner won the most rounds
John decreased the voltage of his electromagnet battery from 1. 5 v to 1. 0 v while keeping the number of coils unchanged. What happens to the strength of the electromagnet?.
When the voltage of an electromagnet battery is decreased, the strength of the electromagnet also decreases which leads to the decrease in current flow.
This is because the strength of an electromagnet depends on the current flowing through the coils, which in turn depends on the voltage applied to the battery.
In the given scenario, John decreased the voltage of his electromagnet battery from 1.5V to 1.0V while keeping the number of coils unchanged.
Therefore, the strength of the electromagnet will decrease as the voltage applied to the battery has been reduced, resulting in a decrease in the current flowing through the coils.
For such more question on electromagnet:
https://brainly.com/question/30169285
#SPJ11