jiz
Active
2
3
- 2(7 - 15)
What is the value of
4​

Answers

Answer 1

Answer: I think it is c

Explanation: hope this helps

Answer 2
- 2(7) - 15) is the answer i believe

Related Questions

Write pseudocode for a function that translates a telephone number with letters in it (such as 1-800-FLOWERS) into the actual phone number. Use the standard letters on a phone pad.

Answers

Answer:

Explanation:

Function telToNumbers with one parameter of a String input for the telephoneNumber

String var newTelephoneNum;

for loop through telephoneNumber {

Char var currentChar = current Character in the loop;

currentChar to lower Case;

Switch statement (currentChar) {

 case "a" or "b" or "c" : newTelephoneNum += "2"; break;

 case "d" or "e" or "f" : newTelephoneNum += "3"; break;

 case "g" or "h" or "i" : newTelephoneNum += "4"; break;

 case "j" or "k" or "l" : newTelephoneNum += "5"; break;

 case "m" or "n" or "o" : newTelephoneNum += "6"; break;

 case "p" or "q" or "r" or "s" : newTelephoneNum += "7"; break;

 case "t" or "u" or "v" : newTelephoneNum += "8"; break;

 case "w" or "x" or "y" or "z" : newTelephoneNum += "9"; break;

 default : newTelephoneNum += currentChar; break;

 }

}

print newTelephoneNum;

nder a Huffman encoding ofnsymbols with frequenciesf1, f2, . . . , fn, what is the longest a codewordcould possibly be

Answers

Answer:

The longest codeword that could possibly be for "n" symbol is n-1 bits.

Explanation:

From the given information:

Suppose we are to consider a set of frequencies [tex]\mathtt{f_1,f_2,f_3 ...,f_n}[/tex], for which f is a symbol for the length n. Therefore, the longest codeword that could possibly be for "n" symbol is n-1 bits.

However, during the encoding for "n" in conjunction with n-2, then the possibilities for n are; [tex]\mathtt{\dfrac{1}{2}, \dfrac{1}{4}, ... \dfrac{1}{2^{n-2}}}[/tex]

We can conclude that the longest codeword that could possibly be for "n" symbol is n-1 bits.

Write code which takes a sentence as an input from the user and then prints the length of the first word in that sentence.
Hint: think about how you know where the first word ends - you may assume that the sentence contains more than one word.
Input a code in the following:
/* Lesson 3 Coding Activity Question 4 */
import java.util.Scanner;
public class U2_L3_Activity_Four{
public static void main(String[] args){
/* Write your code here */
}
}

Answers

import java.util.Scanner;

public class U2_L3_Activity_Four {

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       System.out.println("Enter a sentence.");

       String sent = scan.nextLine();

       int count = 0;

       for (int i = 0; i < sent.length(); i++){

           char c = sent.charAt(i);

           if (c != ' '){

               count++;

       }

           else{

               break;

           }

       

   }

       System.out.println("The first word is " + count +" letters long");

   

   }

}

We check to see when the first space occurs in our string and we add one to our count variable for every letter before that. I hope this helps!

Following are the java code to the given question:

import java.util.Scanner;//import package

public class U2_L3_Activity_Four //defining a class U2_L3_Activity_Four

{

  public static void main(String[] args) //defining main method

  {

      String s;//defining String variable

      int x,v=0;//dclaring integer variable x,v

      Scanner obx = new Scanner(System.in);//creating Scanner class Object

      System.out.println("Enter a sentence.");//print message

      s = obx.nextLine();//input string value

      for (x = 0; x < s.length(); x++)//defining loop to count string length

      {

          char c = s.charAt(x);//defining char variable that hold char value

          if (c != ' ')//defining if that check space value

          {

              v++;

          }

      }

      System.out.println("The first word is " + v +" letters long");//print length of first word

  }

}

Output:

Please find the attached file.

Program Explanation:

Import package.Defining a class U2_L3_Activity_Four, inside the class main method is declared.Defining a string variable "s" and an integer variable "x,v=0", and a scanner class object is created that inputs string value.In the next step, a for loop is defined that checks the first word in the string value and prints its length value.

