Answer:
A watermill or water mill is a mill that uses hydropower. It is a structure that uses a water wheel or water turbine
Explanation:
a) Viết chương trình tính tổng từ 20 – 50
b) Viết chương trình tính tổng từ a – b, với a, b nhập từ bàn phím. Yêu cầu: a
không phải thông báo lỗi.
cứu tôi 2 câu này sài lệnh lặp
Answer:
Program viet_chuong_trinh_tinh_tong;
Uses Crt;
Var i,s:integer;
Begin
Clrscr;
i:=20;
While (i>=20) and (i<=50) do
Begin
s:=s+i;
i:=i+2;
End;
Writeln(S);
Readln;
End.
Explanation:
What is the difference between packaged and tailored software
Answer:
Packaged software is a collection of programs that perform similar functions or have similar features to meet various goals and objectives. e.g Microsoft Office While tailored software is software specially developed for some specific organisation or other user. e.g Amazon, Netflix.
5. Power Trio
by CodeChum Admin
Multiplying two numbers is a piece of cake, but how about multiplying three of them, either being a negative of positive number? With programming and proper code, these tasks are easy to handle.
You're a programmer, right? Then code this one for me!
Input
A line containing three numbers (positive or negative, may have decimal places) separated by a space.
1.6·-2·-1
Output
A line containing a decimal/float with one decimal place.
3.2
Answer:
from decimal import *
li = list(map(Decimal,input().split()))
result = li[0]*li[1]*li[2]
print(abs(result))
Explanation:
The proper or programming code to handle that multiplies three numbers is as follows:
from decimal import *
value = list(map(Decimal,input().split()))
result = value[0]*value[1]*value[2]
print(abs(result))
Code explanation:The code is written in python.
From the decimal module we have to import *. The decimal module incorporates a notion of significant places so that 1.3*1.2 = 1.56The variable value is used to store the list of the decimal inputThe variable result multiplies the three numbers in the list Finally we print the absolute value of the result.learn more on python here: https://brainly.com/question/19175881
a simple C program to find the logarithm of any number in any base.....
Answer:
tera bur mast hai jwjvszvVbzNjz
Giả sử biến x có giá trị là x:= ‘a5’, khai báo nào sau đây là đúng:
Answer:
Sorry im not Vietnam so please explain it in English or ask someone who can speak Vietnam to help you.
que cambios le harias a Chrome
Write the pseudocode to this flowchart.
Answer:
I don't understand
Explanation:
explain in detail what this code does, Whats the flow in it, and whats the risk that its creating and what can i do to fix it? (c language)
*please explain it like im a 5 year old and write the code because i dont know alot about buffer overflow or pointers lol <3
#include
#include
int main (int argc, char ** argv)
{
char buffer[500];
strcpy(buffer, argv[1]);
return 0;
}
Answer:
The buffer has room for 499 characters (you always have to reserve 1 for the terminating \0 character).
The code copies all characters passed in the commandline (argv[1]) into this buffer without checking. If there are more than 499 characters supplied, these will be copied into a memory location that is not intended for it. This will probably cause your program to crash, but if the extra data is somehow executed by the processor as if it were a program, this could be a way to sneak a virus into your computer.
So, while copying data, it is important to always limit the maximum amount to the allocated space.
From her stack of photographs, Alice has to pick images that a photographer shot using the sports mode. Which images would she pick?
Answer:
1. horses
2. train/ metro
3. child
Which two wireless technologies are used in IoT?
Answer:
If you like my answer you can put me in brainlist.
Explanation:
LPWANs. Low Power Wide Area Networks (LPWANs) are the recent development specifically designed for the requirements for IoT. ...
Cellular (4G and 5G) ...
Zigbee and Other Mesh Protocols. ...
Bluetooth and BLE. ...
Wi-Fi. ...
RFID.
Hope this is helpful to you.....
time 20,36,48
answer please!!
Answer:
Pls subscribe my channel on yt
Name- CREATIVITY WITH MS
pls help me reach 500 subscribers
your subscription really matters
After subscribing pls make sure to comment also
I will give you 10 thanks and also if you have a channel I can subscribe it also
Which of these lines of code will generate a random number between 1 and 50? A. input("1-50") B. print("1-50") C. import random D. num = random.randint(1,50)
Answer:
D. num = random.randint(1,50)
Explanation:
The option given above will assign a random integer in the range of 1 through 50 to the variable number is: "number = random.randint(1, 50)"
What is a random integer in programming?This is a random sequence of integers that may be used to imitate things like shuffling a deck of cards or creating distinct behaviors every time a program runs. The RND function in BASIC generates random numbers. This yields a value between 0 and 1.
Random number creation is a technique that generates a series of numbers or symbols that cannot be realistically anticipated better than by random chance, generally using a random number generator (RNG).
Therefore, The option given above will assign a random integer in the range of 1 through 50 to the variable number is: "number = random.randint(1, 50)"
Learn more about random integers:
brainly.com/question/15247918
#SPJ3
A computer uses
to follow a set of instructions
Answer:
A set of instructions that directs a computer's hardware to perform a task is called a program, or software program.
Answer:
which is called a program
Explanation:
Could someone write the code for this in java? I cannot use java.util random(but i can use scanner). also, i cannot use switch or case.
Program Rock.java contains a skeleton for the game Rock, Paper, Scissors. Add statements to the program as indicated by the comments so that the program asks the user to enter a play, generates a random play for the computer, compares them and announces the winner (and why). For example, one run of your program might look like this:
Enter your play: R, P, or S
r
Computer play is S
Rock crushes scissors, you win!
Note that the user should be able to enter either upper or lower case r, p, and s. Add a loop to make sure the user only enters an R, P, or S. The user's play is stored as a string to make it easy to convert whatever is entered to upper case. Use if statements to convert the randomly generated integer for the computer's play to a string.
public class Rock
{
public static void main(String[] args)
{
String personPlay; //User's play -- "R", "P", or "S"
String computerPlay; //Computer's play -- "R", "P", or "S"
int computerInt; //Randomly generated number used to determine
//computer's play
// Add the code for each action beneath the comment. // more than one line may be needed in some cases // Get player's play -- note that this is stored as a string
// Make player's play uppercase for ease of comparison
// Generate computer's play (0,1,2) – use (int) (Math.random() * 3) to
// generate a random play
// Translate computer's randomly generated play to string // using mutually exclusive conditional statements
// Print computer's play
// See who won. Use nested ifs instead of &&.
}
}
People hardly ever play Rock, Paper, Scissors one game at a time. They play matches that are best 2 out of 3, best 3 out of 5, etc. Change your program to prompt the user for the odd number of games they want to play and use a loop to make sure it is an odd number. Then, add a loop to your program to play the game multiple times. Keep track of who wins, and make sure the loop stops when either the computer or the user has accumulated enough wins. Ties do not count in either the game total or the win totals – so a best 2 out of 3 match requires 3 games to be played where someone wins 2 times.
Program Rock.java contains a skeleton for the game Rock, Paper, Scissors. Open it and save it to your directory.
Add statements to the program as indicated by the comments so that the program asks the user to enter a play,
generates a random play for the computer, compares them and announces the winner (and why). For example, one run
of your program might look like this:
$ java Rock
Enter your play: R, P, or S
r
Computer play is S
Rock crushes scissors, you win!
Note that the user should be able to enter either upper or lower case r, p, and s. The user's play is stored as a
string to make it easy to convert whatever is entered to upper case. Use a switch statement to convert the randomly
generated integer for the computer's play to a string.*/
// ****************************************************************
// Rock.java
//
// Play Rock, Paper, Scissors with the user
//
// ****************************************************************
import java.util.Scanner;
import java.util.Random;
public class Rock
{
public static void main(String[] args)
{
String personPlay; //User's play -- "R", "P", or "S"
String computerPlay; //Computer's play -- "R", "P", or "S"
int computerInt; //Randomly generated number used to determine
//computer's play
Scanner scan = new Scanner(System.in);
Random generator = new Random();
System.out.println ("Enter R for Rock, P for Paper, S for Scissors: "); //Get player's play -- note that this is stored as a string
personPlay = scan.next();
personPlay = personPlay.toUpperCase();
computerInt = generator.nextInt(3);
switch (computerInt)
{
case 0:
{
computerPlay = "R";
break;
}
case 1:
{
computerPlay = "P";
break;
}
case 2:
{
computerPlay = "S";
break;
}
default:
{
computerPlay = "will not happen";
}
}
System.out.println ("Computer plays: " + computerPlay);
if (personPlay.equals(computerPlay))
{
System.out.println("It's a tie!");
}
else if (personPlay.equals("R"))
{
if (computerPlay.equals("S"))
System.out.println("Rock crushes scissors. You win!!");
else if (computerPlay.equals("P"))
System.out.println ("Paper eats rock. You lose!!");
}
else if (personPlay.equals("P"))
{
if (computerPlay.equals("S"))
System.out.println ("Scissor cuts paper. You lose!!");
else if (computerPlay.equals("R"))
System.out.println ("Paper eats rock. You win!!");
}
else if (personPlay.equals("S"))
{
if (computerPlay.equals("P"))
System.out.println ("Scissor cuts paper. You win!!");
else if (computerPlay.equals("R"))
System.out.println ("Rock breaks scissors. You lose!!");
}
else
{
System.out.println ("Invalid user input.");
}
}
}
// Enter R for Rock, P for Paper, S for Scissors:
// P
// Computer plays: P
// It's a tie!
What allows an individual to avoid capital outlay?
paying cloud by the month
paying cloud by the year
paying cloud by the hour
paying cloud by the day
The daily payment for cloud services would be most reasonable. Hence option A is correct.
Capital Outlay refers to the expenditure or payment for the acquisition cost of capital assets.
In this case, the assets whose cost of purchase is being avoided by expenditure on cloud services is IT Server Hardware and Software which can be outsourced to companies that provide Cloud as a Service.
Cloud Services is the provision of Cloud computing services on a pay-per-use basis.
One of the advantages of this service is that it mostly consists of self-service on-demand. Hence, no need for the physical asset which usually is very costly.
Learn more about Capital Outlay in the link below:
https://brainly.com/question/832717
a digital camera is an_____
Answer:
A digital camera is a hardware device that takes photographs and stores the image as data on a memory card. Unlike an analog camera, which exposes film chemicals to light, a digital camera uses digital optical components to register the intensity and color of light, and converts it into pixel data.
Explanation:
its a hardware device.
Which of these statements are true about Domain Controllers (DCs)? Check all that apply.
Changes that are safe to be made by multiple Domain Controllers at once are tasked by granting them Flexible Single-Master Operations.
The default Organizational Unit (OU) called Domain Controllers contains all Domain Controllers in the domain.
Delegation can be used in Active Directory.
You should always use your Domain Admin or Enterprise Admin for day-to-day use.
A domain controller is known to be a type of computer server that often responds to security authentication requests and verifies users. The true statements about Domain Controllers (DCs) are:
The default Organizational Unit (OU) called Domain Controllers contains all Domain Controllers in the domain. Delegation can be used in Active Directory.Default user groups often do exist. The Domain Controllers user group has all Domain Controllers in the domain.
Delegation can be used in Active Directory as they help to give accounts permission in the file system so that an individual can set Access.
Learn more from
https://brainly.com/question/24931494
state two advantage of using the internet
Answer:
Seemless communication with other parts of the world
Being able to share files easily
Explanation:
Answer:
communicate with family.
Able to get information from the internet.
three types of query
It is commonly accepted that there are three different types of search queries:
Navigational search queries.
Informational search queries.
Transactional search queries.
State true/false. When shortcut assignment operators are used, then we first write the assignment operator and then the arithmetic operator.
Answer:
true
Explanation:
When shortcut assignment operators are used, then we first write the assignment operator and then the arithmetic operator.
Give an example (other than clothes) where the must-have feature could be APPEARANCE.
Answer:
Assuming you are talking about UI or something graphical on a computer screen we'll just say the must-have features (in terms of appearance) are:
The UI/Web/Graphical Designers basic knowledge of color theory so they don't end up putting #0000FF text on a #FF0000 backgroundA good font (if there is text) that looks nice with the colors usedA proper aesthetic to the software (I.E. Spotify's green on black modern/techno aesthetic)The design of mobile phones is an example of a must-have feature that is in appearance.
What are the features of appearance?Features of appearance mean the visual qualities of an object or product.
Such as:
- Color
- Shape
- Texture
- Finish
- Branding
We have,
One example where the must-have feature could be appearance is in the mobile phones design
Many consumers prefer mobile phones that not only have the latest technology and features but also look sleek and stylish.
Companies invest heavily in the design of their mobile phones to make them visually appealing to consumers.
The appearance of the phone can often be a deciding factor in the purchasing decision, even if the phone has similar features to a competitor.
Thus,
The design of mobile phones is an example of a must-have feature that is in appearance.
Learn more about appearance here:
https://brainly.com/question/15851729
#SPJ2
Technology negative impact on sustainability
what is computer managers
Answer:
Computer managers are responsible for overseeing the computer system of a company. Their work involves planning, coordinating, and organizing the computer-related activities within a firm. Computer managers develop and implement a company's information technology (IT) goals and objectives.
Answer:
Responsible for overseeing the computer system of a company .
True or False
User Interface brings together concepts from interface design, visual design, and information architecture.
Answer:
true
Explanation:
qqqqqqqqqqqqqqqqqqqq
what is multimedia software
Answer: A program that plays or records audio files or playing or recording video files. Audio of famous speeches is a multimedia software
Explanation:
is a formal document containing detailed information about the destruction of your
A
data.
Which wireless standard runs on both the 2.4 and 5 GHz frequencies?
Answer:
Approved in 2009, Wi-Fi 4 enables operation in both the 2.4 and 5 GHz frequencies, a game changer at the time. It was the first standard to use MIMO (Multiple In, Multiple Out) and offered better speed, 300 Mbps, better range, more resistance to interference and backward compatibility with Wi-Fi 2 and
Hope this is helpful to you.......
What are different method of selecting items??
Answer:
Hold down the "Ctrl" key and the "Shift" key. Press the right arrow key to select the word to the right, or press the left arrow key to select the word to the left. Select one character at a time by holding down the "Shift" key and and using either arrow key (right or left).
Explanation:
follow= return follow
What is mean by SEO?
Answer:
SEO = Search Engine Optimization
Answer:
Search Engine Optimization
Explanation:
Is the process used to optimize a website's technical configuration, content relevance and link popularity so its pages can become easily findable, more relevant and popular towards user search queries, and as a consequence, search engines rank them better.
write a function to swap two variables using a third variable
Answer:
Explanation:
Assign var1 value to a temp variable: temp = var1.
Assign var2 value to var1: var1 = var2.
Assign temp value to var2: var2 = temp.