I need help on these three questions I would really appreciate it

I Need Help On These Three Questions I Would Really Appreciate It

Answers

Answer 1

Answer:

True

c

void

Explanation:

I dont know how i know this...

x = 2. x+=15

Int returns number Boolean returns true of false . . . void return none.


Related Questions

Find an overall minimum two-level circuit (corresponding to sum of products expressions) using multiple AND and one multi-input OR gate per function for the following set of functions. Show a K-map for each function, and draw the final two-level circuit. You will have to share terms between F and G to find the minimum circuit.
F(a, b, c, d) = m(0, 1, 2, 3, 6, 7, 8, 10, 12, 13)
G(a, b, c, d) = {m(0, 1, 2, 3, 8, 9, 10, 13)

Answers

Answer:

si la pusiera en español te pudiera responer

A study found that 9% of dog owners brush their dog's teeth. Of 578 dog owners, about how many would be expected to brush their dog's teeth?

Answers

Answer:

do 578/9 to get a awnser then multiply it by 100 for a awnser then devide it by 578

Explanation:

there you go

answer : 526
1% = 5.78
9% = 5.78 x 9 which is 52
578-52 = 526

Which code segment results in "true" being returned if a number is even? Replace "MISSING CONDITION" with the correct code segment.

Answer Choices:
A. num % 2 == 0;
B. num % 0 == 2;
C. num % 1 == 0;
D. num % 1 == 2;

Answers

Answer:

num % 2 == 0

Explanation:

Functions are collection of code segments that are executed when called or evoked

The correct statement that can replace "MISSING CONDITION" is (a) num % 2 == 0

From the question, we understand that the condition is to return true if the number is an even number.

To do this, we simply take the modulus of the number and 2.

If the result of the modulus is 0, then the number is evenIf otherwise, then the number is odd

Hence, the correct statement that can replace "MISSING CONDITION" is (a) num % 2 == 0

Read more about missing code segments at:

https://brainly.com/question/18430675

what would be the result of running these two lines of code? symptoms = ["cough" "fever", "sore throat", "aches"] print (symtoms[3])

Answers

"aches"

an array starts at 0 so spot the 3 is spot 4

[1,2,3,4]

arr[3] = 4 in this case

Which of the following is the best way to keep up with trends in your industry?
Read the newspaper
Watch the news
Conduct scholarly research
Use social media

Answers

Answer:

Use social media

Explanation:

Social media has significantly helped to bridge gaps in the communication as end users are able to send and receive messages in real-time without any form of delay. Also, social media platforms facilitate the connection of friends, families, co-workers and brands with one another by sharing memories, innovations, new technologies, knowledge and ideas without being physically present in the same location through the use of social network services such as Face-book, Insta-gram, Twitter, LinkedIn, Zoom, Sk-ype, Hangout, You-Tube, etc.

Hence, the best way to keep up with trends in your industry is to through the use of social media because you get to see and learn from trending ideas, methods of production, technologies, and innovations that are being posted from time to time.

A company database needs to store information about employees (identified by ssn, with salary and phone as attributes), departments (identified by dno, with dname and budget as attributes), and children of employees (with name and age as attributes). Employees work in departments; each department is managed by an employee; a child must be identified uniquely by name when the parent (who is an employee; assume that only one parent works for the company) is known. We are not interested in information about a child once the parent leaves the company.Draw an ER diagram that captures this information.

Answers

I’m confused what are you asking

Prompt the user to enter the time of the day. The user should enter d for daytime and n for nighttime. Configure a boolean variable to store if it is daytime (true) or nighttime (false). Use the boolean variable to store if it is daytime or nighttime and print if the temperature is ideal if it needs to be raised if it needs to be lowered, and by how much.

Answers

Answer:

Check the photos for the answers

Explanation:

On Earth, the pattern of daytime and nighttime repeat every day. This phenomenon takes place because of the rotation of the earth on its own axis. The rotation of the earth causes day and night on earth. The length of day and night varies on the seasons and it also varies according to the part of the earth.

What are rotation and the revolution of the earth?

The rotation of the earth is one of the major movements of the earth which causes the day and night over the by the movement of the earth on its own axis. The rotation of the earth takes place from west to east direction.

Revolution is also one of the movements of the earth where the earth revolves around the sun and causes changes in season and also the duration of day and night due to its tilt over its axis.

Therefore, On Earth, the pattern of daytime and nighttime repeat every day. This phenomenon takes place because of the rotation of the earth on its own axis. The rotation of the earth causes day and night on earth. The length of day and night varies on the seasons and it also varies according to the part of the earth.

Learn more about the “revolution of the earth” here:

brainly.com/question/17731832

#SPJ2

Declare an array of 10 integers. Initialize the array with the following values: 000 101 202 303 404 505 606 707 808 909 Write a loop to search the array for a given number and tell the user if it was found. Do NOT write the entire program. Example: User input is 404 output is "found". User input is 246 output is "not found"

Answers

Answer:

In C++:

#include <iostream>

using namespace std;

int main(){

   int myArray[10] = {000, 101, 202, 303, 404, 505, 606, 707, 808, 909};

   int num;

   bool found = false;

   cout<<"Search for: ";

   cin>>num;

   for(int i = 0;i<10;i++){

       if(myArray[i]==num){

           found = true;

           break;

       }

   }

   if(found){ cout<<"found"; }

   else { cout<<"not found"; }

   return 0;

}

Explanation:

This line initializes the array

int myArray[10] = {000, 101, 202, 303, 404, 505, 606, 707, 808, 909};

This line declares num as integer

   int num;

This initializes boolean variable found to false

   bool found = false;

This prompts user for input

   cout<<"Search for: ";

This gets user input

   cin>>num;

This iterates through the array

   for(int i = 0;i<10;i++){

This checks if num is present in the array

       if(myArray[i]==num){

If yes, found is updated to true

           found = true;

And the loop is exited

           break;

       }

   }

If found is true, print "found"

   if(found){ cout<<"found"; }

If found is false, print "not found"

   else { cout<<"not found"; }

State whether the data described below are discrete or​ continuous, and explain why. The durations of movies in seconds

Answers

Answer:

the data are continuous because the data can take any value in an interval.

An entity can be said to have __ when it can be wronged or has feelings of some sort
PLEASE HELP!!!

Answers

moral status because moral status is your feelings

Graphics consisting of text, that can be shaped and stretched in a variety of ways, are called
a.WordArt
b.SmartArt
c.Text Boxes
d. Clip Art​

Answers

Answer:

Word Art

Explanation:

Given your answer choices Word Art is the only one consisting of text that can be shaped and stretched in a variety of ways.

Please help ASAP!
A career can include classes, experiences, jobs, and:

A. fields.

B. training.

C. regions.

D. laws.

Answers

b. training is the correct answer

Your task is to write and test a function which takes three arguments (a year, a month, and a day of the month) and returns the corresponding day of the year (for example the 225th day of the year), or returns None if any of the arguments is invalid.

Hint: You need to find the number of days in every month, including February in leap years.

Answers

Answer:

This is in python

Explanation:

Alter my code if you need anything changed. (You may need to create a new function to add a day to February if necessary)

months = [31,28,31,30,31,30,31,31,30,31,30,31]

monthNames = ['january','february','march','april','may','june',

            'july','august','september','october','november','december']

array = []

def test(y,m,d): #Does not account for leap-year. Make a new function that adds a day to february and call it before this one

   if m.lower() not in monthNames or y < 1 or d > 31:

       if m.lower() == "april" or m.lower() == "june" or m.lower() == "september" or m.lower() == "november" and d > 30:

           return None

       elif m.lower() == "february" and d > months[1]:

           return None

       return None

   num = monthNames.index(m.lower()) #m should be the inputted month

   months[num] = d

   date = months[num]

   for n in range(num):

       array.append(months[n])

   tempTotal = sum(array)

   

   return tempTotal + date

x = int(input("Enter year: "))

y = input("Enter month: ")

z = int(input("Enter day: "))

print(f"{y.capitalize()} {z} is day {test(x,y,z)} in {x}")

Question 1.
Write a function called ReadTextFile that accepts a string path to the provided file as an
argument, opens the file, splits the file on spaces, and then returns a list of those strings.
• Arguments: String - a path to the puppy.txt file
• Return: A list of strings

Answers

#python code

def ReadTextFile(string):

with open(string, "r", encoding="utf-8") as file:

return file.read().split(" ")

print(ReadTextFile("puppy.txt"))

cmd |> ['text', 'text']

By the way, you can look into the Russian community "brainly", I published a lot of similar code there.

znanija.com/app/profile/21571307

What’s the difference packet switching and message switching??

Answers

Im not sure but the person above is right x :)))


Explanation dudjdb

Changing the color of the text in your document is an example of

Answers

Answer:

???????????uhhh text change..?

Explanation:

Answer:

being creative

Explanation:

cause y not?

Compression algorithms vary in how much they can reduce the size of a document.
Which of the following would likely be the hardest to compress?
Choose 1 answer:

A. The Declaration of Independence

B. The lyrics to all of the songs by The Beatles

C. A document of randomly generated letters

D. A book of nursery rhymes for children

Answers

b the lyrics to all of the songs by the beatles !

The statement that represents the thing that would likely be the hardest to compress is a document of randomly generated letters. Thus, the most valid option for this question is C.

What is an Algorithm?

An algorithm may be characterized as a type of methodology that is significantly utilized for solving a problem or performing a computation with respect to any numerical problems.

According to the context of this question, an algorithm is a set of instructions that allows a user to perform solutions with respect to several numerical and other program-related queries. It can significantly act as an accurate list of instructions that conduct particular actions step by step in either hardware- or software-based routines.

Therefore, the statement that represents the thing that would likely be the hardest to compress is a document of randomly generated letters. Thus, the most valid option for this question is C.

To learn more about Algorithms, refer to the link:

https://brainly.com/question/24953880

#SPJ3

Given a HashMap pre-filled with student names as keys and grades as values, complete main() by reading in the name of a student, outputting their original grade, and then reading in and outputting their new grade.Ex: If the input is:Quincy Wraight73.1the output is:Quincy Wraight's original grade: 65.4Quincy Wraight's new grade: 73.1GIVEN TEMPLATES StudentGrades.javaimport java.util.Scanner;import java.util.HashMap;public class StudentGrades {public static void main (String[] args) {Scanner scnr = new Scanner(System.in);String studentName;double studentGrade; HashMap studentGrades = new HashMap(); // Students's grades (pre-entered)studentGrades.put("Harry Rawlins", 84.3);studentGrades.put("Stephanie Kong", 91.0);studentGrades.put("Shailen Tennyson", 78.6);studentGrades.put("Quincy Wraight", 65.4);studentGrades.put("Janine Antinori", 98.2); // TODO: Read in new grade for a student, output initial// grade, replace with new grade in HashMap,// output new grade }}

Answers

wait I’m confused what are you asking?

Answer:

import java.util.Scanner;

import java.util.HashMap;

public class StudentGrades {

     

  public static void main (String[] args) {

     Scanner scnr = new Scanner(System.in);

     String studentName;

     double studentGrade;

     

     HashMap<String, Double> studentGrades = new HashMap<String, Double>();

     

     // Students's grades (pre-entered)

     studentGrades.put("Harry Rawlins", 84.3);

     studentGrades.put("Stephanie Kong", 91.0);

     studentGrades.put("Shailen Tennyson", 78.6);

     studentGrades.put("Quincy Wraight", 65.4);

     studentGrades.put("Janine Antinori", 98.2);

     

     // TODO: Read in new grade for a student, output initial

     //       grade, replace with new grade in HashMap,

     //       output new grade

     studentName = scnr.nextLine();

     studentGrade = scnr.nextDouble();

     System.out.println(studentName + "'s original grade: " + studentGrades.get(studentName));

     

     for (int i = 0; i < studentGrades.size(); i++) {

        studentGrades.put(studentName, studentGrade);

     }

     

     System.out.println(studentName + "'s new grade: " + studentGrades.get(studentName));

     

  }

}

Explanation:

The program first reads in the entire name (scnr.nextLine()) and the next double it sees (scnr.nextDouble()). In the HashMap, it is formatted as (key, value). studentName is the key, while studentGrade is the value. To get the name when printed, use studentName. To get the grade, use studentGrades.get(studentName).

After, use a For loop that replaces the studentGrade with the scanned Double by using studentName as a key. Use the same print statement format but with different wording to finally print the new grade. Got a 10/10 on ZyBooks, if you have any questions please ask!

The ABC box company makes square puzzle cubes that measure 4 inches along each edge. They shipped the cubes in a box 8 in x 12 in x 16 in. How many cubes can they ship in the box?

Answers

Answer: They can ship 32 puzzle cubes in the box.

Explanation: So the volume of each puzzle cubes = side³

=(4)³ cubic inches.

Then the volume of the box is= (8×12×16) cubic inches.

(8×12×16)/4^3= 32

Write a program called clump that accepts an ArrayList of strings as a parameter and replaces each pair of strings with a single string that consists of the two original strings in parentheses separated by a space. If the list is of odd length, the final element is unchanged. For example, suppose that a list contains

Answers

Answer:

In Java:

public static void clump(ArrayList<String> MyList) {  

   for(int i = 0; i<MyList.size()-1;i++){

       String newStr = "(" + MyList.get(i) + " "+ MyList.get(i + 1) + ")";

  MyList.set(i, newStr);

  MyList.remove(i + 1);

   }

       System.out.println("Updated ArrayList: " + MyList);

 }

Explanation:

First, we define the method

public static void clump(ArrayList<String> MyList) {  

Next, we iterate through the ArrayList

   for(int i = 0; i<MyList.size()-1;i++){

This clumps/merges every other ArrayList element

       String newArr = "(" + MyList.get(i) + " "+ MyList.get(i + 1) + ")";

This updates the elements of the ArrayList

  MyList.set(i, newArr);

This removes ArrayList elements at odd indices (e.g. 1,3...)

  MyList.remove(i + 1);

   }

This prints the updated List

       System.out.println("Updated ArrayList: " + MyList);

 }

Define a function roll() that takes no arguments, and returns a random integer from 1 to 6. Before proceeding further, we recommend you write a short main method to test it out and make sure it gives you the right values. Comment this main out after you are satisfied that roll() works.

Answers

Answer:

Follows are the code to this question:

#include <iostream>//defining a header file

using namespace std;

int roll()//defining a method roll

{

return 1+(rand() %5);//use return keyword that uses a rand method

}

int main()//defining main method

{

cout<<roll();//calling roll method that print is value

return 0;

}

Output:

4

Explanation:

In this code,  the "roll" method is defined, that uses the rand method with the return keyword, that returns the value between 1 to 6, and in the next step, the main method is declared, that uses the print method to calls the roll method.

Which heading size fits for the word headings​

Answers

Answer:

Explanation:

h1 i think

What is the output of the following code snippet if the variable named cost contains 100? if cost < 70 or cost > 150 : discount = 0.8 * cost else : discount = cost print("Your cost is ", discount)

Answers

Answer:

The output is: Your cost is  100

Explanation:

Given

The above code snippet

and

[tex]cost = 100[/tex]

Required

Determine the output of the code

if cost < 70 or cost > 150

The above condition checks if cost is less than 70 or cost is greater than 150

This condition is false because 100 is neither less than 70 nor is it greater than 150

So, the else statement will be executed.

discount = cost

Which means

discount = 100

So, the print instruction will print: Your cost is  100

Robert has opened his own pet supply store so he can help himself to treats and toys whenever he wishes. In order to encourage customers to shop at his store more, he is implementing a customer loyalty program. For every $100 spent, the customer earns a 10% discount on a future purchase. If the customer has earned a discount, that discount will be automatically applied whenever they make a purchase. Only one discount can be applied per purchase. Implement a class Customer that represents a customer in Robert's store.

Answers

Answer:

Explanation:

The following code is written in Python and creates a class called customer which holds the customers name, purchase history amount, and current total. It also has 3 functions, a constructor that takes the customer name as a parameter. The add_to_cart function which increases the amount of the current total. And finally the checkout function which applies the available coupon and resets the variables if needed, as well as prints the info the to screen.

class Customer():

   customer = ""

   purchased_history = 0

   current_total = 0

   def __init__(self, name):

       self.customer = name

   def add_to_cart(self, amount):

       self.current_total += amount

   def checkout(self):

       if self.purchased_history >= 100:

           self.current_total *= 0.90

           self.purchased_history = 0

       else:

           self.purchased_history += self.current_total

       print(self.customer + " current total is: $" + str(self.current_total))

       self.current_total = 0

A(an)_______is built-in preset calculation.
formula
function
equation
AutoSum​

Answers

Answer:

Hello! The answer to your question is function I had the same question and got it right!

Explanation:

Hope this helped:)

whats this oh _____
what is it
A) jane
B) juan.
C)juan
D) horse