Learn more:

brainly.com/question/16092924

If you need to download something for a class, first

Answers

Answer:

left click, then click save image

Explanation:

Answer:

first try to do it on kami, then on Google docs, then on doc-hub

Which choices correctly describe an Else
statement? Check all that apply.
a conditional statement that will show
different information if the answer to the If
statement is true
a conditional statement that will show
different information after the If statement
answer is false
a statement that contains the code to be
executed when the If value is false or zero
a conditional statement that runs a piece of
code when all program statements are true

Answers

Answer: B C

Explanation:

Answer:B,C,D

Explanation:

How can you enter Task Manager in Windows? Select 3 options. right-click the taskbar and choose Start Task Manager right-click the taskbar and choose Manage Tasks press Ctrl + Shift + Tab press Ctrl+Alt+Delete and then click Task Manager press Ctrl + Alt + Esc

Answers

Answer:

Press [Ctrl]+[Shift]+[Esc] and Windows Task Manager will launch instantly

Explanation:

Answer:
1. Press Ctrl+Alt+Delete and then click Task Manager
2. right-click the taskbar and choose Start Task Manager

3. Press Ctrl+Alt+Esc

Explanation:

Took the test. If you are on a windows computer you can also test the answers to see what works and what does not.

ANSWER THIS CORRECTLY TO GET BRAINLY
What is a row of data in a database called?

a
Field

b
File

c
Record

d
Title

Answers

the answer is c. record

On his website, Mario has a video that visitors must click to play. He wants the video to play automatically when the page loads. What attribute should Mario add to the
A. controls
B. loop
C. autoplay
D. play

Answers

Answer:

C: AutoPlay

Explanation:

it is C because the definition of AutoPlay is: a functionality that causes a video, audio file, etc. to play automatically, without action from a user.

Write an If/else statement to check whether host is online. If it is online, then print system is online otherwise print system is unreachable.

Answers

Answer:

from socket import *

hostname = input('Enter the host to be scanned: ')

ip_add = gethostbyname(hostname)

connections = [ ]    

for i in range(133, 136):

   s = socket(AF_INET, SOCK_STREAM)

     

   conn = s.connect_ex((ip_add, i))

   print(conn)

   connections.append(conn)

if 0 in connections:

   print ('Host is online')

   s.close()

else:

   print ('system is unreachable')

Explanation:

The python source code above scans for all the available range of ports in the provided hostname, if any port is available, the host is online else the program print the error message "system is unreachable.

Information technology

Answers

Answer:

Study or use of systems

Explanation:

especially, computers, telecommunications for storing retrieving and sending some informations

Answer:

Information technology is the use of computers to store, retrieve, transmit and manipulate data, or information, often in the context of business or other enterpise.

PLEASE ANSWER QUICK
How can improving one’s reasoning skills also improve one’s performance on the job?
A. If one can improve one’s reasoning, one can also improve one’s physical fitness and athletic performance.
B. If one can improve one’s reasoning, one can perform anything.
C. High-performing workers always work reasonable schedules.
D. High-performing workers are able to analyze sophisticated streams of data and solve complex problems.

Answers

Answer: C

Explanation:

C high performance workers always work

For the sake of maximizing hardware utilization in a multicore system with a many to many threading model, the relationship of the number of user threads U to the number of kernel threads K to the number of CPU cores P should be:

Answers

Answer:

"U > K > P" would be the appropriate answer.

Explanation:

When performing or executing the software, user threads (U) could easily be accomplished and therefore are typically wide in the amount to provide excellent or excellent performance. Multiple kernel threads could indeed be appointed to every other core as well as try to emulate the algorithm for scheduling.

4.2 code need help plz someone 15 points if u help

Answers

def func():  

 total = 0

 while True:

   pet = input("What pet do you have? ")

   if pet == "rock":

     return

   total += 1

   print("You have a {} with a total of {} pet(s)".format(pet, total))

