Answer:
Explanation:
In Javascript, you can accept an input value by using the prompt() function and saving the input into a variable. In the following lines of code, I have declared the three variables at the beginning and then prompted the user to enter a value for each and saved the values in the correct variables. In Javascript length is a keyword so I used len instead.
let base, height, len;
base = prompt("Enter Base value: ");
height = prompt("Enter Height value: ");
len = prompt("Enter Length value: ");
Role and importance of internet in today's world
Today, the internet has become unavoidable in our daily life. Appropriate use of the internet makes our life easy, fast and simple. The internet helps us with facts and figures, information and knowledge for personal, social and economic development.
What is the main purpose of QBE
it is to give people confidence to achieve their ambitions.
Hope this Helped :T
Answer:
QBE purpose is to give people the confidence to achieve their ambitions.
It is important to know who your audience is and what they know so that you can tailor the information to the audience’s needs. True or false PLEASE HURRY!!!!
Which of these elements help të orient a user?
to
A
a dialog
B.
page name
c. an icon
b. a banner
Fast please
answer:
page name
Explanation:
Answer:
b. page name
Explanation:
plato
6. What is saddle-stitch binding?
Answer:
Saddle stitch staplers or simply saddle staplers are bookbinding tools designed to insert staples into the spine of folded printed matter such as booklets, catalogues, brochures, and manuals.
Explanation:
what is computer how it is work
Explanation:
its an electronic device that processes data and stores information
Write a program that prompts the user for a word or phrase, and determines if the entry is a palindrome. A palindrome is a word or phrase which reads the same forwards and backwards. For example, if the user entered: madam the program should display: That is a palindrome Your program should ignore spaces, commas, and apostrophes, and ignore differences between upper and lower case. For example, the phrase: Madam, I'm Adam would be considered a palindrome.
Answer:
Explanation:
The following code is written in Python. It asks the user for an input. Then cleans the input using regex to remove all commas, whitespace, and apostrophes as well as making it all lowercase. Then it reverses the phrase and saves it to a variable called reverse. Finally, it compares the two versions of the phrase, if they are equal it prints out that it is a palindrome, otherwise it prints that it is not a palindrome. The test case output can be seen in the attached picture below.
import re
phrase = input("Enter word or phrase: ")
phrase = re.sub("[,'\s]", '', phrase).lower()
reverse = phrase[::-1]
if phrase == reverse:
print("This word/phrase is a palindrome")
else:
print("This word/phrase is NOT a palindrome")
Using the drop-down menu, complete the sentences to identify these programming language-specific
IDES.
Code::Blocks is an IDE for__
RubyMine is an IDE for__
IntelliJ is an IDE for__
C-Free is an IDE for__
Answer:
Code::Blocks is an IDE for C, C++ and Fortran
RubyMine is an IDE for Ruby
IntelliJ is an IDE for Java
C-Free is an IDE for C/C++
Explanation:
Answer:
Code::Blocks is an IDE for ✔ C++
RubyMine is an IDE for ✔ Ruby and Rails
IntelliJ is an IDE for ✔ Java
C-Free is an IDE for ✔ C++
Explanation:
I got them right therefore these answers are correct. Trust me!
What will be the value of x after the following loop terminates?
int x = 10;
for (int i = 0; i < 3; i++)
x*= 1;
Answer:
10
Explanation:
This for-loop is simply iterating three times in which the value of x is being set to the value of x * 1. So let's perform these iterations:
x = 10
When i = 0
x = x * 1 ==> 10
When i = 1
x = x * 1 ==> 10
When i = 2
x = x * 1 ==> 10
And then the for-loop terminates, leaving the value of x as 10.
Hence, the value of x is equal to 10.
Cheers.
Write a program that uses an STL List of integers. a. The program will insert two integers, 5 and 6, at the end of the list. Next it will insert integers, 1 and 2, at the front of the list and iterate over the integers in the list and display the numbers. b. Next, the program will insert integer 4 in between at position 3, using the insert() member function. After inserting it will iterate over list of numbers and display them. c. Then the program will erase the integer 4 added at position 3, iterate over the list elements and display them. d. Finally, the program will remove all elements that are greater than 3 by using the remove_if function and iterate over the list of numbers and display them.
Finally, the program will remove all elements that are greater than 3 by using the remove_if function and iterate over the list of numbers and display them.
Answer:
answer:
#include <iostream>
#include<list>
using namespace std;
bool Greater(int x) { return x>3; } int main() { list<int>l; /*Declare the list of integers*/ l.push_back(5); l.push_back(6); /*Insert 5 and 6 at the end of list*/ l.push_front(1); l.push_front(2); /*Insert 1 and 2 in front of the list*/ list<int>::iterator it = l.begin(); advance(it, 2); l.insert(it, 4); /*Insert 4 at position 3*/ for(list<int>::iterator i = l.begin();i != l.end();i++) cout<< *i << " "; /*Display the list*/ cout<<endl; l.erase(it); /*Delete the element 4 inserted at position 3*/ for(list<int>::iterator i = l.begin();i != l.end();i++) cout<< *i << " "; /*Display the list*/ cout<<endl;
l.remove_if(Greater); for(list<int>::iterator i = l.begin();i != l.end();i++) cout<< *i << " ";
/*Display the list*/
cout<<endl; return 0;
}
What are 2 ways the internet has influenced investing activities.
Answer:
1 Physical Stocks Have Become Electronic
2 Stock Day Trading Jobs Were Created
3 More Americans Own Stocks
4 Stock Brokerage Firms are More Efficient
5 Some Investors are Bypassing Stock Brokers
6 Real Estate Agents Have Greater Access
7 Clients Have Direct Access to Real Estate Properties
8 Real Estate Advertising.
Explanation:
What does a declaration provide for a variable?
Answer:
Explanation:
Declaration of a Variable. A declaration of a variable is where a program says that it needs a variable. For our small programs, place declaration statements between the two braces of the main method. The declaration gives a name and a data type for the variable. It may also ask that a particular value be placed in the variable.
Select the correct text in the passage.
Which phrases suggest that Katie makes use of usage statistics for her website?
Katie reads several blogs online. She searches for her favorite recipes on some of the sites. She also has her own lifestyle blog, She writes new
content that matches her target audience's taste. She also uses interesting images to go with the content.
What is the function of ctrl+f
Answer:
searching
Explanation:
you can search for a keyword on a site
Answer:
Ctrl+f is used to search things up faster. It shows a mini searchbar that you can type keywords into to help you find what you need on that specific site.
Hi everyone,
I am having some troubles solving a python3 problem, maybe someone can help:
If we have the following array:
l = [10, 11, 0, 2]
By using map and filter function we should list:
["Even", "Odd", "Even", "Even"]
Thank you!
Answer:
Explanation:
You do not need the filter function to get that output, just the map function. You will however need a function that checks each element and returns Even or Odd if they are or not. The following code gives the output that you want as can be seen in the picture below.
def checkEven(s):
if s % 2 == 0:
return "Even"
else:
return "Odd"
l = [10, 11, 0, 2]
print(list(map(checkEven, l)))
5. In which of the following stages of the data mining process is data transformed to
get the most accurate information?
A. Problem definition
B. Data gathering and preparation
C. Model building and evaluation
D. Knowledge deployment
Accompanies: Data Mining Basics
Answer:B
Explanation: BC I SAID
On the Audio Tools contextual tab, which tab will control how the audio file appears, if it appears, on the slide itself?
A) Bookmarks
B) Playback
C) Format
D) Design
Answer:
B.
Explanation:
Answer:
C. Format
Explanation:
Bookmarks are for future reference, playback is for listening and scrolling through your project, and design, it's basically what it says, designing.
Formating is the size of the video, the frame, how and if it appears, and the actual timeline and video/audio/ogg file or mp3 itself.
from an after effects user.
and a semi music designer that uses audacity.
I hope this helps :)
Data can be entered into a cell as a numeric label (used to identify or name information) by first entering which character?
O A. : (colon)
OB. + (plus sign)
o C. '(apostrophe)
O D. $(dollar sign)
Answer:A
Explanation:
I really don't know
Data can be entered into a cell as a numeric label (used to identify or name information) by first entering which character is : (colon). The correct option is A.
What is data?Data is information that has been transformed into a format that is useful for transfer or processing in computing. Data is information that has been transformed into binary digital form for use with modern computers and communication mediums.
Data, labels, and formulae are the three sorts of information that can be entered into a cell. Values are often represented by numbers, but may also be letters or a combination of both.
Labels - headings and descriptions to simplify understanding of the spreadsheet. Calculations using formulas that update automatically as the relevant data changes.
Therefore, the correct option is A. : (colon).
To learn more about data, refer to the link:
https://brainly.com/question/29033397
#SPJ2
For each, indicate whether it applies to patents, copyrights, both or neither.
a. copyright
b. patent
c. both
d. neither
1. Can apply to computer software
2. Can apply to computer hardware
3. Can apply to a poem as well as a computer program
4. Protects an algorithm for solving a technical problem
5. Guarantees that software development will be profitable
6. Is violated when your friend duplicates your Windows operating system CD Lasts forever
7. Can be violated, even though you have no idea that someone else had the idea first
8. Can be given a Rule Utilitarian justification
9. Provides a potential economic benefit to the author of a computer program
Answer:
1. Copyright
2. Both
3. Copyright
4. neither
5. neither
6. Copyright
7. Patent
8. Patent
9. Copyright
Explanation:
Copyright is the license form for software and intangible item which provides legal right to owner. Patent is the license form which forbids others from inventing or making the same type of content. Both of them are intellectual properties and gives the legal rights to the owners. If there is duplication of a registered patent or copyright then action can be taken against the user.
how to make a website
Answer:
You need an email and a job and to be over 18 for business ones or a legal gaurdian if you have none then ur hecced uwu :333
computer hardware is
Answer:
Computer hardware refers to the physical parts of a computer and related devices.
Explanation:
Examples of hardware are: keyboard, the monitor, the mouse and the central processing unit (CPU)
Answer:
As know an computer hardware is all the physical (outer) parts of a computer that you as a user or non-user can see the hardware devices and touch them. For example we can say the C.P.U we can touch that device and also see it with our very own eyes.
Presentations must have ____
to be effective.
a.lots of special effects
b.a clear central message
c.bullet points
d.varied slide layouts
Answer:
B, a clear central message
Explanation:
brainliest please?
What are some features of that that you find difficult to use, hard to locate,etc
identify and brief explain the two basic type of switching
Answer:
1. Packet switching
2. Circuit switching
Explanation:
Packet switching: data is divided in to small chunks called as packet and the packets are send over the network. It is used for sending huge amount of data. Different packet can take different path in the network.
Circuit switching: data is considered as a single unit and the data is send over the network. It is used for sending small amount of data. Same path is used for sending the entire data.
Create a program that will compute the voltage drop across each resistor in a series circuit consisting of three resistors. The user is to input the value of each resistor and the applied circuit voltage. The mathematical relationships are 1. Rt- R1 R2 + R3 It Vs/Rt Where Rt -Total circuit resistance in ohms R1,R2,R3 Value of each resistor in ohms It - Total circuit current in amps Vs -Applied circuit voltage Vn- Voltage drop across an individual resistor n (n-1, 2 or 3) in volts Rn-R1,R2, or R3
Use the values of 5000 for R1, 3000 for R2,2000 for R3, and 12 for Vs. The output of the program should be an appropriate title which identifies the program and include your name. All values should be accompanied by appropriate messages identifying each. Submit a printout of your program and the printed output to your instructor
Answer:
The program in Python is as follows:
R1 = int(input("R1: "))
R2 = int(input("R2: "))
R3 = int(input("R3: "))
Rt = R1 + R2 + R3
Vs = int(input("Circuit Voltage: "))
It = Vs/Rt
V1= It * R1
V2= It * R2
V3= It * R3
print("The voltage drop across R1 is: ",V1)
print("The voltage drop across R2 is: ",V2)
print("The voltage drop across R3 is: ",V3)
Explanation:
The next three lines get the value of each resistor
R1 = int(input("R1: "))
R2 = int(input("R2: "))
R3 = int(input("R3: "))
This calculates the total resistance
Rt = R1 + R2 + R3
This prompts the user for Circuit voltage
Vs = int(input("Circuit Voltage: "))
This calculates the total circuit voltage
It = Vs/Rt
The next three line calculate the voltage drop for each resistor
V1= It * R1
V2= It * R2
V3= It * R3
The next three line print the voltage drop for each resistor
print("The voltage drop across R1 is: ",V1)
print("The voltage drop across R2 is: ",V2)
print("The voltage drop across R3 is: ",V3)
What are the main components of a desktop PC
Answer:
A motherboard.
A Central Processing Unit (CPU)
A Graphics Processing Unit (GPU), also known as a video card.
Random Access Memory (RAM), also known as volatile memory.
Storage: Solid State Drive (SSD) or Hard Disk Drive (HDD)
k-means clustering cannot be used to perform hierarchical clustering as it requires k (number of clusters) as an input parameter. True or False? Why?
Answer:
false
Explanation:
its false
How many ways can you save in MS Word?
Answer:
three waves
Explanation:
You can save the document in Microsoft word in three ways: 1. You can save by clicking File on top left corner and then click save as. After that browse the location where exactly you want to save in your computer.
Database accessibility DBA writes subschema to decide the accessibility of database.
a. True
b. False
Write an interface named HGTTU which specifies a universal constant int value of 42, and a single method named getNormilazedIntValue that takes no parameters and returns an int. The purpose of which is to get the value of the object's int instance variable, add the universal constant and return the result.Next, write a second named myInt which is composed of a single int instance variable (and the minimal set of customary methods) that implements HGTTU.
Answer:
Hope this helps.
//HGTTU.java
public interface HGTTU {
int universalConstant = 42;
public int getNormilazedIntValue();
}
//MyInt.java
public class MyInt implements HGTTU {
int instanceFiled;
Override
public int getNormilazedIntValue() {
return instanceFiled+universalConstant;
}
}
Explanation: