Answer:
In sequential composition, different program components execute in sequence on all processors. In parallel composition, different program components execute concurrently on different processors. In concurrent composition, different program components execute concurrently on the same processors.
The differences is that in sequential, a lot of program parts exist that help execute in stages on all given processors. While in parallel a lot of program parts execute concurrently on more than one processors.
What is the difference between parallel and sequential?Parallel computing is one where a given processes that is running do not wait for the former process to be done before it runs.
While Sequential is one where the process are said to be executed only by doing one at a time.
Therefore, the differences is that in sequential, a lot of program parts exist that help execute in stages on all given processors. While in parallel a lot of program parts execute concurrently on more than one processors.
Learn more about processors from
https://brainly.com/question/614196
Which of these is not a valid form
layout in Microsoft Access?
What year did the first hovercraft sail on water
Sum of Primes JAVA project
read 2 strings from the command line; each string will contain an integer. let's call those integers, num1 and num2. write a loop that goes from num1 and num2 looking for prime numbers. if a number if prime then store it in an array of integers, pass this array to a method that returns the sum of all the numbers in the array; you will also need to tell this method how many numbers are in the array. output only the sum of primes. you may assume a maximum of not more than 1000 numbers in the array.
*CODE*
import java.util.*;
class SumPrimes {
// go thru the array primes which has size elements
// total the integer values in primes
// return this total
// the first argument is the array of prime numbers
// the second argument is the number of primes in this array
public static int sumArray(first argument, second argument) {
}
// this method takes an integer, n, and determines if it is prime
// returns true if it is and false if it isn't
// a number is prime if it is only evenly divisible by 1 and itself
// 1 is NOT considered prime
static boolean isPrime(int n) {
// Corner case
if (n <= 1)
return false;
// Check from 2 to n-1
for (int i = 2; i < n; i++)
if (n % i == 0)
return false;
return true;
}
public static void main(String[] args) {
// define the constant MAX which represents the largest size of the primes array
int num1, num2, numPrime = 0;
// declare an array of the proper data type and size
// convert 1st command line argument from a string to an integer
num1 = Integer.parseInt(args[0]);
// get num2 from the command line
// loop through all integers from num1 to num2
// store those that are prime in the primes array
// keep track of the number of primes - numPrime
// output the sum of all the primes
System.out.println(sumArray(primes, numPrime));
}
}
Answer:
Explanation:
The following code is written in Java and creates the necessary code so that two int inputs are read and looped through all the numbers between them to find all the primes. These primes are counted and summed. Finally, printing out the sum and the number of primes found to the console.
import java.util.ArrayList;
import java.util.Scanner;
class SumPrimes{
public static void main(final String[] args) {
Scanner in = new Scanner(System.in);
ArrayList<Integer> primes = new ArrayList<>();
int num1, num2, numPrime = 0;
System.out.println("Enter number 1:");
num1 = in.nextInt();
System.out.println("Enter number 2:");
num2 = in.nextInt();
for (int x = num1; x <= num2; x++) {
if (isPrime(x) == true) {
primes.add(x);
numPrime += 1;
}
}
System.out.println("There are " + numPrime + " primes in the array.");
System.out.println("Their sum is " + sumArray(primes));
}
public static int sumArray(ArrayList<Integer> arr) {
int sum = 0;
for (int x: arr) {
sum += x;
}
return sum;
}
static boolean isPrime(int n) {
if (n <= 1)
return false;
for (int i = 2; i < n; i++)
if (n % i == 0)
return false;
return true;
}
}
Python’s pow function returns the result of raising a number to a given power. Define a function expo that performs this task, and state its computational complexity using big-O notation. The first argument of this function is the number, and the second argument is the exponent (nonnegative numbers only). You may use either a loop or a recursive function in your implementation.
Answer:
The function is as follows:
def expo(num,n):
prod= 1
for i in range(n):
prod*=num
return prod
The big-O notation is: O(n)
Explanation:
This defines the function
def expo(num,n):
This initialzes the product to 1
prod= 1
This iteration is perfomed n times
for i in range(n):
The number is multiplied by itself n times
prod*=num
This returns the calculated power
return prod
To calculate the complexity.
The loop is repeated n times.
Each operation has a complexity O(1).
So, in for n number of operations; the complexity is: O(n * 1)
This gives: O(n)
The different between Del key and BKSE key
Answer and Explanation:
I believe you are referring to Backspace and Del keys, which are the keys of a computer keyboard. In this case, the difference between them is quite simple and easy to understand. These two keys are used to delete characters, however, the Backspace key is capable of deleting characters that are to the left of the cursor (the dash that appears blinking when you are typing). Del Key, in turn, is able to delete the characters to the right of the cursor.
What steps can be used to open the Custom AutoFilter dialog box? Select any cell in the data range.
Click the _____ tab.
In the ______ group, click Filter.
Next to a column heading, click the AutoFilter drop-down arrow.
Click ______ and click Custom Filter. The Custom AutoFilter dialog box appears for creating custom filers.
Answer:
Data
Sort and Filter
Text Filters
Explanation:
Proof that this answer is correct in the file attached.
A step which can be used to open the Custom AutoFilter dialog box is to click on the data tab.
What is data?Data simply refers to a representation of factual instructions (information) in a formalized manner, especially as a series of binary digits (bits) that are used on computer systems.
The step which can be used to open the Custom AutoFilter dialog box on Microsoft Excel include the following:
Click on the data tab.In the Sort & Filter group, click Filter.Next to a column heading, click the AutoFilter drop-down arrow.Click Text Filters and click Custom Filter.Then, the Custom AutoFilter dialog box would appear for creating custom filers.Read more on Excel spreadsheets here: https://brainly.com/question/4965119
#SPJ2
What happens during focus group testing?
Individuals who are not involved in the development process test the game.
Before the game is designed, experienced gamers tell the designers what they would like to see.
Company leadership looks closely at the game to see if it meets their standards.
Members of the team that designed the game test the game for quality.
Answer:
Individuals who are not involved in the development process test the game.
Explanation:
Focus groups are made up of people with no knowledge about the game being developed. This allows for an unbiased review of the game to take place and see how a typical player will behave and feel about a game.
Answer:
Individuals who are not involved in the development process test the game.
Use the drop-down menus to describe how to create a form with the Form button. 1. In the pane, select the table from which to create the form. 2. Click the tab. 3. In the group, click Form. 4. Microsoft Access will then create a form using .
Answer:
1. navigation 2.create 3.forms 4.all the columns in the table
Explanation:
1. In the pane, select the table from which to create the form - navigation 2.Click the tab -create
3.In the group, click Form - forms
4.Microsoft Access will then create a form using - all the columns in the table.
What is Form button?It defines as a button for submitting the form data to a form-handler. input data.
Thus, the drop down menus are selected s to describe how to create a form with the Form button.
Learn more about Form button.
https://brainly.com/question/14630092
#SPJ2
Question 5 a. critically explain why you would consider arrays over normal data types [5 marks] b. from you explanation in “a” above, write and initialize an array called BongoBar of type string and having 4 element. [5 marks] c. embed your array in “b” above in a full c++ program. [5 marks] d. critically explain what will happen if an amateur programmer called BongoBar[5] in the main function in you program in “c” above.
Can you explain the question better?
As a casting director arranging for an audition, what sequence of events would you follow?
Give copies of the script to
the actors to rehearse.
Ask the actors to complete the form with their contact details.
Conduct the final audition.
Advertise the audition.
Answer:
1. Advertise the audition.
The first step after breaking down the script is to advertise the audition so that interested actors and agents can send in resumes that can be picked from.
2. Ask the actors to complete the form with their contact details.
Actors should complete a form that would give you their contact details. This is how you will reach out to the characters you are interested in for auditions.
3. Give copies of the script to the actors to rehearse.
You should give copies of the script to actors that you feel will match the roles in the production after you contact them.
4. Conduct the final audition
There will be first auditions invloving various actors and there will be comebacks to ensure that the the characters can fit into the role. Finally there will be a final interview after which a character will be chosen.
What are Render Modes? How different render modes can be used in different contexts?
Answer:
Rendering is the process that allows obtaining digital images taken from the three-dimensional model, through dedicated software. These images are intended to photorealistically simulate environments, materials, lights, objects in a project and a 3D model. In Computer Graphics Imagery , this process is developed in order to imitate a 3D space formed by polygonal structures, light behavior, textures, materials (water, wood, metal, plastic, cloth, etc.) and animation, simulating environments and credible physical structures. One of the most important parts of the programs dedicated to Computer Graphics Imagery are the rendering engines, which are capable of performing complex techniques or algorithms such as radiosity, raytrace (ray tracer), alpha channel, reflection, refraction or global illumination.
Explanation:
Rendering is a complex calculation process developed by a computer equipment designed to generate a 2D image from a 3D scene. Real-time rendering is preferably used in games and interactive graphics, it is made up of images or animations rendered at a speed that makes the fact that the computer takes time to calculate them imperceptible to the end user, therefore there will be graphic hardware dedicated to ensure rapid image processing. Offline rendering is used in those cases in which a very high speed of use of the images created is not so important, as it happens in animation works or those whose complexity and level of photorealism are much higher. Another of the applications of 3D rendering is in the world of graphic design, since it gives the designer an almost unlimited range of perspectives on the object he is designing. In addition to this, it allows a complete redesign from an initial image. Thus, designers have a tool that allows them to unleash their imagination.
Hide Time Remaining A
Suppose that the following statement is included in a program. import static
java.lang. Math.*; After this statement, a static method of the class Math can be called
using just the method name.
A. True
B. False
Answer:
True
Explanation:
The class Math include mathematical functions such as sin(), cos(), tan(), abs(), etc
If the given statement is not written, each of the math function will be written as (take for instance, the sin() function):
Math.sin()
But after the statement has been written (it implies that the Math library has been imported into the program) and as such each of the mathematical function can be used directly.
So instead of Math.sin(), you write sin()
What does the following Boolean operators do?
AND function
OR function
NOT function
what are bananas if they are brown
if banans are Brown there bad I think
Write a program in which will use some of the built-in METHODS as it relates to the use of Strings. 1) The program will ask the user the following prompts: Please enter your first name and their last name, separated by a space. This program will then read-in the user's response using Scanner. You must separate the string input entered by the user into two strings via substrings. Substring one will store the first name and Substring two will store the last name respectively. ***hint this can be accomplish using the indexOf() to find the position of the space. Your program must display/output the number of characters in each name, as well as the user's initials that was entered. You must check and trim all extra white spaces before and after the string entered by the user. Incorporate and loop to have this program ask this user if they would like to execute the program again by prompting and requesting a Y for Yes and a N for No. This prompt should ignore upper or lower case entries. The initials are the first letter of the first name together with the first letter of the last name. Hello their Louis I have your first name as Louis, which has 5 characters Hello again Louis I have your last name as Henry, which has 5 characters Did you know that your initials are LH Do you wish to continue (Y)Yes or (N)No
Answer:
The program in Java is as follows:
import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
char cont = 'Y';
while(cont == 'Y'){
System.out.print("Name: ");
String name =input.nextLine();
String names [] = name.split(" ");
names[0] = names[0].replaceAll("\\s", "");
names[1] = names[1].replaceAll("\\s", "");
System.out.println("Hello their "+names[0]+", I have your first name as "+names[0]+", which has "+names[0].length()+" characters ");
System.out.println("Hello again "+names[0]+", I have your last name as "+names[1]+", which has "+names[1].length()+" characters ");
System.out.println("Did you know that your initials are "+names[0].charAt(0)+names[1].charAt(0));
System.out.print("Continue (Y)Yes or (N)No: ");
cont = Character.toUpperCase(input.next().charAt(0));
input.nextLine();} }}
Explanation:
This initializes a character variable cont to Y
char cont = 'Y';
This is repeated as long as cont is Y
while(cont == 'Y'){
This prompts the user for name
System.out.print("Name: ");
This gets the name from the user
String name =input.nextLine();
This splits the name into the array of two elements (first name and last name)
String names [] = name.split(" ");
This remove all whitespace from the first name
names[0] = names[0].replaceAll("\\s", "");
This remove all whitespace from the last name
names[1] = names[1].replaceAll("\\s", "");
This prints the details of the first name
System.out.println("Hello their "+names[0]+", I have your first name as "+names[0]+", which has "+names[0].length()+" characters ");
This prints the details of the last name
System.out.println("Hello again "+names[0]+", I have your last name as "+names[1]+", which has "+names[1].length()+" characters ");
This prints the initials
System.out.println("Did you know that your initials are "+names[0].charAt(0)+names[1].charAt(0));
This prompts the user to continue or not
System.out.print("Continue (Y)Yes or (N)No: ");
This gets the user response
cont = Character.toUpperCase(input.next().charAt(0));
input.nextLine();} }
A(n) engineer develops Al-based machines and
programs.
a. cognitive
b. virtual
c. intelligence
d. systems
Answer:
Explanation:
Option C is the correct answer
Match the different aspects of digital media with the basic job(s) it addresses.
1.
costs associated with running an operation
business
2. managers, technical experts, facilities
software
3. research, cultural knowledge, ability to forecast trends
financial
4. designers, web developers, graphic artists
creative
5.
technical expertise, manufacturing, research and
development
hardware
Answer:
The different aspects of digital media with the basic job(s) it addresses include:
1.
costs associated with running an operation
business
2. managers, technical experts, facilities
financial
3. research, cultural knowledge, ability to forecast trends
software
4. designers, web developers, graphic artists
creative
5.
technical expertise, manufacturing, research and
development
hardware
Explanation:
1. You will need to add data to the tables in your design that matches the data in the supplied Excel documents. If your database design doesn't accommodate a given piece of data you must modify your design and implementation to ensure that all data provided in the spreadsheet can be added. a. You may any other data you wish and as your design requires. If your design is such that the needed data is not supplied in the spreadsheet you will need to simply "mock" up some sample data and add it into your database. b. Important: Your instructor cannot provide you with specific information how to complete this step. Each person's database design will be different and therefore, how data must be entered will be different from person to person.
Answer:
is all about knowing what to do with the data
Explanation:
determine what to do with your data
Create a Card class that represents a playing card. It should have an int instance variable named rank and a char variable named suit. Give it a constructor with two parameters for initializing the two instance variables and give it a getSuit() method and a getRank() method that return the values of the two instance variables. Then create a CardTester class with a main method that creates five Cards that make up a full house (that is, three of the cards have the same rank and the other two cards have the same rank) and prints out the ranks and suits of the five Cards using the getSuit() and getRank) methods
Answer:
Explanation:
The following code is written in Java. It creates the Card class and then uses it to create a full house and print out the rank and suit of every card in that hand.
class Card {
int rank;
char suit;
public Card(int rank, char suit) {
this.rank = rank;
this.suit = suit;
}
public int getRank() {
return rank;
}
public char getSuit() {
return suit;
}
}
class CardTester {
public static void main(String[] args) {
Card card1 = new Card(3, '♥');
Card card2 = new Card(3, '♠');
Card card3 = new Card(3, '♦');
Card card4 = new Card(2, '♦');
Card card5 = new Card(2, '♣');
System.out.println("Card 1: " + card1.getRank() + " of " + card1.getSuit());
System.out.println("Card 2: " + card2.getRank() + " of " + card2.getSuit());
System.out.println("Card 3: " + card3.getRank() + " of " + card3.getSuit());
System.out.println("Card 4: " + card4.getRank() + " of " + card4.getSuit());
System.out.println("Card 5: " + card5.getRank() + " of " + card5.getSuit());
}
}
a. All methods in an interface must be _________________ _________________________.
b. All variables in an interface must be __________________ ____________________ _______________.
c. Interfaces cannot be _______________________________________ .
d. Interfaces cannot contain _________________________________ methods.
e. Interfaces are considered to be ___________________ _______________________ classes.
Answer:
Explanation:
a. All methods in an interface must be abstract methods.
b. All variables in an interface must be public, static, and final.
c. Interfaces cannot be instantiated. (meaning that they do not have a constructor and cannot be created as a regular object.)
d. Interfaces cannot contain fields, properties, or defined methods. (Everything needs to be abstract)
e. Interfaces are considered to be reference implementation classes
Since no answer options were provided, these keywords all fit the into the sentence and make the sentence true.
Describe two different examples of potential conflicts, and explain why these conflicts can have a negative impact on
the project If they are not resolved.
Answer:
A conflict is a situation in which two or more parties with opposing interests collide in their positions when trying to obtain a benefit or satisfy their needs. Thus, for example, if two people want to obtain the same thing, there will be a conflict of interest between those people, since only one of them will be able to satisfy their need.
Thus, two examples of conflict are, on the one hand, the clash of interests over a particular thing (two people want the same thing or position); and on the other, the conflict between two people with different and antagonistic personalities (an extroverted and noisy person against another introverted and reserved).
In all cases, a conflict between two people who are working on the same project could lead to a series of negativities that could affect its outcome.
name 3 supercomputers along with their cost, purpose and the country it is located.
Answer:
The three super computers are
a) Fujitsu Fugak
b) IBM Summit/IBM/Nvidia/Mellanox
c) Sunway TaihuLigh
Explanation:
Three super computers are as follows
a) Fujitsu Fugak - It is located in Kobe, Japan and its costs is ¥130 billion
b) IBM Summit/IBM/Nvidia/Mellanox - It is located in Oak Ridge, U.S. and it costs $325 million
c) Sunway TaihuLigh- It is located in Wuxi, China and it costs US$273 million
what is astronaut favourite key on keyboard?
The astronaut favorite key on keyboard is Space-Bar.
What is space bar?This is known to be a long key that is seen at the lower part of a computer keyboard or typewriter used to type space.
Conclusively, to Space Key is known to be the Astronaut's Favorite Key on the Keyboard due to the fact that an Astronaut often travel to Space and work on satellites and as such they loves the space bar, more as it tells more about the Outer Space.
Learn more about astronaut from
https://brainly.com/question/24496270
briefly explain intellegence?
Answer:
Intelligence is the ability to think, to learn from experience, to solve problems, and to adapt to new situations. ... Psychologists believe that there is a construct, known as general intelligence , that accounts for the overall differences in intelligence among people.
Answer:
The ability to be knowledgeable and successful in skills as well as school subjects.
Explanation:
You can insert video by clicking video drop-down menu on the ______ tab.
i. HOME ii. DESIGN iii. INSERT
choose the correct answersplease tell me the answer right now
match the parts of a project plan listed in Column A to the specific examples given in Column B.Write the letter of your answer to the space provided before each number
Answer:
The name of the project is C: Reversible Playmat The objectives are given in B The Sketch is given as D The Materials needed is listed in A The procedure is FEvaluation is E
Explanation:
You would find that the other matches are relatively easy save for B and F. The difference between the procedure is that the procedure is more detailed about what needs to be done.
Notice that F states exactly, the dimensions that need to be cut while B albeit wordier, gives a description of the end result only.
Cheers.
what is this car first to awnser is the brianliest
Answer: Lamborghini
Explanation: Is it yours
what are the key differences between ides and website builders ?
Answer:
The key differences are as follows:
IDES:
Are usually installed locallyBuild websites by writing and tweaking the source codesWebsite Builders:
Are usually run from an online serverprovides beginners with an easy way to create websitesBuild websites by selection from a number of preset optionsExplanation:
IDE is short for Integrated Development Environment.
They are predominantly designed to ease the use of a specific programming language. In most cases, IDEs contain tools for editing, testing, and converting the code to its final form as an application.
Other functions that come with it are a web server with a control interface, a database management system with a control interface (in most cases, a relational database that functions off of the webserver), a server-side programming language
Cheers!
-224/105 in simplest form plz
i believe ur answer is -32/15
hopefully i helped =3
A disciplined, creative, and effective approach to problem solving is needed for project success. The nine-step approach to problem solving begins with develop a problem statement and the ninth step is determine if the problem has been solved. Which of the steps listed in not a step on the nine-step approach?
A. Gather data and verify the most likely causes.
B. Determine the most popular solution.
C. Revise the project plan.
D. Evaluate the alternative solutions.
Answer: Determine the most popular solution.
Explanation:
Some of the approaches to problem solving that are listed here include:
• Gather data and verify the most likely causes.
• Revise the project plan.
• Evaluate the alternative solutions
To solve a problem, one needs to gather the data and verify the likely causes of the problem. This can be done by asking questions, running test, interviewing people, running tests, reading reports, or analyzing data.
The project plan can also be revised. Likewise, when one comes with different solutions, one should weigh the cost and benefits of each in order to choose the best solution.
Determine the most popular solution isn't a correct option.