func()

We wrapped our code in a function so that whenever the user enters rock, we can simply return and exit the function. If you have any other questions, I'll do my best to answer them.

A database has one physical schema and one conceptual (logical) schema but many external schemas (views).
a) True
b) False

Answers

Answer:

true

Explanation:

A database has one physical schema and one conceptual (logical) schema but many external schemas (views): a. True.

A database refers to a structured (organized) collection of data that are stored on a computer system and usually accessed in various ways such as electronically.

In database management, a database schema can be defined as a structure which is typically used to represent the logical design of the database. Thus, it denotes how data are stored (organized) and the relationships existing in a database management system (DBMS).

Generally, there are two (2) main types of a database schema and these include;

Physical database schema: it is only one per database.Conceptual (logical) schema: it is only one per database.

However, there are multiple number of external schemas (views) for each database because it is what an end user is interested in.

Read more on database here: https://brainly.com/question/3259292

label parts of camera

Answers

Answer:

Viewfinder.

Pentaprism.  

Focusing Screen.

Condenser Lens.

Digital Sensor.

Shutter. ...

Display. ...

Electronics.

Explanation:

To italicize text located within a text box, which grouping would you use? Effects Text Font Typography

Answers

Answer:

Font

Explanation:

It seems like the only real answer from reading the lesson

what is the first things u do upon seeing this sheet?​

Answers

Answer:

umm ok

Explanation:

plz mark brainlyest

Mmmmmm yh, I’m not sure ??

Using range(1,101), make two list, one containing all even numbers and other containing all odd numbers. How can I do this on Python

Answers

Answer:

even = []

odd = []

for i in range(1,101):

if i % 2 == 0:

even.append(i)

else:

odd.append(i)

Using range(1,101), the list of even and odd number can be done in python as follows;

odd_numbers = []

even_numbers = []

for i in range(1, 101):

  if i%2 == 0:

     even_numbers.append(i)

  else:

     odd_numbers.append(i)

print(even_numbers)

print(odd_numbers)

The variable odd_numbers is initialise with an empty list

The variable even_numbers is initialise with an empty list.

Then we loop through the range 1 to 101 as required.

If the looped numbers is divided by 2 without a remainder then the number is appended to the empty list even_numbers.

Else if it has a remainder, the looped number are appended to the empty list, odd_numbers.

Then we print the even_numbers and odd_numbers.

learn more about python here; https://brainly.com/question/14157737?referrer=searchResults

When would you insert a merge field?

A. when updating the source document

B. when choosing which information you want to enter into a letter

C. when choosing which information you want to insert in a merged letter

D. when creating a document

Answers

Answer:

Once you have a data source connected to your document, adding merge fields is a way to personalize a document with information from the data source.

I believe it’s C, but please correct me if I’m wrong!!

Corina has added animations to objects on a particular slide within a presentation. She needs to reorder the animations. How should she achieve this goal?

A. Use the Preview button.
B. Access the Advanced timeline.
C. Use the Animation pane.
D. Delete and recreate the animations in the correct order.

Answers

I think it's B but im not 100% sure sorry if im wrong

Answer: C

Explanation:

Write function that ask for input from a user. Use this input as input for the countdown function that we wrote using the while loop. If the user types 'end', the program exits, otherwise it keeps going.

Answers

Answer:

Written in Python:

def myfunction():

     userinput = input("User input: ")

     while(userinput != "end"):

           countdown(userinput)

           userinput = input("User input: ")

Explanation:

This line defines the function

def myfunction():

           This line prompts user for user input

           userinput = input("User input: ")

           The following while loop checks if userinput is not "end". It continues execution until user input "end"

           while(userinput != "end"):

                       countdown(userinput) If yes, the input is passed to the countdown function for execution

                       This line prompts user for another user input

                       userinput = input("User input: ")

Please note the above code segment assumes that countdown() function has already been written and defined

What question did the use of a telescope by Hubble answer?

A

Is Earth the center of the universe


B

Is the sun the center of the universe


C