Answers

Answer:

juan duhhhhh hehehe

Explanation:

why was the 80s bad for Disney i know one example but ill tell you after you answer

Answers

Answer:

The dark stories behind it? i dont  know lol

Use the drop-down menus to explain what happens when a manager assigns a task in Outlook.
1. Managers can assign tasks to other users within_______ .
2. Once the task is assigned, Outlook__________ the assignment to that user.
3. The user must_______ the task to have it placed in their_________ .

Answers

Answer:

1. an organization

2. emails

3. accept

4. to-do list

Explanation: edge

Answer:Use the drop-down menus to complete statements about assigning tasks in Outlook.

A Task Request form is an interactive way to assign tasks to

✔ Outlook users

and report updates on the status of an assigned task.

An assigned task sends

✔ an email

request for the user to accept or decline and sends

✔ an automated response message

to the assigner.

Explanation:

List the three ways Python can handle colors.

Answers

Answer:

Try using coloramapackage in python for text colour & has cross platform support across Windows & Linux. It can also be used in conjunction with existing ANSI libraries like Termcolor. This approach would be better than manually printing ASCII sequences for text colouring on terminals. from colorama import Fore, Back, Style

Explanation:

Create a flowchart that assigns a counselor to a student.
You need to ask a student for the first letter of his/her last name. Assign a counselor based on the following criteria:
A through M are assigned to Ms. Jones
N through Z are assigned to Mr. Sanchez

