What's the question?
short note on first generation computer
Answer:
The period of first generation was from 1946-1959. The computers of first generation used vacuum tubes as the basic components for memory and circuitry for CPU
how do I take a picture of myself on an apple computers?
Answer:
with the camera
Explanation:
Answer:
press the camera and take a pic??
Explanation:
Question # 3
Dropdown
Finish the code for this bubble sort.
length = len(myList)
for n in range(length - 1):
for test in range(n + 1, length):
if myList[n] _____ myList[test]:
temp = myList[n]
myList[n] = myList [test]
myList[test] = temp
print(myList)
Answer:
The answer is >
Explanation:
I did the assignment on edge this was the correct answer
The complete code is length = len(myList), for n in range(length - 1):, for test in range(n + 1, length):, if myList[n] > myList[test]:.
What is coding?Computer code, or a set of instructions or a system of rules defined in a specific programming language, is a term used in computer programming (i.e., the source code).
Although learning to code is not difficult, it might be scary at first. The initial stages of learning something new might be difficult. With practice, persistence, and patience, coding becomes simpler. If you're thinking about learning to code, it's simple to get caught up in the challenge.
Languages written in an imperative, functional, logical, or object-oriented style are common. These coding language paradigms are available for programmers to select from in order to best meet their demands for a given project.
Therefore, the correct term to complete the code bubble sort is >.
To learn more about coding, refer to the link:
https://brainly.com/question/20712703
#SPJ2
In
the first computer ran a program from memory.
0 1942
1950
1948
1968
Can we trust in Avast Antivirus ⊕?⊕
Answer:
yes we can
Explanation:
im also using avast antivirus and it was no fault in avast antivirus
Answer:
Avast is a good antivirus program. It is not a scam or malware. I personely use Avast a while back and they are now basically the same thing, only with a different user interface.
Explanation:
Hope It's answer you plz mark as Brainlist
Which sentence best describes how block-based code works?
Answer:
Block-based code is a simpler way to code.
Explanation:
Block-based coding is a form of programming language where the developer issues instructions by dragging and dropping blocks.
WILL GIVE BRAINLIEST!! If a flowchart has a diamond with the words “yes” and “no” to the sides of it, then it is representing a program that is a sequence.
true
false
Answer:
false
Explanation:
a flowchart with a diamond and with the words “yes” and “no” to the sides of it, then it is representing a program with branches.
it represents branch, like an if , else statement.
It is not in sequence.
Answer:
True
Explanation:
) Find and write the o/p :
X=[“F”,66,”QE”,15,”S”,34]
Y=0
Z=” ”
A=0
for c in range(1,6,2)
Y+=c
Z=Z+X[c-1]+'$’
A+=X[c]
Print(x,y,z)
Answer:
The output of this question is
['F', 66, 'QE', 15, 'S', 34] 9 F$QE$S$
Explanation:
In this question the user want to print the value of X,Y and Z
Let calculate the value of X first.
As the value of X is not altered in the program to its value will be the same that is:
['F', 66, 'QE', 15, 'S', 34]
Now we will calculate the value of Y
It is written as
Y+=c
which can be written as Y=Y+c
The loop here start form 1, the it go to 3 then 5 as explained below
Range(1,6,2) is written
The first value is the start value
The second value is stop value
While the third value is how much to increment.
So first its value will be 1 then increment it by 2. It will become 3
then increment it by 2 again it will become 5. in the next step it will become 7 which is out of range
so
Y=Y+c => Y=0+1 (first loop)
Y=1+3 (second loop)
Y=4+5 (third loop)
Some y will be 9
Now let focus on the value of Z
Z= " " +X[1-1]+'$' (first loop) value of c=1
so it will become
Z=F$
Now in 2nd Loop
Z=" " + X[3-1]+'S' (2nd loop) value of c=3
it will become
Z=QE $
Now in 3rd Loop
Z=" " + X[5-1]+'S'
it will become
Z=" " S + $
so the overall answer of print will become
['F', 66, 'QE', 15, 'S', 34] 9 F$QE$S$
As a programmer, why do you think that skills and training are needed? Give 5 reasons.
What is globalization? O A. A constant change in weather patterns that is occurring all over the globe OB. A movement for countries to turn to an economy based on bartering C. The movement from many local economies to one economy that is global O D. The tendency for global companies to create small local businesses
Answer:
The movement from many local economies to one economy that is global
Explanation:
Globalization is when companies and governments from around the world come together through interaction.
Write a program that inputs a text file. The program should print the unique words in the file in alphabetical order. Uppercase words should take precedence over lowercase words. For example, 'Z' comes before 'a'. I am stuck on this python assignment. Don't need the answer asap, just some explaining of how to write code to do that. I know about the built in sort function
Answer:
Read the file and save it to a variable as a string, split the string variable and cast it to a set object using the set function to get the unique words in the file. Then use the max function with the key attribute to use regular expression module "re" to compare the first letter of each item to return in a list comprehension or append to a list.
Explanation:
The open function is used to import a file in python, the split string method splits the string to a list of items and the set function removes any duplicates of a word or item.
Using the for loop statement, iterate over the items and compare and return the items in alphabetical order with the 're' search method getting the item with uppercase letters with higher precedence than lowercase.
Create a code for playing blackjack
The first part of the code will create two variable.
One for the first card you’re dealt and one for the second.
Add those two variable for the total score you have
Then
Create a while loop that will stop if your score becomes above 21 or if the user says that they wish to stay.
Inside the while loop have ask the user if they want to hit or stay. Inside of the question be sure to print the current total that the user has
If the user inputs “hit” add a random number between 1 and 11 to their score.
If they input “stay” then print their final score
Then
Create a code for the dealer
The dealer should also start with two cards (remember you can always copy and paste and then edit your code)
Create a while loop for the dealer. (there is rule that dealers must always hit if their total is 16 or under
Print the dealers score once they are done.
Finally
Check if your score is higher than the dealer’s.
If it is you win
If not, you lose
Remember.
If either the dealer or you reach over 21 then that person automatically loses
Answer:
import random
is_stay = 'n'
y_fcard = random.randint(1, 11)
y_scard = random.randint(1, 11)
d_fcard = random.randint(1, 11)
d_scard = random.randint(1, 11)
you_score = y_fcard + y_scard
dealer_s = d_fcard + d_scard
print("Your score", you_score)
print("dealer's score", dealer_s)
while is_stay == 'n':
if you_score > 21:
break
you_score += random.randint(1, 11)
print("Your score", you_score)
is_stay = input("Do you want to stay y/n?: ")
if you_score > 21:
print("You lost")
quit()
while dealer_s <= 16:
dealer_s += random.randint(1, 11)
if dealer_s > 21:
print("The dealer lost")
quit()
if you_score > dealer_s:
print("You are the winner", "My score: ",you_score, "\nDealer's score: ", dealer_s)
else:
print("Sorry, you lost the game", "My score: ",you_score, "\nDealer's score: ", dealer_s)
Explanation:
The python program uses the random module's 'randint' to get a random integer number between 1 and 11, and adds the value to the user's score if the user decides to hit but compares the result with the dealer's if the user stays.
Select the correct answer from each drop-down menu.
What does a computer connect to in a VPN?
In a VPN, a computer connects to a ____
and then changes the ________ of your computer.
Answer:
"In a VPN, a computer connects to a server and then changes the Internet Protocol of your computer" -urgurlmarie
Source: https://brainly.com/question/19665457, -urgurlmarie
Opinion: You're answer is correct, I'll take this step by step but by connecting your PC to an server like OpenVPN, or a paid VPN service such as Nord VPN. You are changing your Internet Protocol of your PC to that servers I.P. Address.
help plz i need help ASAP
bhgydhusjbhhuidjs
Answer:
id.k
Explanation:
good luck
How do you do that ( the bit that I circled in the picture)
James wants to create a web page where he can write two paragraphs of text. The first paragraph of text should be colored red and the
second blue. Which snippet of code show the principle behind how James creates this page?
Answer:
The first code does it
Explanation:
Each of the attached code snippet is divide into two parts.
The CSS partThe html partFrom the four code snippets, the first one answers it.
The syntax to format the paragraph of an html text using css is:
p#paragraph-id{
color:color-name
}
Analysing each element
p# -> This implies that a paragraph is to be formatted
paragraph-id -> This represents the id of the paragraph
{} -> The open and close curly braces house the properties to be formatted
color:color-name -> implies that the color of the element be changed to color-name (e.g. red or blue)
In the body tag of the html code, the first paragraph has an id of para1 and the second has para2 as its id.
i.e. <p id = "para1">......
So, the first paragraph will be formatted red while the second will be blue
USB 3.1 offers an improvement over its predecessors by enabling a maximum data transfer rate of up to:
Answer:
10 Gbps
Explanation:
The full form USB is Universal Serial Bus. It is used to connect to electronics as well as computers. The 3.1 USB is a recent and advance version of the USB standard. It was released in the year 2013. It can transfer data speed up to a speed of 10 Gbps.
It USB 3.1 can use the USB-C connector types and other connector types as well.
List five types of system information that can be obtained from the Windows Task Manager. How can you use this information to confirm the presence of malware on a system
Answer:
Part A;
Five types of system information that can be obtained from the Windows Task Manager includes;
1) The processes taking place
2) The performance of the system components, including the, CPU, Memory, Disk, Wi-Fi, GPU, and a live summary of the metrics of the computer
3) The App history
4) The list of startup
5) The current users of the computer
Part B;
By going through list of active processes on the Windows Task Manager, a malware can be detected as a rogue or unidentified process that may be running on the background. The name of a process may seem legit, but however, the process is not supposed to be running, such as a program which is not running or installed on the system but the process is seen running on the Windows Task Manager, that is a sign of a malware on the system
Explanation:
types of network model
Answer:
OSI Model and TCP/IP Model
Explanation:
Write a program to have the computer guess at a number between 1 and 20. This program has you, the user choose a number between 1 and 20. Then I, the computer will try to my best to guess the number. Is it a 18? (y/n) n Higher or Lower (h/l) l Is it a 5?(y/n) n Higher or Lower (h/l) h Is it a 10? (y/n) y I got tour number of 10 in 3 guesses.
Answer:
This question is answered using C++ programming language.
#include<iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int main(){
int num, computerguess;
char response, hl;
cout<<"Choose your number: ";
cin>>num;
srand((unsigned) time(0));
int high = 20; int low = 1; int guess = 0;
computerguess = low + rand() % high;
cout<<"Is it "<<computerguess<<" ?y/n: ";
cin>>response;
while(response == 'n'){
cout<<"Higher or Lower? h/l: ";
cin>>hl;
if(hl == 'h'){ low = computerguess+1; }
else{ high = computerguess-1; }
guess++;
computerguess = low + rand() % high;
cout<<"Is it "<<computerguess<<" ?y/n: ";
cin>>response;
}
cout<<"I got your number of "<<num<<" in "<<guess+1<<" guesses.";
return 0;
}
Explanation:
This declares num (user input) and computerguess as integer
int num, computerguess;
This declares response (which could be yes (y) or no (n) and hl (which represents high or low) as char
char response, hl;
This prompts user for input
cout<<"Choose your number: ";
This gets user input
cin>>num;
This allows the computer be able to generate different random numbers at different intervals
srand((unsigned) time(0));
This declares and initializes the range (high and low) to 20 and 1 respectively. Also, the initial number of guess is declared and initialized to 0
int high = 20; int low = 1; int guess = 0;
Here, the computer take a guess
computerguess = low + rand() % high;
This asks if the computer guess is right
cout<<"Is it "<<computerguess<<" ?y/n: ";
This gets user response (y or n)
cin>>response;
The following iteration is repeated until the computer guess is right
while(response == 'n'){
This asks if computer guess is high or low
cout<<"Higher or Lower? h/l: ";
This gets user response (h or l)
cin>>hl;
If the response is higher, this line gets the lower interval of the range
if(hl == 'h'){ low = computerguess+1; }
If the response is lower, this line gets the upper interval of the range
else{ high = computerguess-1; }
This increments the number of guess by 1
guess++;
Here, the computer take a guess
computerguess = low + rand() % high;
This asks if the computer guess is right
cout<<"Is it "<<computerguess<<" ?y/n: ";
This gets user response (y or n)
cin>>response; }
This prints the statistics of the guess
cout<<"I got your number of "<<num<<" in "<<guess+1<<" guesses.";
I'm working on an assignment for my computer science class (Edhesive) and when I run the code, there are no errors. But when I try to check it, it comes up with a Traceback error.
My code:
b = float(input("Enter Temperature: "))
Traceback (most recent call last):
File "./prog.py", line 7, in
EOFError: EOF when reading a line
Answer:
The error is because you wrapped the input in float. First record the input and then modify it.
Explanation:
b = input("enter temp:")
b = float(b)
PLS HELP BEING TIMED!!!
Complete the following sentence.
The basics of managing money such as balancing a checkbook and making a budget are _____
skills
Answer:
Bank Rate skills
Explanation:
because it is i believe
What is the difference between an if-statement, an if-else statement, and an if-else-if statement? How are they similar?
This is in computer science principles
Answer:
Explanation:
If statement is saying one perspective. However, if else if is many different.
What is the function of a web browser, and what are the main components of a web address?
Answer:
The primary function of a web browser is to render HTML, the code used to design or "mark up" webpages. Each time a browser loads a web page, it processes the HTML, which may include text, links, and references to images and other items, such as cascading style sheets and JavaScript functions.
1. Protocol
2. Domain
3. Subdomain
4. Path
5. Query parameters
6. Fragment identifier
The Function of a Web Browser:
1. Requesting Web Pages: The web browser sends requests to web servers to fetch specific web pages or resources (such as images, videos, and stylesheets) associated with those pages.
2. Rendering Web Pages: Once the web browser receives the requested content from the server, it interprets and renders the HTML, CSS, and JavaScript code to display the web page's content and structure.
3. Supporting Multimedia: Web browsers are capable of handling various multimedia elements, such as images, audio, and video, allowing users to experience a rich and interactive web environment.
4. Managing History and Bookmarks: Web browsers keep track of the browsing history, allowing users to revisit previously visited sites. They also provide features to bookmark and save favorite websites for quick access.
Main Components of a Web Address (URL):
A web address, also known as a URL (Uniform Resource Locator), is the unique address used to identify a specific web page or resource on the internet. It consists of several components:
1. Protocol: The protocol is the method used to access the resource.
2. Domain: The domain is the address of the website or server hosting the resource. It is typically the main part of the URL.
3. Subdomain (Optional): Subdomains are prefixes added before the main domain.
4. Path: The path specifies the location of the specific resource on the server. It may include directories and filenames.
5. Query Parameters (Optional): Query parameters are additional data passed to the web server for processing.
6. Fragment Identifier (Optional): The fragment identifier is used to specify a specific section or anchor within a web page.
Learn more about Web here:
https://brainly.com/question/27961981
#SPJ6
A restaurant recorded the ages of customers on two separate days. You are going to write a program to compare the number of customers in their teens (ages 13 to 19).
What is the missing line of code to count the number of customers in their teens?
customerAges = [13, 3, 11, 24, 35, 25, 15, 18, 1]
countTeens = 0
for item in customerAges:
_____:
countTeens = countTeens + 1
if 13 <= item <= 19
if 13 < item < 19
if 13 <= item[0] <= 19
if 13 < item[0] < 19
Answer:
if 13 <= item <= 19
Explanation:
Edge 2021
The missing line of code to count the number of customers in their teens is if 13 <= item <= 19. The correct option is b.
What is programming?A form of computer programming language known as procedural programming describes a number of well-planned actions and processes during the course of its development.
It includes statements, functions, and commands that are organized systematically to finish a computing task or program. Its main focus is on developing procedures.
While object-oriented programming is a type of programming where the emphasis is on generating objects as opposed to actions and data or logic. Inheritance, polymorphism, abstraction, and encapsulation are its four guiding concepts.
Therefore, the correct option is b, if 13 <= item <= 19
To learn more about programming, refer to the link:
https://brainly.com/question/14368396
#SPJ2
What is the answer for 2.8.10 word games? This is what I have so far, but I can’t seem to be able to figure out the bananaSplit public strings.
Answer:
public String bananaSplit(int insertIdx, String insertText) {
return word.substring(0, insertIdx) + insertText + word.substring(insertIdx);
}
Explanation:
Do you have the other parts of the WordGames class?
heeeeelp
and thank you
Answer:
2375 calories
Explanation:
125% of 1900=2375 calories
Answer:
2375 calories
Explanation:
it's asking for 125% which is the same as 100% + 25%
100% is 1900
25% of 1900 is 475
1900 + 475 is 2375
Categorize each memory card as based on new or old technology. PLEASE HELP.
Answer:
SD Cards and XDQ Cards are new XD Cards and CF Cards are old.
Explanation:
Hope this helps.
One of the functions of an IDE is to check for: flowchart errors. Syntax errors. memory errors X input and output.
Answer:
flowchart errors
Explanation:
Answer:
flowchart errors
Explanation:
how do you take a picture on an apple computers
Answer:
You go to the launcher, then find Photo Booth. Photo Booth allows you to take photos. You can only take photos on the side where the screen is, since there isn't a camera on the back. I recommend taking a picture with a phone instead. For a screenshot, press command-shift-3.
Hope this helps!