Answer:
An unsolvable problem is one for which no algorithm can ever be written to find the solution. An undecidable problem is one for which no algorithm can ever be written that will always give a correct true/false decision for every input value.
Undecidable problems simply describes problems which do not have the algorithm to produce the required 'yes' or 'no' solution while unreasonable time algorithm are those problems which run time grows exponentially.
A problem is tagged as Undecidable if no algorithm exists to allow such problem produce a 'yes' or 'no' solution. Hence, undecidable problems would sometimes run infinitely or give a wrong output in some cases. Unreasonable time algorithm describes problems whose run time increases in an exponential nature. Such programs increases in run time very quickly due to the nature of the of the computation. Example ; 10^n.., where n is a range of values.Therefore, both undecided and unreasonable time algorithm affects the limits of computing attainable by different computer systems.
Learn more :https://brainly.com/question/21242780?referrer=searchResults
Assignment 4: Evens and Odds
n = int(input("How many numbers do you need to check? "))
even = 0
odd = 0
for x in range(n):
num = int(input("Enter number: "))
if num % 2 == 0:
print(str(num) + " is an even number.")
even += 1
else:
print(str(num) + " is an odd number.")
odd += 1
print("You entered "+str(even)+" even number(s).")
print("You entered "+str(odd)+" odd number(s).")
This works for me. Best of luck.
The program checks if user supplied integers are even or odd and displays the appropriate value. The program is written thus in python 3 ;
n_check = int(input("How many numbers do you need to check? "))
#number of values user wishes to test
even_count = 0
odd_counts = 0
for n in range(n_check):
num = int(input("Enter number: "))
if num % 2 == 0:
#even numbers leave no remainder when divided by 2
print(str(num) + " is an even number.")
even_counts+= 1
#increase count of even numbers
else:
print(str(num) + " is an odd number.")
odd_counts += 1
print("You entered "+str(even_counts)+" even number(s).")
print("You entered "+str(odd_counts)+" odd number(s).")
#display the number of even and odd numbers entered.
Learn more : https://brainly.com/question/24171161
Which best describes why plagiarism can have legal consequences, such as lawsuits and fines?
It upsets the authors of original works.
It can harm the original author’s reputation.
It is considered a form of stealing.
It can lead to the original author being arrested.
Answer:
C. It is considered a form of stealing.
Explanation:
Sorry, I'm a little late but still hope this helps:)
Answer:
The answer is C
Explanation:
Direction: Put a check (/)mark if the statement is
correct and Irofessional. Letter W if it is incorrect.
Explanation:
Xghhdghxhdhzhhzshh, hdhshxxx
In a science study group, Leonardo explains how atoms make up molecules. Talia repeats what Leonardo says in her own words. How is Talia practicing active listening? She is reflecting on what has been said. She is politely disagreeing with Leonardo. She is asking Leonardo a lot of questions. She is focused on only important information.
Answer:
A she is reflecting on what leonardo said but in her own words
Explanation:
Answer:
A: She is reflecting on what has been said.
Explanation:
Edge 2020
Why might be one reason a stock becomes more valuable over time?
A. The industry is growing
B. The company is well managed
C. There’s a lot of demand on the product
D. All of the above
ABC IF U HAVE A LEGENDARY PET ON ADOPT ME OR ANYTHING COOL!! <3
Answer:
ABC PLEASE
Explanation:
Answer:
ABC i have mega owl and neon cow and mega frost <3
what messages do we get about ourselves from rap and hip hop
The lyrics let us know that we have reached a very low point in the music industry
you need to listen to some YEEEE YEEEEE music
A spreadsheet software program requires that users predefine each field’s data type. The software program is most likely programmed using a language that is
open.
predefined.
strongly typed.
weakly typed.
Answer:
Pretty sure its weakly typed
Answer:
strongly typed
Explanation:
This is used to track a user’s browser and download history with the intent to display popup banner ads that will lure a user into making a purchase.
Select one:
Adware
Worm
Phishing
Malware
Answer:
Adware
Explanation:
Adware is software designed to display advertisements on your screen, most often within a web browser.
Hope that helps.
A software that used to track a user’s web browser and download history with the intent to display popup banner adverts (ads) that will lure an end user into making a purchase is: A. Adware.
An adware is also referred to as an advertisement-supported software and it can be defined as a software application (program) that is designed and developed to automatically display advertising materials such as banners or pop-up adverts (ads) on the graphical user-interface (GUI) of a user's computer system or mobile device.
The main purpose for the development of an adware is to automatically display popup banner adverts (ads), in order to lure or convince an end user into making purchase of the advertised product or service.
In conclusion, an adware is a software that is typically used to track and gather information about a user’s web browser and download history with the intent to display popup banner adverts (ads) that will lure an end user into making a purchase.
Read more on adware here: https://brainly.com/question/9692296
what is the appeal of listening to music
happiness certain songs bring joy to certain people
Plagiarism occurs when writers
use others’ ideas and writing as their own.
exclude a bibliography from their work.
include direct quotations from others.
use others’ work as inspiration.
Answer:
A- Use others' ideas and writing as their ownExplaniation:
it's plagiarism, just don't take other people's work and pass it as your own. smh lol
Answer:
Just so I don't get reported for copying I will tell all the answers that are not right.
Explanation:
B.
C.
D.
Hope this helps.
Need answer Asap!!!! Which file type is the best choice if the image will be made into a billboard?
Answer:
A .psd file
Explanation:
Adobe photoshop files are always going to be same and there is no compression. Even better .ai files are saved into equations so you can't alter or dumb it down.
Complete the sentence
. A single IP address ______ be simultaneously assigned to more than one device in the network.
Answer:
Cannot, I will just stick with that answer. if not that it's can.
Which kind of a person will you be if you prove to be accountable for your actions?
Answer: You would be a person of integrity.
Explanation: Look up Integrity for details.
Python Project Worksheet
Print | Save
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.
Example of expected output: The output below is an example of a “Favorite Animal” message. Your specific results will vary depending on the choices you make about your message.
Output
The kangaroo is the cutest of all. It has 5 toes and a beautiful heart. It loves to eat chips and salsa, although it will eat pretty much anything. It lives in New York, and you must be super sweet to it, or you may end up as its meal!
When you've completed writing your program code, save your work by selecting 'Save' in the Python IDLE. When you submit your assignment, you will attach this Python file separately.
Part 3: Post Mortem Review (PMR)
Using complete sentences, respond to all the questions in the PMR chart.
Review Question Response
What was the purpose of your program?
How could your program be useful in the real world?
What is a problem you ran into, and how did you fix it?
Describe one thing you would do differently the next time you write a program.
Part 4: Save Your Work
Don't forget to save this worksheet. You will submit it for your assessment.
Print | Save
Answer:
I will do it and send it in a pic
Explanation:
give me a sec
Style guides advise writers on which issues? Check all that apply.
applying consistent standards
citing sources
formatting text
performing research
using correct definitions
Answer:
A. applying consistent standards
B. citing sources
C. formatting text
Explanation:
A style guide can be defined as a set of standards that typically guides writers or authors in writing and the design of documents such as memo, novels, books etc, for a particular organization, specific publications or general use by the public such as students, academic scholars or institutions, government, careers, businesses etc.
Basically, a style guide avails the writers or authors with the sets of standards so as to ensure uniformity in formatting techniques, style and citations.
Hence, style guides advise writers on issues such as;
I. Applying consistent standards.
II. Citing sources.
III. Formatting text.
Answer:
ABC
Explanation:
Describe how each command is used by matching the command to its purpose.
removes data fror
places it on the cli
Paste
cancels a previou
Undo
restores a previou
Copy
duplicates data a
clipboard
Cut
Redo
places data in its
Answer:
The correct answer to this question is given below in the explanation section.
Explanation:
The correct command matches its use are given below:
Paste Places data in its
Undo Cancel a previous
Copy Duplicates data on the clipboard
Cut Removes data for places it on the clipboard
Redo restores a previous
Paste term is used when you are placing copied data. Undo is used to cancel a previous action performed while Redo is used to restores a previously performed action. The copy is used to duplicate data on the clipboard while Cut is used to removes data for places/ to paste somewhere else.
I need help please I’m behind
Answer:
The last one
Explanation:
Software is coding so they'll be impressed :)
Answer:
network administrator
Explanation:
It says a job that manages NETWORK hardware and software. So I would put network administrator.
It is usually simple to delete old posts and online conversations if they make you look bad.
True
False
Answer:
not usually..sorry :(
Explanation:
Name the type of software which provides the user interface. [1 mark
Explanation:
user interface, also sometimes called a human-computer interface, comprises both hardware and software components. It handles the interaction between the user and the system.
There are different ways of interacting with computer systems which have evolved over the years. There are five main types of user interface:
command line (cli)
graphical user interface (GUI)
menu driven (mdi)
form based (fbi)
natural language (nli)
TASK 1 – Work out the cost.
The cost of the trip for each student is a share of the cost of a coach plus the cost of entry to the theme park.
The total cost of the coach will be $550. The entry cost to the park is $30 for each student. The national park gives one free ticket for every ten that are bought, which must be taken into consideration.
Set up a program that:
• stores the cost of the coach
• stores the cost of an entry ticket
• inputs the estimated number of students taking part, this must be validated on entry and an
unsuitable entry rejected
• calculates and outputs the recommended cost per student to ensure the trip does not make a loss.
Write an algorithm to complete Task 1, using either pseudocode, programming statements or a
flowchart. [5]
Answer:
please check the question again
Explanation:
Kellyn needs to move Slide 8 of his presentation up so that it becomes Slide 6. What best describes how he can do this using the slide thumbnails to the left of the main view?
A. He can right-click on Slide 6, then choose “Insert Before” and select Slide 8 from the options given.
B. He can right-click on Slide 8 and hold the mouse button while dragging up until the insertion point is after Slide 6.
C. He can left-click on Slide 8 and hold the mouse button while dragging up until the insertion point is after Slide 5.
D. He can left-click on Slide 6, then choose “Move To” and select Slide 8 from the options given.
Answer:
C
Explanation:
Most programs for slides allow the individual to click and drag a slide where it belongs.
Pls Hurry!!
What is the missing line of code?
>>> sentence = "Programming is fun!"
>>> _____
'gra'
sentence[2:5]
sentence[3:5]
sentence[3:6]
sentence[2:6]
Answer:
The answer is [3:6]
Explanation:
At first i thought it would be sentence[3:5], but when i put my theory to the test, it was actually sentence[3:6].
hope i helped
Answer:
the answer is [3:6]
Explanation:
define reading and writing that regards storage
Answer:
Reading and writing on computers and other gadgets require storage.
HOPE THIS HELPS
HAPPY THANKSGIVING
CAN SOMEONE HELP PLEASE GIVING OUT BRAINLIEST
can anyone answer this
Answer:
I dont see the question
Explanation:
The template code provided is intended to take two inputs, x and y, from the user and print "pass" if one or more of the following is true:
x is not less than 4
y is not greater than 5 and x + y is less than 7
However, when using De Morgan's law to simplify this code, the programmer has made some mistakes. Can you correct the errors so the code functions as intended?
/* Lesson 6 Coding Activity Question 2 */
import java.util.Scanner;
public class U3_L6_Activity_Two{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
int y = scan.nextInt();
if(!((x 5) || x+y > 7))
System.out.println("pass");
}
}
import java.util.Scanner;
public class U3_L6_Activity_Two{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
int y = scan.nextInt();
if(x>=4|| ((y < 5) && ((x+y) < 7))){
System.out.println("pass");
}
}
}
I'm pretty sure this is what you're looking for. Best of luck.
For formatting and readability sake, the given code is re-written as follows:
/* Lesson 6 Coding Activity Question 2 */
import java.util.Scanner; // 1
public class U3_L6_Activity_Two{ // 2
public static void main(String[] args){ // 3
Scanner scan = new Scanner(System.in); // 4
int x = scan.nextInt(); // 5
int y = scan.nextInt(); // 6
if(!((x 5) || x+y > 7)) // 7
System.out.println("pass"); // 8
}
}
The line that needs to be fixed is the if statement in line 7.
As given in the instruction, the code prints "pass" if one or more of the following is true:
i. x is not less than 4. This can be re-written as;
! ( x < 4 )
ii. y is not greater than 5 and x + y is less than 7. This can be re-written as;
! (y > 5) && (x + y < 7)
To have the right operand of ii to have a negation, we can re-write as follows;
! (y > 5) && ! (x + y > 7) (i.e changing the less than sign to greater than and then putting the negation sign (!)). This is great so that the De Morgan's law will be applicable on both sides.
Note:
a. ! is the Java's equivalent way of writing the logical operator NOT
b. && is the Java's equivalent way of writing the logical operator AND
Since one or more of the conditions in (i) and (ii) need to be true before the "pass" is printed, we can combine (i) and (ii) using the OR operator ( || ) as follows;
! ( x < 4 ) || ( ! (y > 5) && ! (x + y > 7) ) ----------------(***)
The De Morgan's laws are very great for making deductions, equivalence and valid proofs when using logical operators.
The laws are as follows;
i. ∼ (P ∧ Q) = ∼ P ∨ ∼ Q
This can be written as;
! (P AND Q) = ! P OR !Q
or in Java like syntax as
! (P && Q) = ! P || !Q
ii. ∼ (P ∨ Q) = ∼ P ∧ ∼ Q
This can be written as;
! (P OR Q) = ! P AND !Q
or in Java like syntax as
! (P || Q) = ! P && !Q
Using these laws, we can simplify our expression in (***) as follows;
! ( x < 4 ) || ( ! (y > 5) && ! (x + y > 7) )
a. Start with the right side i.e ( ! (y > 5) && ! (x + y > 7) )
The De Morgan's law (stated in (ii) above) will remove the negation from both terms in the right side term, change the && to || and then put a single negation to apply to both terms in the bracket to give the following;
! ( x < 4 ) || ! ( y > 5 || x + y > 7 )
b. Now, there are two main terms - ! ( x < 4 ) and ! ( y > 5 || x + y > 7 ) separated by ||
Apply the De Morgan's law (stated in (i) above) to remove the negation from both terms, then change the || to && and then put a single negation to apply to both terms.
! ( x < 4 && (y > 5 || x + y > 7))
The result in b is the simplified version of the condition in the if statement.
The complete and corrected code is therefore written as follows;
/* Lesson 6 Coding Activity Question 2 */
import java.util.Scanner; // 1
public class U3_L6_Activity_Two{ // 2
public static void main(String[] args){ // 3
Scanner scan = new Scanner(System.in); // 4
int x = scan.nextInt(); // 5
int y = scan.nextInt(); // 6
if(! ( x < 4 && (y > 5 || x + y > 7) ) ) // 7
System.out.println("pass"); // 8
}
}
Read more about De Morgan's law at: https://brainly.com/question/13317840
Choose the correct term to complete the sentence.
is often used to describe the scope of a variable that is only accessible within a function.
Neighborhood
Local
Functional
Answer:
Answer is Local
Explanation:
Answer:
Local
Explanation:
Edge 2020
Umm, my computer is being rlly wierd and not letting me give brainliest to someone, anybody know what to do???
Answer:
just restart it and when the computer is done restarting then repeat the process once more. This is what i did and it made a huge difference.
Explanation:
This resets the main hard drive and the reboots the system entirely. It helps clear out bugs and fixes any and all small issues.
Write a python program to find factorial, use exception handling and display an appropriate message if the user inputs alphabets instead of the number. Emulate Index error for a list and handle that exception. Find factorial for all numbers in a given list and display the result.
def func(lst):
fac_lst = ([])
try:
for x in lst:
i = 0
fac = 1
while i < x:
fac *= (x - i)
i += 1
fac_lst.append(fac)
return fac_lst
except TypeError:
return "Please input only numbers!"
except IndexError:
return "Please stay within the index!"
lst = ([1, 2, 3, 4, 5, 6, 7, 8])
print(func(lst))
I think this is what you're looking for. Best of luck.