How do the planets move in the solar system


D

Are there more galaxies beyond the Milky Way

Answers

Answer:

The Answer is D

The Electronic Age began in the
A. 1940s
B. 1970s
C. 1980s
D. 1990s

Answers

Answer:

1940

Explanation:

B:1940s,
Explanation can I have brainiest


Please help!! I’ll mark you brainly

Answers

Answer:

1. raster and vector

2. Resolution

3. Color depth

4. Forms, Shapes

5. Tone

6. Balance

7. White space

8. Aspect ratio

9. Focus

10. cropping

Hope this helped :)

i’m just your second response so you can mark him brainly lol

Help me! I’ll mark you brainly ! Please help me I need this now

Answers

Explanation: For number 3 I would say shade and darkness.

Compute the decimal representation for each of the following numbers.

a. (1100110)2
b. (346)7
c. (1024)8
d. (3B2)16
e. (AF72)16
f. (120121)3
g. (A22)11

Answers

Answer:

[tex](1100110)_2= 102_{10[/tex]

[tex](346)_7= 181_{10[/tex]

[tex](1024)_8 = 532_{10[/tex]

[tex](3B2)_{16} = 946_{10[/tex]

[tex](AF72)_{16}= 44914_{10[/tex]

[tex](120121)_3= 421_{10[/tex]

[tex](A22)_{11} = 1234_{10}[/tex]

Explanation:

Required

Convert to decimal

To do this we get the position of individual digits (starting from the rightmost digit).

Then each digit is multiplied by the base raise to power its position.

Lastly, we sum the results of the products.

Following the above steps, we have:

[tex]a.\ (1100110)_2[/tex]

[tex]= 1 * 2^6 + 1 * 2^5 + 0 * 2^4 + 0 * 2^3 + 1 * 2^2 + 1 * 2^1 + 0 * 2^0[/tex]

[tex]= 1 * 64 + 1 * 32 + 0 * 16 + 0 * 8 + 1 * 4 + 1 * 2 + 0 * 1[/tex]

[tex]= 64 + 32 + 0 + 0 + 4 + 2 + 0[/tex]

[tex]= 102[/tex]

Hence:

[tex](1100110)_2= 102_{10[/tex]

[tex]b.\ (346)_7[/tex]

[tex]= 3 * 7^2 + 4*7^1 + 6 * 7^0[/tex]

[tex]= 3 * 49 + 4*7 + 6 * 1[/tex]

[tex]= 147 + 28 + 6[/tex]

[tex]= 181[/tex]

Hence:

[tex](346)_7= 181_{10[/tex]

[tex]c.\ (1024)_8[/tex]

[tex]= 1 * 8^3 + 0 * 8^2 + 2 * 8^1 + 4 * 8^0[/tex]

[tex]= 1 * 512+ 0 * 64 + 2 * 8 + 4 * 1[/tex]

[tex]= 512+ 0 + 16 + 4[/tex]

[tex]= 532[/tex]

Hence:

[tex](1024)_8 = 532_{10[/tex]

[tex]d.\ (3B2)_{16[/tex]

[tex]= 3 * 16^2 + B * 16^1 + 2 * 16^0[/tex]

[tex]= 3 * 256 + B * 16 + 2 * 1[/tex]

B represents 11, so we have:

[tex]= 3 * 256 + 11 * 16 + 2 * 1[/tex]

[tex]= 768 + 176 + 2[/tex]

[tex]= 946[/tex]

Hence:

[tex](3B2)_{16} = 946_{10[/tex]

[tex]e.\ (AF72)_{16[/tex]

[tex]= A * 16^3 + F * 16^2 + 7 * 16^1 + 2 * 16^0[/tex]

[tex]= A * 4096 + F * 256 + 7 * 16 + 2 * 1[/tex]

A represents 10 and F, 15; So, we have:

[tex]= 10 * 4096 + 15 * 256 + 7 * 16 + 2 * 1[/tex]

[tex]= 40960 + 3840 + 112 + 2[/tex]

[tex]= 44914[/tex]

Hence:

[tex](AF72)_{16}= 44914_{10[/tex]

[tex]f.\ (120121)_3[/tex]

[tex]= 1 * 3^5 + 2*3^4 + 0*3^3 + 1*3^2 + 2*3^1 + 1*3^0[/tex]

[tex]= 1 * 243 + 2*81 + 0*27 + 1*9 + 2*3 + 1*1[/tex]

[tex]= 243 + 162 + 0 + 9 + 6 + 1[/tex]

[tex]= 421[/tex]

Hence:

[tex](120121)_3= 421_{10[/tex]

[tex]g.\ (A22)_{11[/tex]

[tex]= A * 11^2 + 2 * 11^1 + 2 * 11^0[/tex]

[tex]= A * 121 + 2 * 11 + 2 * 1[/tex]

A represents 10, so we have:

[tex]= 10 * 121 + 2 * 11 + 2 * 1[/tex]

[tex]= 1210 + 22+ 2[/tex]

[tex]= 1234[/tex]

Hence:

[tex](A22)_{11} = 1234_{10}[/tex]

Which input value causes the loop body to execute a 2nd time, thus outputting "In loop" again? { String s = "Go"; while ((!s.equals("q"))&& (!s.equals("")) System.out.println("In loop"); 5 - scnr.nextO;
a) "Quit"
b) "q" only
c) "Q only
d) Either "q" or "Q"

Answers

Answer:

a) "Quit"  

c) "Q only

Explanation:

Given

String s = "Go";

while ((!s.equals("q"))&& (!s.equals("")))  {

System.out.println("In loop");

s = scnr.next();

}

Required

What input causes another execution

Analyzing the while condition

while ((!s.equals("q"))&& (!s.equals("")))  

This can be split into:

!s.equals("q")) && (!s.equals(""))

Meaning

When s is not equal to "q" and when s is not an empty string

In other words,

the loop will be executed when user input is not "q" and user input is not empty.

So, from the list of given options: The loop both will be executed when:

a) Input is "Quit"

c) Input is Q only

Input of q will terminate the loop, hence b and d are incorrect

This is the department that is responsible for hiring, firing, training, new employees for the business or corporation.
Group of answer choices

Human Resources

Information Technology

Advertising

Marketing

Answers

Answer:

Explanation:

human resources

hoped this helped

Which logic correctly describes an algorithm to find the smallest of the three numbers a, b, and c and store the smallest number in small?

A.
If a is less than b, then set a to small, else set b to small, else set c to small.
B.
If a is less than b, then set small to a, else set small to b.
If c is less than small, then set small to c.
C.
If a is less than b, then set small to b, else set small to c.
If c is less than small, then set small to a.
D.
If a is less than small, then set small to a.
If b is less than small, then set small to b.
If c is less than small, then set small to c.

Answers

Answer:

D

Explanation:

Answer:

B. If a is less than b, then set small to a, else set small to b.

If c is less than small, then set small to

Explanation:

Plato correct!!

Determine the number of character comparisons made by the brute-force algorithm in searching for the pattern GANDHI in the text
THERE_IS_MORE_TO_LIFE_THAN_INCREASING_ITS_SPEED
(Assume that the length of the text-it is 47 characters long- is known before the search starts).

Answers

Answer:

Total number of character comparison = 43

Explanation:

Using the Brute force algorithm

The string of n characters is known as text, and the string of m characters is known as the pattern.

From the given information:

The text (n)=THERE_IS_MORE_TO_LIFE_THAN_INCREASING_ITS_SPEED

The pattern (m) = GANDHI

The total no of characters that we have in the text = 47

The total number of characters in pattern = 6

For a brute force algorithm;

Since; the first character of the pattern does not exist in the text, then the number of trials made can be attempted can be expressed as = n – m + 1

= 47 – 6 + 1

= 47 – 5

= 42

Thus; the algorithm will attempt the trial 42 times.

Now, for loop in the algorithm to run 42 times, the G in the pattern will have to align against the for T in the text, and in the last case, it will be aligned against the last space.

On each attempted trial, the algorithm will make one unsuccessful comparison.

However, at the trial at which the G in the pattern Is aligned with the G in the text, there will be two successful comparisons.

Hence, we can calculate the total number of character comparison as follows:

Total number of character comparison = [tex]\mathbf{\bigg ( ( 42 - (no. \ of \ failed \ comparison) ) \times 1 + (1 \times ( Two \ successful \ comparisons) ) \bigg ) }[/tex]

Total number of character comparison = ( (( 42 – 1) × 1 ) + ( 1 × 2) )

Total number of character comparison = 41 + 2

Total number of character comparison = 43

Other Questions
What refers to the amount of a substance in a given space. The event in the 1700s that advanced human services in the United States occurred when Congress established a federal chain of hospitals for the relief of _____.war veteransmentally disabled children and adultsdisabled and sick seamensingle mothers and their children Anna and Bobie joined two different swimming classes at the same time.Anna's swimming school charged an initial amount of $70 and Bobie's charged $250. Their monthlyfees were different.The total amount paid for in the first t months is given by (PA) for Anna and (PB) for Bobie.Anna paid $120 and Bobie paid $264 in total for the first two months, but after some months, theyfound that they have paid the same amount in total.After how many months will their total payments be the same and how much will it be? A deposit of $1000 is made in a bank account that pays 24% interest per year compounded quarterly. Approximately how much money will be in the account after 10 years Answer both of the questions correctly and look at both of the pictures! Three numbers form a GP. If the first andthird numbers are 5 and 245 respectively, findwo possible values for the middle number. What is the slope of the line shown below?N21-5-4-3-2-1X1 2 3 4 5 somebody pleaseee help its due today how has the Internet of Things affected business Which of the following is an example of a research question?A :Why is there debate about when the Declaration of Independence was signed?B :When was the Declaration of Independence signed?C :Who signed the Declaration of Independence? How can formal business documents help managers solve problems? A. By presenting well-organized, accurate information about a problem O B. By eliminating the need for schedules and budgets to track progress C. By making decisions so the managers do not have to handle them O D. By creating a record of every action taken during a meeting can sumone do this plzz The density of water is 1.00 g/mL. Which substance below can float on water? What is true about atoms when they bond? There may be more than one answer.1. Bonded atoms can never be taken apart2. Electrons can be transferred3. They form compounds4. Compounds have the same characteristics are the atoms that make it up5. Electrons can be shared One reason HIV/AIDS is serious isa. the virus survives well in the environment.b. it is transmitted through casual contact.c. many infected people do not know they are infected.d. people do not know how to prevent it. What is the form used most in pop songs?A. Verse and chorusB. Ternary formC. Rondo formD. Call and response these songs go hard !!!!!!!!!!!bajo el effecto del alchool by esteban garbrielletriando la h by esteban garbriellehay niveles by esteban garbrielle Read the excerpt from Chapter 2 of Wheels of Change .Smith blamed the bicycle for the downfall of women's health, morals, and religious devotion. Her accusations brought a swift and impassioned response. The Reverend Dr. A. Stewart Walsh, a respected clergyman in New York City and a cyclist himself, wrote a letter to the editor of the Brooklyn Eagle declaring, "I have associated with thousands of riders . . . and I have not seen among them . . . anything that could begin to approach the outrageous and scandalous indecency of the resolutions of the alleged rescue league."The underlined portion of the excerpt is best characterized as ashort-term effect of Smiths activism to promote regulations on women riding bicycles.short-term effect of Smiths attempts to limit womens use of the bicycle.long-term effect of Smiths advocacy for more conservative cycling clothes for women.long-term effect of Smiths anti-bicycle activism aimed at women. The population density of a certain region is 50 people per square kilometer. If the region covers 35 square kilometers, what is the population of the region? How many boxes with a Length/Width/Height of 1/4, 1/4, and another 1/4 would fit into a box with a Length/Width/Height of 3 1/4, 3, and 3 3/4?