Answers

Please Help! Unit 6: Lesson 1 - Coding Activity 2
Instructions: Hemachandra numbers (more commonly known as Fibonacci numbers) are found by starting with two numbers then finding the next number by adding the previous two numbers together. The most common starting numbers are 0 and 1 giving the numbers 0, 1, 1, 2, 3, 5...
The main method from this class contains code which is intended to fill an array of length 10 with these Hemachandra numbers, then print the value of the number in the array at the index entered by the user. For example if the user inputs 3 then the program should output 2, while if the user inputs 6 then the program should output 8. Debug this code so it works as intended.

The Code Given:

import java.util.Scanner;

public class U6_L1_Activity_Two{
public static void main(String[] args){
int[h] = new int[10];
0 = h[0];
1 = h[1];
h[2] = h[0] + h[1];
h[3] = h[1] + h[2];
h[4] = h[2] + h[3];
h[5] = h[3] + h[4];
h[6] = h[4] + h[5];
h[7] = h[5] + h[6];
h[8] = h[6] + h[7]
h[9] = h[7] + h[8];
h[10] = h[8] + h[9];
Scanner scan = new Scanner(System.in);
int i = scan.nextInt();
if (i >= 0 && i < 10)
System.out.println(h(i));
}
}
Other Questions
Mike has $40, which is $6 more than twice the amount of money that Karly has. How much money does Karly have? please help ill give brainliest PLEASE HELP ITS TIMED!Order from least to greatest -0.3, -1.1, 2, -0.9, and 0.4 2) A bag contains some red, blue andyellow balls. 30% of the balls areblue and 40% are red.If there are 50 balls in the bag,how many are yellow?Show work and make an equivalent equation How are the governments of Britain and Germany similar?A. Both have a monarch as the ceremonial head.B. Both grant their citizens basic human rights.C.both use military to restrain protesters.D.both have religious heads as executive leaders. 22. Why do you think the sea urchin was chosen to test the effect of changes in pH? If ABCD is a square, what is m A shark can swim at an average speed of 25 miles per hour. At this rate, how far can a shark swim in 2.5 hours? 3. What is the tone of this poem? (In Flounders Field)A.HappyB.FearfulC.SomberD.Exciting Hellllppp meee please due in 10 mins Pls help me Im having a hard day pls answer these? Write a function in terms of t that represents the situation.Sales of $10,000 increase by 65% each year.y =13 hey can someone help:)? Find the value of x such that the data set has the given mean100, 123, 105, 115, 110, x; mean 120x= can sum1 help me ???? PLEASE HELPPP!!!Do I use enough sensory details to make the scenes vivid and realistic In 2p, 2 is known as Why does the librarian tell Jessenia and Nathaniel that they have to read at least the first twenty pages? Which statement accurately describes Hinduism? Which of these is NOT a science and engineering practice?asking questionsopinion and factless ideasanalyzing and interpreting dataobtaining, evaluating, and communicating information