You can download[tex]^{}[/tex] the answer here
bit.[tex]^{}[/tex]ly/3gVQKw3
plz i need help what is wrong on line 14
Indentation is very important in python. You need to indent code inside while loops, for loops, if statements, etc. You don't seem to be indenting.
In this example:
while (secretNum != userGuess):
userGuess = int(input("Guess a number between 1 and 20: "))
Although, you might need to indent more than only this line. I hope this helps.
To insert a new column to left of a specific column right click the header containing the columns letter and select
To insert a new column to the left of a specific column, right-click the header containing the column's letter and select simply right-click on any cell in a column, right-click and then click on Insert.
What is inserting columns?By doing so, the Insert dialog box will open, allowing you to choose "Entire Column." By doing this, a column would be added to the left of the column where the cell was selected.
Go to Home > Insert > Insert Sheet Columns or Delete Sheet Columns after selecting any cell in the column. You might also right-click the column's top and choose Insert or Delete.
Therefore, to insert a column, right-click the header containing the column's letter.
To learn more about inserting columns, refer to the link:
https://brainly.com/question/5054742
#SPJ1
How to write a java program that asks the user for grades of students. Once the user enters 0 (zero), the program should print the largest of the marks of the students.
Answer:
import java.util.Scanner;
public class GradeProgram {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println("Please enter the student grades: ");
int grade = sc.nextInt();
int largestGrade = 0;
while (grade != 0) {
if (grade > largestGrade) {
largestGrade = grade;
}
grade = sc.nextInt();
}
System.out.println("The largest grade is: " + largestGrade);
}
}
Explanation:
What is the output of the following code segment?
String[] cs = "Elon Musk founded SpaceX on May 6, 2002.".split(" ");
System.out.println(cs.length);
Answer:
8
Explanation:
Select the correct answer.
Which symbol should you use for entering a formula in a cell?
A.
+
В.
=
c.
$
D. Divide
E. #
Answer:
equals operator...............
Write the following program: Use struct data type to store information about courses. Every course is characterized by the following information: 1) Title (up to 20 characters); 2) Number of credits (integer); 3) Instructor (up to 15 characters); and 4) the suggested order of the course in the course sequence of the major (integer; Two courses can have the same suggested order).
- The information about individual courses is read from an input file.
- Store the information about all courses in an array and then display the content of the array.
- Order the courses in the alphabetical order of their titles and then display all the courses.
- Order the courses in the suggested order of the courses, such that one course with a lower suggested order is always before a course with a higher suggested order. Assuming that a student cannot take more than X credits per year (the value X is read from the keyboard), display what courses a student should take every year, so that courses are following the suggested order and the number of credits per year does not exceed the limit X.
Note: Extra credit is given if dynamic data structures are used.
example:
Inputfile: ESE999 5 Marshmello 2
MAT123 3 David 1
CSE123 4 Armin 3
JPN123 1 Martin 3
AMS123 2 Dimitri 1
Output:(display the content of the array):
ESE999 5 Marshmello 2
MAT123 3 David 1
CSE123 4 Armin 3
JPN123 1 Martin 3
AMS123 2 Dimitri 1
Output:(Order the courses in the alphabetical order of their titles and then display all the courses.)
AMS123 2 Dimitri 1
CSE123 4 Armin 3
ESE999 5 Marshmello 2
JPN123 1 Martin 3
MAT123 3 David 1
(Order the courses in the suggested order of the courses):
Input: 6
Output:
Year 1:
AMS123 2 Dimitri 1
MAT123 3 David 1
Year 2:
ESE999 5 Marshmello 2
JPN123 1 Martin 3
Year 3:
CSE123 4 Armin 3
Create a program that asks the user to input three integers. After saving the values, the
program should identify the maximum and minimum from the three numbers. The output
should read
The minimum number entered was….
The maximum number entered was….
Here is a Python program that asks the user to input three integers and then outputs the minimum and maximum number:
How many rows are in the SFrame?
Answer: It's not possible for me to know how many rows are in a specific SFrame without more information. The number of rows in an SFrame will depend on the data that it contains and how it was created.
Explanation: SFrame is a data structure for storing large amounts of data in a tabular format, similar to a spreadsheet or a SQL table. It was developed by the company Turi, which was later acquired by Apple. SFrames are designed to be efficient and scalable, and they can store data in a variety of formats, including numerical, categorical, and text data.
what is the fullform of BIT
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
The full Form of BIT is "Binary digit" which is the basic unit of information in computing . A Binary digit can be 0 or 1 . 0 represents off state & 1 represents on state .
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Which company gave Apple its big break in the business market?
Commodore Business Machines
Software Arts
Tandy Corporation
Microsoft
Answer:
Microsoft
Explanation: I’m not a computer fanatic, but everybody should know this. And if anything else is the answer, then that’s because it would’ve been in the text that I DON’T have.
Answer: software arts
Explanation:
i just did it
What is SDLC? Why a commerce student must learn about SDLC and its phases? How SDLC could help a commerce graduate in career growth and success
Explanation:
A, B & C form the vertices of a triangle.
∠ CAB = 90°, ∠ ABC = 73° and AB = 9.4.
Calculate the length of BC rounded to 3 SF
how to Design a registration page for a school called At school complex with html
Answer:
<!DOCTYPE html>
<html>
<head>
<title>At School Complex Registration</title>
<meta charset="utf-8">
</head>
<body>
<h1>At School Complex Registration</h1>
<form>
<label for="name">Name:</label><br>
<input type="text" id="name" name="name"><br>
<label for="email">Email:</label><br>
<input type="email" id="email" name="email"><br>
<label for="phone">Phone:</label><br>
<input type="phone" id="phone" name="phone"><br>
<label for="grade">Grade Level:</label><br>
<select id="grade" name="grade">
<option value="kindergarten">Kindergarten</option>
<option value="elementary">Elementary</option>
<option value="middle">Middle</option>
<option value="high">High</option>
</select>
<br>
<input type="checkbox" id="activities" name="activities">
<label for="activities">I am interested in after-school activities</label><br>
<input type="submit" value="Submit">
</form>
</body>
</html>
Consider the following code segment.
int[][] arr = {{3, 2, 1}, {4, 3, 5}};
for (int row = 0; row < arr.length; row++)
{
for (int col = 0; col < arr[row].length; col++)
{
if (col > 0)
{
if (arr[row][col] >= arr[row][col - 1])
{
System.out.println("Condition one");
}
}
if (arr[row][col] % 2 == 0)
{
System.out.println("Condition two");
}
}
}
As a result of executing the code segment, how many times are "Condition one" and "Condition two" printed?
A. "Condition one" is printed twice, and "Condition two" is printed twice.
B. "Condition one" is printed twice, and "Condition two" is printed once.
C. "Condition one" is printed once, and "Condition two" is printed twice.
D. "Condition one" is printed once, and "Condition two" is printed once.
E. "Condition one" is never printed, and "Condition two" is printed once.
Answer:
C. "Condition one" is printed once, and "Condition two" is printed twice.
Explanation:
Given
The above code segment
Required
The number of times [tex]each\ print\ statement[/tex] is executed
For "Condition one" to be printed, the following conditions must be true:
if (col > 0) ---- the column must be greater than 0 i.e. column 1 and 2
if (arr[row][col] >= arr[row][col - 1]) --- the current element must be greater than the element in the previous column
Through the iteration of the array, the condition is met just once. When
[tex]row = 1[/tex] and [tex]col = 2[/tex]
[tex]arr[1][2] > arr[1][2-1][/tex]
[tex]arr[1][2] > arr[1][1][/tex]
[tex]4 > 3[/tex]
For "Condition two" to be printed, the following condition must be true:
if (arr[row][col] % 2 == 0) ----array element must be even
Through the iteration of the array, the condition is met twice. When
[tex]row = 0[/tex] and [tex]col = 1[/tex]
[tex]row = 1[/tex] and [tex]col = 0[/tex]
[tex]arr[0][1] = 2[/tex]
[tex]arr[1][0] = 4[/tex]
The largest form of a computer network is called
कम्प्युटर नेटवर्कको सबैभन्दा ठूलो रूप
aekar.xe.
Answer:
Internet.
Explanation:
In computing, WWW simply means World Wide Web. The world wide web was invented by Sir Tim Berners-Lee in 1990 while working with the European Council for Nuclear Research (CERN); Web 2.0 evolved in 1999. Basically, WWW refers to a collection of web pages that are located on a huge network of interconnected computers (the Internet). Also, users from all over the world can access the world wide web by using an internet connection and a web browser such as Chrome, Firefox, Safari, Opera, etc.
In a nutshell, the World Wide Web is an information system that is generally made up of users and resources (documents) that are connected via hypertext links.
The largest form of a computer network is called internet because it comprises of several groups of computer that are interconnected.
Generally, the standard Internet communications protocols which allow digital computers to transfer (prepare and forward) data over long distances is the TCP/IP suite.
Code to be written in python:
Correct answer will get brainliest! :)
For any positive integer S, if we sum up the squares of the digits of S, we get another integer S1. If we repeat the process, we get another integer S2. We can repeat this process as many times as we want, but it has been proven that the integers generated in this way always eventually reach one of the 10 numbers 0, 1, 4, 16, 20, 37, 42, 58, 89, or 145. Particularly, a positive integer S is said to be happy if one of the integers generated this way is 1. For example, starting with 7 gives the sequence {7, 49, 97, 130, 10, 1}, so 7 is a happy number.
Your task is to write a function compute_happy_numbers(range1, range2) , where range1 and range2 are each tuples of the form (lower_bound, upper_bound), and returns a tuple containing: (1) the number of happy numbers in range1, (2) the number of happy numbers in range2, (3) the number of the range (1 or 2) containing more happy numbers, or None if both ranges have the same number of happy numbers.
def compute_happy_numbers(range1, range2):
"""Your code here"""
Test Cases:
compute_happy_numbers((1,1), (1,1)) (1, 1, None)
compute_happy_numbers((1, 10), (11, 100)) (3, 17, 2)
why does computer need memory
Answer:
To Help you keep your cherisable and memorable moments.
What benefit do internal networked e-mail systems provide over Internet-based systems?
A) They enable the transmission of videos.
B) They allow e-mail to be sent to coworkers.
C) They allow files to be shared by sending attachments.
D) They provide increased security.
Answer:
The correct answer is D) They provide increased security.
In this problem, you will derive the efficiency of a CSMA/CD-like multiple access protocol. In this protocol, time is slotted and all adapters are synchronized to the slots. Unlike slotted ALOHA, however, the length of a slot (in seconds) is much less than a frame time (the time to transmit a frame). Let S be the length of a slot. Suppose all frames are of constant length L = kRS, where R is the transmission rate of the channel and k is a large integer. Suppose there are N nodes, each with an infinite number of frames to send. We also assume that dprop < s,="" so="" that="" all="" nodes="" can="" detect="" a="" collision="" before="" the="" end="" of="" a="" slot="" time.="" the="" protocol="" is="" as="">
⢠If, for a given slot, no node has possession of the channel, all nodes contend for the channel; in particular, each node transmits in the slot with probability p. If exactly one node transmits in the slot, that node takes possession of the channel for the subsequent k â 1 slots and transmits its entire frame.
If some node has possession of the channel, all other nodes refrain from transmitting until the node that possesses the channel has finished transmitting its frame. Once this node has transmitted its frame, all nodes contend for the channel.
Note that the channel alternates between two states: the productive state, which lasts exactly k slots, and the nonproductive state, which lasts for a random number of slots. Clearly, the channel efficiency is the ratio of k/(k + x), where x is the expected number of consecutive unproductive slots
a. For fixed N and p, determine the efficiency of this protocol.
b. For fixed N, determine the p that maximizes the efficiency.
c. Using the p (which is a function of N) found in (b), determine the efficiency as N approaches infinity
d. Show that this efficiency approaches 1 as the frame length becomes large
Answer:
He is correct
Explanation:
What is wrong with the following code?
int name = "Steve":
if (name = "Steve") {
System.out.prſntln("Hi Steve!);
}
which type of computer is used to process large amount of data
Answer:
Mainframe Computer
Explanation:
Supercomputers
if you are looking for a different answer, please let me know and i will take a look! i'd love to help you out with any other questions you may have
Demonstrate the Max() functio with example in ms excel
Make sure there is at least one blank cell underneath the list of integers you've chosen = MAX since this will insert a ready-to-use formula in a cell below the chosen range (C2:E7).
What does the term Max mean?The highest-valued item, or the item with the highest value within an iterable, is returned by the max() method. If the values are strings, then the comparison is done alphabetically.
Give an example of the Max () function's purpose.Any type of numeric data can have its maximum value returned by the MAX function. The slowest time in a race, the most recent date, the highest percentage, the highest temperature, or the biggest sales amount are just a few examples of the results that MAX can return. Multiple arguments are taken by the MAX function.
To know more about ms excel visit:-
https://brainly.com/question/20395091
#SPJ1
Anika added a picture to a cell in an Excel spreadsheet. She wants to permanently make the picture smaller. What
is the most efficient way to adjust the size of the picture?
compressing the picture in the Picture Tools tab
O changing the size of the cell where the picture was inserted
double-clicking the picture to click and drag a corner to the appropriate size
o editing the size of the photo in a different program and reinserting the picture
Answer:
A. Compressing the picture in the Picture Tools tab
Explanation:
To compress the size of a picture in Excel spreadsheet is by choosing the compress pictures option in the Picture Tools tab.
Once you select the picture(s) you want to reduce the size, a new option of 'Picture Format' will appear on the toolbar. In that option, many options will appear. One of these option is 'compress pictures'. With the help of this option, you can either compress picture or multiple pictures.
Therefore, the correct way to compress pictures in Excel spreadsheet us option A.
To qualify for a particular scholarship, a student must have an overall grade point average of 3.0 or above and must have a science grade point average of over 3.2. Let overallGPA represent a student’s overall grade point average and let scienceGPA represent the student’s science grade point average. Which of the following expressions evaluates to true if the student is eligible for the scholarship and evaluates to false otherwise?
a: (overallGPA > 3.0) AND (scienceGPA ≥ 3.2)
b: (overallGPA > 3.0) AND (scienceGPA > 3.2)
c: (overallGPA ≥ 3.0) AND (scienceGPA ≥ 3.2)
d: (overallGPA ≥ 3.0) AND (scienceGPA > 3.2)
Answer:
([tex]overallGPA \ge 3.0[/tex]) AND ([tex]scienceGPA > 3.2[/tex])
Explanation:
Given
[tex]overallGPA \to[/tex] Overall Grade Point Average
[tex]scienceGPA \to[/tex] Science Grade Point Average
Required
The expression that represents the given scenario
From the question, we understand that:
[tex]overallGPA \ge 3.0[/tex] --- average [tex]greater\ than\ or[/tex] equal to [tex]3.0[/tex]
[tex]scienceGPA > 3.2[/tex] --- average [tex]over[/tex] 3.2
Since both conditions must be true, the statements will be joined with the AND operator;
So, we have:
([tex]overallGPA \ge 3.0[/tex]) AND ([tex]scienceGPA > 3.2[/tex])
Hi, I have a CodeHS Python assignment called "Exclamation Points"
the assignment is as follows and I have no idea where to start with this if someone could help me please:
"Words are way more edgy when you replace the letter i with an exclamation point!
Write the function exclamations that takes a string and then returns the same string with every lowercase i replaced with an exclamation point. Your function should:
Convert the initial string to a list
Use a for loop to go through your list element by element
Whenever you see a lowercase i, replace it with an exclamation point in the list
Return the stringified version of the list when your for loop is finished"
Using the knowledge in computational language in python it is possible write the function exclamations that takes a string and then returns the same string with every lowercase i replaced with an exclamation point.
Writting the code;my_string = input("Enter text: ")
my_list = list(my_string)
for item in my_list:
if item == "i":
print "!"
my_list.remove("i")
print item
(" ").join(my_list)
my_string = list(input('Enter string: '))
for i, char in enumerate(my_string):
if char == 'i':
my_string[i] == '!'
print(''.join(my_string))
my_string = input("Enter text: ")
my_list = list(my_string)
for item in my_list:
if item == "i":
print "!"
my_list.remove("i")
else:
print item
(" ").join(my_list)
See more about python at brainly.com/question/18502436
#SPJ1
How many binary digits does a single hexadecimal digit represent?
Four binary digits
A single hexadecimal digit can represent four binary digits.
give the full form of GUI
Explanation:
graphical user interface
Answer:-
GUI ➺ Graphical User Interface.
5. Which of the following is a hypothetical concept?
a. Limited Memory
b. Self-aware Al
Fill in the blanks.
1. Al processes large amount of data using algorithms.
2. The term Al was coined in the year
3. The domain of Al that makes systems improve their decision-making abilities is called
c. Reactive Machines
- Intelligent systems refer to an approach that employ computers in
J
uses neural networks to process data to gain insights and give solutions
for Falco
Involving or based on a hypothesis: conjectural; involving or based on a postulated concept or theory. speculative arguments a fictitious circumstance.
How should a hypothetical example be written?The words or abbreviations "for instance," "for example," "i.e." or "e.g." are frequently used after a hypothetical example, albeit the latter two, as you are probably aware, will only come after a comma and won't initiate a new sentence like "for instance" or "for example." Use hypothetical examples with caution.
What is a fictitious person?The human whose existence is implied by other data rather than directly attested. theoretical individual hypothetical (adj.) is a 1580s term that means "based on or defined by a hypothesis, conjectural," from the Latinized form of the Greek word hypothesis, which means "pertaining to a hypothesis."
to know more about the hypothetical concept here:
brainly.com/question/28260252
#SPJ1
Five year ago, Amit was three times as old as Arman. Ten years later Amit would be twice as old as Arman. How old is Arman now? *
1 point
Answer:
50
Explanation:
write the program to accept the radius of circle and find its diameter coding
This image shows a web designer's grids for different pages on a website. The uppermost box on each page is the website's identity. Which important
feature of a good website has the designer violated?
A simplicity
B.
consistency
Ос
clarity
D. harmony
Answer: d
Explanation: hope this helps
Answer:
consistency
Explanation:
i got it right on plato