Variables are simply the names given to memory location.
The incorrect variable assignment is (d) 5 + y = x
To assign a value to a variable, we make use of the following syntax:
variable = expression/value
The above syntax means that:
The variable will be on the left-hand side, while the values or the expressions will be on the right-hand side
Using the above highlights as a guide, we can conclude that:
(d) 5 + y = x is not a correct variable assignment
This is so because, it does not conform to the syntax of variable assignment
Read more about variable assignments at:
https://brainly.com/question/18522561
4.8 Code Practice: Question 1
Instructions
Write a for loop to print the numbers 5, 10, 15 … 75 on one line.
Expected Output
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75
Answer:
c = 1 # global variable
jhjl jh
def add(): c = 1 # global variable
def add():
print(c)
add()
c = c + 2 # increment c by 2
print(c)
add()
Explanation:
Answer:
for x in range(1, 16):
print(x * 5, end=" ")
Explanation:
Hope this helps!
c) 64 + {40 ÷ (4-7 + 8)} - 10
please solve this
Answer:
62
Explanation:
A computer that provides special services to client computers on demand.
Answer:
A server?
Explanation:
I feel like this would be the answer but if it is multiple choice, reply with the possible answers. Hope this helps!
The part of the program where strFirst can be used or changed describes its _____.
need answers now!
Answer:
def username (strFirst, strLast):
return strFirst[0] + strLast
def username (strFirst, strLast):
return strFirst + strLast[0]
answer = username ('Tech', 'Boss')
print (answer)
Explanation:
Can you rate the answer with Braillies? please.
if you need any further assistance please follow me and stay in touch anytime. ☺️
Answer:
scope
Explanation:
the Edge definition of scope as found in the instructions is: "Scope refers to the part of the program where Python can use and change a variable. "
The question is: "The part of the program where strFirst can be used or changed describes its _____. "
strFirst is a scope because it is the part of the program where..can...use and/or change.
The manipulation of data files on a computer using a file browser is
.
A
is a computer program that allows a user to manipulate files.
A
is anything that puts computer information at risk.
Errors, flaws, mistakes, failures, or problems in a software program are called
.
Software programs that can spread from one computer to another are called
.
Answer:
The answers are system management. Next, file manager. After, security threat. Second to last, bugs. Last, system management tools.
Explanation:
I did the edg 2020. mark me as brainiest please.
Answer:
1.) file management
2.) file manager
3.) security threat
4.) bugs
5.) viruses
Explanation:
did it in edge
how do you compute percentage of spoilage
plsss paki answer
Spoiled units / units produced ×100
Answer:
The normal spoilage will be calculated as the total number of spoiled units, divided by the total units produced, and multiplied by 100. In this case, it would be 500 / 10,000 x 100 = 5%.
Explanation:
Which device do engineers use to drive a system of gears?
A. gear train
В.
lead screw
c.
motor
D. manipulator
Answer: Motor. A motor can drive gears
Hope this helped :)
why make people act meaner online the. in person
Read this passage from The Phantom Tollbooth. There was once a boy named Milo who didn't know what to do with himself--not just sometimes, but always. When he was in school he longed to be out, and when he was out he longed to be in. On the way he thought about coming home, and coming home he thought about going. Wherever he was he wished he were somewhere else, and when he got there he wondered why he'd bothered. Nothing really interested him--least of all the things that should have. The most likely reason the author begins this fantasy with a realistic element is to make the text more amusing. exciting. believable. interesting.
Answer:
I think its believable
Explanation:
^^
I think its believable
Documentary photographers strive to produce what type of image?
А.
Edited
B.
True
C.
Colorful
D.
Blurred
Answer:
B. :)
Explanation:
Which of the following would be done outside of a control room?
programming a teleprompter
cueing camera operators
switching between multiple cameras
uploading camera footage on location
Answer:
a
Explanation:
Answer:
a
Explanation:
Juan has performed a search on his inbox and would like to ensure the results only include those items with attachments which command group will he use will he use
Answer:
refine
Explanation:
Juan can use the "refine" group command to search for items with attachments in his inbox.
What is inbox?The Inbox is where e-mail messages are received in an e-mail client or online e-mail account.
The "outbox" is where incoming communications are stored. Inboxes and outboxes operate similarly to folders but are not recognized by the computer.
He can use the "refine" group command to search for items with attachments in his inbox. This group command allows Juan to narrow down the search results to only include email messages that have attachments.
To use this command, Juan can simply select "refine " from the search criteria options and then perform the search. The results will only display email messages that have attachments, allowing Juan to easily find the information he needs without having to sort through all the messages in his inbox.
Learn more about the inbox here:
https://brainly.com/question/27114613
#SPJ6
match the following
Group A Group B
Hub Connect different types of networks of same protocol
Router Twisted Pair cable
BNC terminator Transmission channel for WLAN
RJ 45 Connecting device within a network
Coaxial cable
Answer:
i can't understand this question.please repost it by. making it clear.
Which of the following is a good way to find a research topic
A. Personal Experience
B. Getting an idea from an advisor
C. Looking for the next step in the research process
D. All of the above
I need the answer quickly giving brainliest to the first person who answers
Answer:
Im bored wanna talk?
Explanation:
Explain two options you have in order to abide by the move over law??? PLEASE HELP ME ASAP!!
Answer:
you can either move over if on an interstate into a different lane safely. if there is only one lane you must reduce your speed
what is wrong with this python code? The syntax error is on the first line.
public class Box
{
private String myDate;
private String myContents;
private String myLocation;
public class Box(String date, String contents, String location)
{
myDate = date;
myContents = contents;
myLocation = location;
}
}
Box twentyThree = new Box("2016", "medical records", "storage closet");
Box zeroSeven = new Box(“2020”, “flu shot flyers", “receptionist’s office”);
Box twentyOne = new Box(“2018”, “lotion samples”, “waiting room”)
print (Box twentyThree = 1)
print (Box zeroSeven = 2)
print (Box twentyOne = 3)
class Box:
def __init__(self, date="", contents="", location=""):
self.d = date
self.c = contents
self.l = location
def displayBox(self):
if self.d != "":
print("The date is " + self.d)
else:
print("The date was not supplied")
if self.c != "":
print("The contents are " + self.c)
else:
print("The contents were not supplied")
if self.l != "":
print("The location is " + self.l)
else:
print("The location was not supplied")
obj = Box("2016", "medical records")
obj.displayBox()
This is how you would create a class in python. Your code seems to be part python part some other language. I hope this helps!
Write a program that inputs a filename from the user and prints to the terminal a report of the wages paid to the employees for the given period. The report should be in tabular format with the appropriate header. Each line should contain an employee’s name, the hours worked, and the wages paid for that period.
Answer:
filename = input("Enter file name: ")
file = open("filename", "r")
while file:
line = file.readline()
print(line)
file.close()
Explanation:
The python source code prompts the user for a file name (file extension included), opens the file and reads the content of the file to the end, one line at a time, and prints it.
Note that the file is closed at the end of the program to avoid leakage.
The program illustrates the use of file manipulation.
File manipulations are used to read from a file, and also write into it.
The program in Python, where comments are used to explain each line is as follows:
#This gets the file name
fname = input('Enter input file name: ')
#This prints the output header
print('Name\t\tHours\t\tTotal Pay')
#This iterates through each line of the file
for line in open(fname):
#This gets the text on the current line
cline = line.strip()
#If the text is not empty,
if cline != '':
#This gets the name, wage and time worked on that line
(name, wage, time) = cline.split()
#This converts the time to integer
time = int(time)
#This calculates the total pay
totalpay = float(wage) * time
#This prints the employee details
print(name,'\t\t', time,'\t\t' totalpay))
Read more about file manipulations at:
https://brainly.in/question/10211834
Challenge #3: Create a network that keeps everyone connected even if one of the lines is cut Insert as many lines as needed
Answer:
To create a redundant computer network, The star network topology is adopted.
Explanation:
Note that topology is not a type of network but a top view of how the network looks like or is connected.
To make a network redundant, interconnect every computer to one another in the network, so even when a line or an ethernet cable ( the connector) makes, there is no loss of connection.
This form of network is not recommended for large computer networks as it would result in confusion due to excess connection cables running in the network.
~Föllòw gixannaa on tìktòk and then comment done~
(I will give brainliest answer if you tell me your user)
Answer:
my user is shut.upnow
Explanation:
lol
Answer:
I don't have tik tock sorry if I did I would have followed u
Explanation:
:D
Justify the following statement: “Some Americans’ sedentary lifestyles contribute to their poor health.”
Answer:
Since the average American will spend 24 hours watching television per week, it is safe to say that they suffer from a lack of movement and exercise. This, in turn, will lead more Americans to be overweight and more likely to suffer from serious health problems! :)
Explanation:
When and how should resources be invested to close gaps between those who do and don’t use the Internet?
Answer:
To minimize the technological gap is necessary and not so hard.
Explanation:
The first form of solving it is to minimize the need to use the internet at home, so that users could save the data in some programs which could use afterward if needed, without the internet.
Access to the documents, books, and folders without the need for the internet would be the perfect solution.
The Internet has to be accessible in school so that the students who don’t have it at home could use the most of it in school. Also, the internet connection should be available in the spots around schools, cafes, libraries during the whole day.
Make the internet affordable for everyone.
What is Java and Python?
Answer:
To put it simply; They're both coding languages.
Their key differences are:
Java is a compiled + interpreted Language whereas Python is an Interpreted Language
Java is statically typed whereas Python is dynamically typed
Java has a complex learning curve whereas Python is easy to learn and use
Java is a multi-platform, object-oriented, and network-centric, programming language whereas Python is a high-level object-oriented programming language.
Java takes 10 lines of code to read from a file while Python only needs 2 lines of code.
Java language uses curly braces to define the beginning and end of each function and class definition, whereas Python uses indentation to separate code into separate blocks.
In Java, multiple inheritances is partially done through interfaces, whereas Python supports both single and multiple inheritances.
Java offers limited string related functions, whereas Python offers lots of string related functions.
Java program can run on any computer or mobile device which is able to run the Java virtual machine (JVM) while Python programs need an interpreter installed on the target machine to translate Python code. Compared to Java, Python is less portable.
Java is best for Desktop GUI apps, Embed Systems, Web application services, whereas Python is excellent for scientific and numeric computing, Machine learning apps,more.
Java offers stable connectivity, while Python offers weak connectivity.
Hope this helps and have a nice day!
Answer:
They are both programming languages.
Explanation:
Java is defined as a concurrent where you can execute many statements instead of sequentially executing it, class-based and an object-oriented programming language and an independent programming language that follows the logic of Write once, Run anywhere i.e. the compiled code can run on all platforms which supports java. (according to edureka.co)
Python is defined as a high-level, interpreted, general-purpose programming language that emphasizes code readability with the use of significant indentation. (according to python.org)
I am stuck on these 2 questions. Can someone help me please?
6) Write a Python code to save the following dictionary in a CSV file.
dict = {1: "Hello", 2: "Hi", 3:"bye"]
7) Write a Python code to read the CSV file generated in the previous step
(1) to a Python dictionary.
Answer:
My answer could not be submitted because of some signs and symbols in my solution.
So, I've added the answer and a comprehensive explanation as an attachment.
Note that the question is answered using Python programming language.
Explanation:
Lines that start with # are used to explain the program
See attachment
When a user modifies the fonts in a message and immediately sees the effect of a font change without actually selecting the font, which outlook feature is the user witnessing
Answer:
Live Preview
Explanation:
With Live Preview mode on in Microsoft Outlook while composing an email content, a user will be able to see effects of the when the mouse cursor is placed format for the text including, the text size, font of the text, the text color, which are immediately applied to the selected text to give a preview of what the effect of the editing function the cursor is hovering over can do.
A battery is connected to a light bulb in a circuit. There is a current of 2 A in the light bulb. The voltage of the battery is 1.5 V. What is the resistance of the light bulb?
Answer:
The current in a circuit is directly proportional to the electric potential difference impressed across its ends and inversely proportional to the total resistance offered by the external circuit. The greater the battery voltage, the greater the current.
Explanation:
Write a function that takes the name of a file with a .csv extension (a comma-separated value file), and writes a new file that is equivalent (same name and same data) but with a .tsv extension (a tab-separated value file: like a CSV but with tabs instead of commas separating the elements of the file). Note: the character used to represent a tab is ‘\t’.
Answer:
import pandas as pd
def convert_to_tsv( csv_filename ):
df = pd.read_csv("csv_file")
df.to_csv("csv_filename.tsv", sep='\t')
Explanation:
The python program uses the pandas' module to read in the csv file in the function "convert_to_tsv". The file is saved as a tsv file with the pandas to_csv method and the " sep= '\t' " attribute.
What is wrong in this python code import turtle bot = turtle.Turtle step = (50) turnAngle = (90) bot.Color("blue") bot.Begin_fill() bot.Forward(step) bot.Right(turnAngle) bot.Forward(step) bot.Right(turnAngle) bot.Forward(step) bot.Right(turnAngle) bot.Forward(step) bot.Right(turnAngle) bot.End_fill()
Answer:
The "Turtle" is a method and should be declared with parenthesis and every other method in the code (except the Turtle() ) should begin with lowercase letters like right, forward and begin_fill. The python file should not be saved as turtle.py to avoid import error.
Explanation:
The python turtle module is a graphical programming package created to introduce programming to children. It has several classes and methods to manipulate objects on the screen.
import turtle
bot = turtle.Turtle()
step =(50)
turnAngle =90
bot.color("blue")
bot.begin_fill()
bot.forward(step)
bot.right(turnAngle)
bot.forward(step)
bot.right(turnAngle)
bot.forward(step)
bot.right(turnAngle)
bot.forward(step)
bot.right(turnAngle)
bot.end_fill()
Which of the following would be least effective?
Answer:
Exponential
Explanation:
The growth of an exponential function will develop much faster than all other functions included in the options meaning the execution time will take longer. This makes exponential functions the least efficient.
• Describe why you may have traveled to the same place many times. Why would this happen in nature?
Microsoft Word, Google Chrome, and Windows Media Player are examples of
Answer:
They are all examples of software.