name = input("What is your first name? ")
print("Hello "+name)
age = int(input("How old are you? "))
print("In 10 years, you will be "+str(age+10))
print("In 20 years, you will be "+str(age+20))
print("5 years ago you were "+str(age - 5))
I hope this helps!
The program is an illustration of a sequential program.
Sequential programs are programs that do not require loops or conditional statements
The Python programThe program written in Python, is as follows:
#This gets input for first name
firstName = input("Your first name: ")
#This prints Hello, followed by the first name
print("Hello "+firstName)
#This gets input for age
yourAge = int(input("Your age: "))
#The next three lines print the ages in 10, 20 and -5 years time
print("You will be "+str(yourAge+10)+" in 10 years")
print("You will be "+str(yourAge+20)+" in 20 years")
print("You were "+str(yourAge-5)+", 5 years ago")
Read more about programs at:
https://brainly.com/question/24833629
#SPJ2
A job placement agency helps match job seekers with potential employers. The agency
would like to design a simulation in order to help predict the likely job placement
outcomes for job seekers based on historical trends and patterns. Which of the following
is most likely to be a benefit of the simulation?
Answer:
The answer is "Option C".
Explanation:
Please find the complete question in the attached file.
The model presented above is an AI design. The specific variable within each AI model becomes reduced. There is also no AI model showing 100% reliability, or just not as reliable as just a man in certain situations. That is why the option C opposes this fact explicitly, and that model is least likely to benefit.
Some examples of malware include:
a. Robots, virus, and worms
B. Trojans, worms, and bota
C. Computer ware, worms, and robots
D. Worms, system kits, and loggerware
Answer:
i thinks its c hehehe yea
Answer:
I believe it's C
Explanation:
the reason is because malware usually effects the computer ware
Write a SELECT statement that returns these four columns:
vendor_name-The vendor_name column from the Vendors table
invoice_number The invoice_number column from the Invoices table
invoice_date The invoice date column from the Invoices table
balance due The invoice total column minus the payment total and credit total columns from the Invoices table
Use these aliases for the tables: v for Vendors and i for Invoices.
Return one row for each invoice with a non-zero balance.
This should return 11 rows. Sort the result set by vendor_name in ascending order
Answer:
SELECT vendor_name, invoice_number, invoice_date,
(invoice_total - payment_total - credit_total) AS balance_due
FROM vendors AS v JOIN invoices AS i
ON vendors.vendor_id = Invoices.vendor_id
WHERE invoice_total - payment_total - credit_total > 0
ORDER BY vendor_name;
Explanation:
The query statement returns joint records of vendor name, invoice number, invoice date, and balance due from the vendor and invoice tables represented with aliases v and i respectively.
It returns an output with the WHERE clause condition to only return balance due greater than zero and the output is returned in ascending order of the vendor's names.
3. Which of the following components would not normally be found on an industry standard
motherboard?
A. Keyboard controller
B. CPU
C. Video controller
D. Modem
Answer:
B.
Explanation:
because it is computer science unit(CPU) is the portion of a computer that retrieves and executes instructions.
The term Linux Intrusion Detection System ( LIDS) refers to a command that allows an administrator to run processes as root without actually logging in under the root account in a Linux or UNIX system. A. True B. False
Answer:
B. False
Explanation:
The term Super user do (sudo) refers to a command that allows an administrator to run processes as root without actually logging in under the root account in a Linux or UNIX system.
On the other hand, a Linux Intrusion Detection System can be defined as a patch to the operating system kernel of the Linux machine, as well as a set of administrative tools that is typically used to improve the security of the Linux kernel through the implementation of a mandatory access control known as MAC.
Hence, the Linux Intrusion Detection System can be used to deny any unauthorized use of the input or output device, memory, raw devices, file access and other network administrative functions.
How do you get a potion of fire-protection in the overworld because I am having a hard time in the Nether? I will give away 14 points and mark you as brainliest.
Answer:
It's physically impossible. You'd have to go to the nether and kill one of the nether slimes.
Explanation:
Or you can just cheat, give yourself creative and give yourself a fire res potion. Plus, you can't brew anything without a brewing stand or nether wart.
Answer:
Get a trident from a drowned and enchant it with Channeling and strike a villager with it. Contain the witch and burn it using flint&steel. It will try to drink the potion, but kill it as fast as you can. There now you can go through the Nether portal without having to worry about lava.
Explanation:
A box has an equal number of red and green balls. What is the probability of a red ball being chosen if the box has a total of 24 balls
Answer:
50%
Explanation:
Cuz
To answer the research question "how I'm I going to find the information I need on the topic?" The best thing Georgia should do first is
Answer:
it is currently c
Explanation:
because i got it right on a quiz trust me!
Which option correctly describes a DDMS application?
OA. Software used to organize files and folders
OB.Software used to develop specialized images
OC.Software used to create effective presentations
OD. Software used to manage sets of information
please tell fast plzzzzzzzz
Answer:
window.............
Answer:
Window
Explanation:
Im not sure if this is correct, but I'm pretty sure
QOTD: What are some real-world situations that involve infinite loops, for loops, and while loops? (BRAINLIEST BEST ONE) Around 150 words needed (WILL GIVE BRAINLIEST)
Answer:
There's not many things that are infinite the earth not infinite sooner or later the sun will grow cold and all life on earth will vanish. The only real thing that's infinite is space and time there's nothing that can measure something that's infinite goes on for light years upon light years infinite thing. That and time that never ends nobody really knows how long that the world has been made. The universe could have been made long before the so called big boom happened. last but not least god he is the infinite thing way before the cosmos were made. He made the cosmos and everything that's in your head to. without him you would not even been born. There you go all the infinite things that are infinite.
Explanation:
Your Answer:
Infinite Loop: I would say time and space for it never ends but I would also say human life. Why? Once you die you will be revived and reincarnated and live forever once that happens.
While loop: The water cycle would be a while loop for it will go on as long as earth and water exist. But Earth will probably not live forever.
For loop: Like the other person said, people working hard each month would be considered a for loop.
---------------------------------------------------------------→I hope this helped!
--Juri Davis
(TCOE) When a customer purchases software that displays a clickwrap agreement at the time of installation, the consumer has already purchased the product and is being asked to consent to the contract that purportedly memorializes the payment. Is the contract formed at the moment of purchase or later, when the buyer assents to the terms of the clickwrap agreement?
Answer:
The analysis is presented throughout the section described, as per the given situation.
Explanation:
Those requirements as well as agreements do not apply to something like the acquisition of the commodity. But perhaps the terms and agreements are all about the use of the name. This means that for illegal or immoral procedures, when and how to use the item and even the component shouldn't be used. The overall profitability certainly comes with either the commodity themselves as well as during implementation, trying to give one's authorization has always been about the service mostly with the supplier.However, during implementation, the contract is something different from the place where you live throughout your purchase.
"Simon Says" is a memory game where "Simon" outputs a sequence of 10 characters (R, G, B, Y) and the user must repeat the sequence. Create a for loop that compares the two strings. For each match, add one point to user_score. Upon a mismatch, end the game.
Sample output with inputs: 'RRGBRYYBGY' 'RRGBBRYBGY'
User score: 4
in python please
import random
letters=["R", "G", "B", "Y"]
i = 0
to_guess = ""
while i < 10:
to_guess += random.choice(letters)
i += 1
print("Simon says "+to_guess)
user_score = 0
user = input()
for x in range(0, len(to_guess)):
try:
if user[x] == to_guess[x]:
user_score += 1
else:
break
except IndexError:
break
print("User score: "+str(user_score))
I hope this helps!
Answer:
import random
validletters=["R", "G", "B", "Y"]
input1 = ""
for i in range(1,11):
input1 = input1 + random.choice(validletters)
input2 = input("Input String 2: ")
if len(input2) != 10:
print("Invalid Length")
else:
user_score = 0
for i in range(0,10):
if(input1[i] == input2[i]):
user_score = user_score + 1
else:
break
print("String: "+input1)
print("Guess: "+input2)
print("User Score: "+str(user_score))
Explanation:
The code assumes that user input will always be R, G, B or Y
The next two lines get two string user inputs
import random
This lists the valid letters
validletters=["R", "G", "B", "Y"]
This initializes an empty string
input1 = ""
The following iteration generates the input string of 10 characters
for i in range(1,11):
input1 = input1 + random.choice(validletters)
This prompts user for input string
input2 = input("Input String 2: ")
This checks if input string is up to length of 10
if len(input2) != 10:
If yes, it prints invalid length
print("Invalid Length")
else:
If otherwise, user_score is initialized to 0
user_score = 0
The following iteration checks for matching characters in both strings
for i in range(0,10):
if(input1[i] == input2[i]):
user_score = user_score + 1 This increments user_score by 1 if there is a match
else:
break This ends the program if there is no match
The next three lines print the strings and the user score
print("String: "+input1)
print("Guess: "+input2)
print("User Score: "+str(user_score))
What is the fifth-generation wireless broadband technology based on the 802.11ac standard engineered to greatly increase the speed and responsiveness of wireless networks?
Answer:
The fifth-generation wireless broadband technology based on the 802.11ac standard is called the
5G.
Explanation:
The 5G is the newest baby in town in the area of wireless broadband technology. The technology is based on the IEEE 802.11ac standard. 5G operates with a 5Ghz signal and is set to offer out-of-this-world speeds of up to 1 Gb/s. This implies massive connectivity for everyone and everything. However, its trial has been fraught with many challenges. Questions have been raised, especially relating to some health concerns about the technology. However, many advantages have been ascribed to this wireless technology. They include more reliability, massive network capacity, increased availability, more uniform user experience, higher performance. and improved efficiency.
One key feature of malware is that it:
A. Can only work individually
B. Can only on certain operating systems
C. Can work jointly with other malware types
D. Can always be stopped by antimalware software
Answer:
Can work jointly with other malware types
features present in most DUIs include _________________?
Answer:
"Common features provided by most GUIs include: -icons; ... The icons displayed on most desktops represent resources stored on the computer—files, folders, application software, and printers. Another icon commonly found on the desktop is a place to discard items."
Explanation:
plz mark braniliest i answered first
Write a complete program that reads a string and displays the vowels. The vowels are A, E, I, O, U and a, e, i, o, u. Here are three sample runs:
Sample Run 1
Enter a string: Welcome to Python
The vowels are eoeoo
Sample Run 2
Enter a string: Student Union
The vowels are ueUio
Sample Run 3
Enter a string: AREIOUaeiouRTE
The vowels are AEIOUaeiouE
Note: your program must match the sample run exactly.
using python
vowels = "aeiou"
txt = input("Enter a string: ")
print("The vowels are ",end="")
for x in txt:
if x.lower() in vowels:
print(x, end="")
I hope this helps!
how can e-group help in collaborating online
Answer:
Collaborative learning is an e-learning approach where students are able to socially interact with other students, as well as instructors. ... Collaborative learning is based upon the principle that students can enrich their learning experiences by interacting with others and benefiting from one another's strengths.
Explanation:
inclusion of collaborative activities in an online course leads to positive student performance outcomes. Collaborative group interactions facilitate active learning, shared knowledge, and promote social interaction and a supportive eLearning community
What is Cathode Ray Tube ?
Answer:
it is cathode ray tube used for display
Explanation:
BRAINLEST AND 20 POINTS! Most GUls provide all of the following except
-command prompts
-desktops
-icons
-menus
Answer:
command prompts
Explanation:
What is the definition of delimited text? Characters are separated by commas or tabs. Characters are separated by spaces. Characters run together without separation. Characters have no limit.
Answer:
delimited: having fixed boundaries or limits.
Explanation:
Go from there with that definition
Answer:
A. Characters are separated by commas or tabs.
Explanation:
On Edge
Which command provides the source reference on the last page of a document?
A.Citation
B.Endnote
C.Footnote
D.Reference
PLS help
Answer:
C. Footnote
Explanation:
Write the function definition for the generato named 'generator_Magic which takes a single parameter 'n1', an Intege 1. Define the above Generator such tha it should yield the Magic constant(s) for the values starting from 3 to 'n1'. Note Printing the output will be taken care of during testing, so you need not print the Magic constants yielded by generator 'generator_Magic' and its Type. Input Format for C
Answer:
Method definition to this question can be defined as follows:
def generator_Magic(x1):#defining a method generator_Magic that accepts a variable
x = 3#defining a variable n that holds a integer value
while x <= x1:#defining while loop that check value of x less than x1
Val = (x * (( x * x) + 1)) / 2#defining val variable that calculate value
#yield val
return Val#return Val
n = n + 1#increment the value of n
Explanation:
In the given question some of the data is missing that's why we only define the code, which can be defined as follows:
In this code a, method "generator_Magic" is declared, that hold one parameter "x1" in its parameter, and inside the method, a variable x is declared that hold an integer value and define a while loop to check value is greater than equal to "x1" and calculate the value into "Val" variable and return its value.
As a top-level executive at your own company, you are worried that your employees may steal confidential data too easily by downloading and taking home data onto thumb drives. What is the best way to prevent this from happening?
Answer:
Explanation:
The best thing to do would be to include a ban on thumb drives in the employment contract, that way any employees that bring/use thumb drives would be in violation of their contract and would have to deal with the consequences. Another backup strategy would be implementing a security measure in all of the employee computer systems in order to prevent USB thumb drives from connecting to the computer.
Write a program that prompts the user to enter a date, using integer values for the month, day, and year, and then prints out the day of the week that fell on that date. According to the Gregorian Calendar, January 1, 1601 was a Monday. Observe all leap years (and keep in mind that 1700, 1800, and 1900 were not leap years).
Answer:
import datetime
user = input("Enter date in yyyy,m,d: ").split(",")
int_date = tuple([int(x) for x in user])
year, month, day =int_date
mydate = datetime.datetime(year, month, day)
print(mydate)
x = mydate.strftime("%B %d, %Y was a %A")
print(x)
Explanation:
The datetime python module is used to create date and time objects which makes it easy working with date-time values. The user input is converted to a tuple of integer items, then they are converted to date time objects and parsed to string with the strftime method.
5. Identify the invalid data in the worksheet and correct the entry as follows: a. Circle the invalid data in the worksheet. b. Type 15 as the minimum number of trainees for the Tech Skills program (cell C5). c. Verify that this change cleared the remaining errors in the worksheet
Answer:
a. Use conditional format, select the worksheet, input a condition in a given column, and use a circle to format the invalid data rows.
b. Double-click on cell C5, delete the current data and input 15.
c. If the errors are corrected, the circles are removed.
Explanation:
Microsoft Excel is a spreadsheet application used to manipulate statistical data. It is made up of cells arranged in rows and columns. There are several built-in formulas and tools used to analyze data.
The conditional formatting tool is an example of excel tools used for analysis. In conditional formatting, a pattern is selected to be used in a selected column or worksheet if a condition is met, if not, the pattern will not be used.
Viruses and worms can affect a system by:
A. Deleting hard drives
B. Slowing down the system
C. Improving system functions
D. Productive fake applications
Answer:
A
Explanation:
Worms can modify and delete files, and they can even inject additional malicious software onto a computer. Sometimes a computer worm's purpose is only to make copies of itself over and over — depleting system resources, such as hard drive space or bandwidth, by overloading a shared network
What complications are imposed if one tries to implement a dynamic list using a traditional one-dimensional array
Answer: The expansion of the list will be required to move to a new location;
So the complications that will be imposed if one tries to implement a dynamic list using a traditional one-dimensional array is that the expansion of the list will need to move to a new location.
Explanation: When we talk about arrays,we are referring to data structures that are useful when the number of entries that are to be stored inside a list is fixed.
But for one to implement a dynamic list which always grows or shrinks at run-time arrays cannot be useful.This is because any alteration will make the entire array to be altered.
Help quickly!!
Output: Your goal
You will write a program that asks a user to fill in a story. Store each response in a variable, then print the story based on the responses.
Part 1: Plan and Write the Pseudocode
Use the following guidelines to write your pseudocode for a fill-in story program.
Decide on a list of items the program will ask the user to input.
Your program should include at least four interactive prompts.
Input from the user should be assigned to variables and used in the story.
Use concatenation to join strings together in the story.
Print the story for the user to read.
Write your pseudocode here:
Part 2: Code the Program
Use the following guidelines to code your program.
Use the Python IDLE to write your program.
Using comments, type a heading that includes your name, today’s date, and a short description.
Set up your def main(): statement. (Don’t forget the parentheses and colon.)
Conclude the program with the main() statement.
Include at least two print statements and two variables.
Include at least four input prompts.
Use concatenation to join strings.
Follow the Python style conventions regarding indentation in your program.
Run your program to ensure it is working properly. Fix any errors you may observe.
please help me I don't know what code to type in.
def main():
name = input("Enter your name: ")
age = input("Enter your age: ")
color = input("Enter you favorite color: ")
birth = input("Enter your birthday: ")
print(name + " is "+age+" year(s) old.")
print(name + "'s favorite color is "+color)
print(name + " was born on "+ birth)
main()
I hope this helps! The code runs perfectly fine for me.
In this exercise we want to write a pseudocode, so this way we will find how:
the code is in the attached image
What is pseudocode?Pseudocode is a generic way of writing an algorithm, using a simple language (native to whoever writes it, so that it can be understood by anyone) without the need to know the syntax of any programming language.
To make it simpler to copy the code is below as:
def main():
name = input("Enter your name: ")
age = input("Enter your age: ")
color = input("Enter you favorite color: ")
birth = input("Enter your birthday: ")
print(name + " is "+age+" year(s) old.")
print(name + "'s favorite color is "+color)
print(name + " was born on "+ birth)
main()
See more about pseudocode at brainly.com/question/13208346
Reports produced by the United Nations are considered
O relevant sources, -A
O irrelevant sources. -B
O biased sources. -C
O disputed sources. -D
Answer:
The correct answer is Option A: "Relevant Sources"
Explanation:
Relevant sources are the reports and information regarding a specific field, profession or an area of study. The reports generated by United Nations are usually related to a specific subject or area of study i.e. report on security etc.
Hence,
The correct answer is Option A: "Relevant Sources"
Answer: relevant sources
Explanation: