Answers

Answer 1

Answer:

iNum = 38

Explanation:

Given

int iNum = (int) 38.78;

Required

What is the value of the variable?

In the above instruction, the variable is iNum and its value is 38

This is so, because int iNum = (int) 38.78; means that the integer part of 38.78 be stored in iNum.

In 38.78, the integer part is 38 and the fractional part is 0.78.

Hence, 38 will be saved in iNum and the 0.78 be discarded


Related Questions

What is the output?
str = 'abcdef
print(str[2:50)

Answers

Answer:

What is the output of print str if str = 'Hello World!'? A - Hello World! ... Q 18 - What is the output of print list[1:3] if list = [ 'abcd', 786 , 2.23, 'john', 70.2 ]?.

Explanation:

Answer:

What is the output of print str if str = 'Hello World!'? A - Hello World! ... Q 18 - What is the output of print list[1:3] if list = [ 'abcd', 786 , 2.23, 'john', 70.2 ]?.

Explanation:

25 POINTS!! NEED HELP ASAP!! Which of the following can be a problem for people with certain kinds of epilepsy?
using left-aligned text
using all uppercase text
putting two spaces after a period
flashing images

Answers

Answer:

Flashing images

Explanation:

Content that flashes or flickers can trigger seizures in susceptible individuals. Therefore flashing or flickering content should be avoided.


2.
Python was created​

Answers

Python was created by Guido van Rossum

The python was in fact created by Guido Van Rossun

Which of the following is defined as a fluid used to reduce friction?


coolant

solvent

reductant

lubricant

Answers

Answer:

lubricant

Explanation:

lubricant reduces friction

Write down the functions of network layer in your own words.ASAP

Answers

Hrhnebevevebnenebebenene

A director was fined heavily for shooting in his own house in New York. What do you think was his mistake?
A.
He forgot to get the location release approved.
B.
He forgot to get the filming permit.
C.
He forgot to apply for permission rights.
D.
He forgot to take consent for using a brand name.
E.
He forgot to apply for synchronization rights.

Answers

Answer: B. He forgot to get the filming permit.

Answer:

b he for got fillming permits

to add background colour to the webpage – attribute is used in body tag​

Answers

[tex]\mathfrak{\huge{\orange{\underline{\underline{AnSwEr:-}}}}}[/tex]

Actually Welcome to the Concept of the HTML.

The tag that can give background color to the Web pages is :-

1.) <Body> bgcolor = "Orange"

</Body>

What is the final amount stored in value if the computer selects 17 as the
random number
set value
to pick random 50 to 60
set value to value / 2
value > 0
and
value mod
1
set value
to
value x 1
else
valueB < 0
set value
to O
say value for secs
say valueB for a
secs

Answers

Answer: -17

Explanation:

Our random number is 17. Let's go through line by line.

value is a random number picked which is 17valueB = 17 / 2 = 8.5If value is greater than 0 AND value has a remainder of 1, we will set the value to value* -1. Value is now 17 * -1 = -17

Let's quickly calculate value mod 2. 17 % 2 = is 1. If you're wondering how we did that, the remainder after dividing 8 into 17 twice is 1, because 17 - 16 = 1.

We stop after line 4 because we stop the conditional statement after one condition is filled.

what is the functions of network layer ?

Answers

Functions. The network layer provides the means of transferring variable-length network packets from a source to a destination host via one or more networks.

Can anyone help answer this question please

Answers

Answer:

on premise or in the cloud

Explanation:

on premise would be more reliable because it would still work if internet connection fails.

cloud would be safer if you fear the stored footage can be destroyed, by e.g., fire or someone who doesn't want it exposed

Computer career skills include:


production software use

organizing

teamwork

hardware use

Answers

Answer:

Yes they do include all of the above

what are you’re options ? i would say all of the above

what is computer write it's charatersitcis

Answers

Answer: See explanation

Explanation:

Computer is simply referred to as an electronic machine that can be utilized in the processing of data which later gives a desired output as Information.

Some of the characteristics of a computer include accuracy, speed, data storage, flexibility, consistency, reliability and diligence.

You will use the Word application to design, develop, and create a business letter to potential clients of your new business. The following steps will help you in this process.


Open a blank Word document.

Write a business letter introducing people to your store. You may choose any type of store you wish, but your letter should be at least one paragraph long and be able to be easily personalized to each potential client. Make sure you include the type of business, a sentence about your business plan or philosophy, the location of your business, and any relevant contact information.

With this letter open, begin a mail-merge letter using the letter you just wrote as your starting document.

Since you do not have the addresses of your contacts in the computer, you will need to type a new list and create a new data source. Save the data source as "Mail Merge Data Source Lesson 3."

For this example, enter the names and addresses of four people.

Insert merge codes for the address block, greeting line, and at least two other items from the More Items list.

Preview your letters. Make sure you proofread your work for spelling and grammar errors.

Merge your letters to a new document. Save the original and merged documents.

Show your documents to your instructor for review.

After you have written your letters, you realize you will need mailing labels for the outside of your envelopes. To quickly make these labels, you decide to use a merge.


Open a new document and begin a mail merge using the Mail Merge Wizard.

Select Avery 5160 mailing labels as your label type.

Use the data source you saved earlier, "Mail Merge Data Source Lesson 3," for the addresses for your labels.

Insert an address block on each label.

Preview your labels for format and spelling errors.

Merge your labels and save them in a new document.

Submit your labels in the space provided for your instructor to review.

Answers

Answer:

Mail Merge Data Source

Explanation:

Write a program to declare a matrix A[][] of order (MXN) where ‘M’ is the number of rows and ‘N’ is the
number of columns such M and N must be
greater than w and less than 20. Allow the user to input





integers into this matrix. Perform the following tasks on the matrix:
(a) Display the input matrix
(b) Find the maximum and minimum value in the matrix and display them along with their position.
(c) Sort the elements of the matrix in ascending order using any standard sorting technique and rearrange them in the matrix.

Can anybody show the program and explain please
Urgent.

Answers

Answer:

import java.io.*;

import java.util.Arrays;

class Main {

   public static void main(String args[])

   throws IOException{

       // Set up keyboard input

       InputStreamReader in = new InputStreamReader(System.in);

       BufferedReader br = new BufferedReader(in);

 

       // Prompt for dimensions MxN of the matrix

       System.out.print("M = ");

       int m = Integer.parseInt(br.readLine());

       System.out.print("N = ");

       int n = Integer.parseInt(br.readLine());

       // Check if input is within bounds, exit if not

       if(m <= 2 || m >= 10 || n <= 2 || n >= 10){

           System.out.println("Matrix size out of range.");

           return;

       }

       // Declare the matrix as two-dimensional int array

       int a[][] = new int[m][n];

 

       // Prompt for values of the matrix elements

       System.out.println("Enter elements of matrix:");

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

           for(int j = 0; j < n; j++){

               a[i][j] = Integer.parseInt(br.readLine());

           }

       }

       // Output the original matrix

       System.out.println("Original Matrix:");

       printMatrix(a);

       // Sort each row

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

         Arrays.sort(a[i]);

       }

       // Print sorted matrix

       System.out.println("Matrix after sorting rows:");

       printMatrix(a);

   }

   // Print the matrix elements separated by tabs

   public static void printMatrix(int[][] a) {

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

           for(int j = 0; j < a[i].length; j++)

               System.out.print(a[i][j] + "\t");

           System.out.println();

       }

   }

}

Explanation:

I fixed the mistake in the original code and put comments in to describe each section. The mistake was that the entire matrix was sorted, while only the individual rows needed to be sorted. This even simplifies the program. I also factored out a printMatrix() method because it is used twice.

Help plz,l didn’t pay attention in class

Answers

Answer:

a) Input the marks value

b) Distinction

c) If marks =>50

d) Fail

Explanation:

The missing box entries in the flow chart from top to bottom are as follows -

a) Input the marks value

b) Distinction

c) If marks =>50

d) Fail

________ use statistics to anticipate customers withdrawals. ________ use statistic to calculate probable life expectancy to help them set rates.

Answers

Answer:

Banks

Insurance companies

Explanation:

is the area where we createour drawings​

Answers

Answer:

Answer:

CANVAS IS THE AREA WHERE WE CREATE OUR DRAWING.

Explanation:

.

Answer: CANVAS IS THE AREA WHERE WEE CREATE OUR DRAWING.

Explanation:

Study the original and changed passages.

Original passage:

One way to make a document more readable is by controlling the space between paragraphs, which can be done by adding space between and after a paragraph.
Another way to make a document more readable is by keeping the paragraph on one page, which can be done by changing the spaces between the lines in the paragraph.

Answers

Answer:b

Explanation:

Answer:

It's B, The space between the lines of both paragraphs decreased.

Explanation:

On Edge 2021

What is the best example of an interrogative sentence?

Quilting is an art form that has been passed through generations in many families.
One small quilt block is made up of 16 even smaller and complex squares.
I quickly found myself enveloped in the complexity of the fascinating quilt patterns!
How many clubs and quilting societies that flourish today have Amish roots?

Answers

Answer:

How many clubs and quilting societies that flourish today have Amish roots?

Explanation:

Answer:d

Explanation:

A programmer has an idea to use just one language for the content, structure, and style of web pages. What might be a problem with this idea?

Answers

Doesn’t give the programmer a lot of freedom to be creative. Using only one language on the web limits the amount features the programmer could create.

For example, just only using HTML limits the web page’s features to use scripts like Javascripts.

Select the correct answer from each drop-down menu. Which two factors do ergonomic principles consider a part of a job? Ergonomic principles consider (physical stress, mental stress, or social stress) and (traveling factors, relationship factors, or environmental factors) Pls answer quickly I have a Mastery test and my brain is a little rusty so pls help me! I would really appreciate it and thank you so much in advance and have a good day! Btw, I'll give 55 points if it's answered correctly :D​

Answers

Answer:mental stress

Explanation:

What is the output of print str if str = 'Hello World!'? A - Hello World! ... Q 18 - What is the output of print list[1:3] if list = [ 'abcd', 786 , 2.23, 'john', 70.2 ]?.
and Dim Message, Speak
Message=InputBox("Enter text" , "Speak")
Set Speak=Create0bject("sapi.spvoice")
Speak.Speak Message
Dim Message, Speak
Message=InputBox("Enter text" , "speak")
Set Speak=Create0bject("sapi.spvoice")
Speak.Speak Message
I hope someone can answer this 40 points to whoever does

Answers

Is this some jiberish or is this a different language because I can’t understand nothing you just typed

yes or no have you entire copy written in uppercase for emphasis​

Answers

Explanation:

yes I did

bcdfgcxsfgvvvcfghbvaaegh

Complete the flowchart to calculate the area of a rectangle

Answers

Python Code:
Length=int(input(“Enter length of rectangle: “))
Width=int(input(“Enter width of rectangle: “))
Area=Length*Width
print(Area)
Flow Chart:
(Given in the image below)

Does digital media play a big role in your life?

Answers

Answer:

Yes

Explanation:

I use social media every day and it impacts how I dress, what I eat, where I go, and more. Overall social media makes a big impact on my life

What is the smallest number of bits that would be needed to store the number '50' in binary?​

Answers

Answer:

6 bits

Explanation:

5 bits gets you 2^5=32 possibilities (values 0-31), which is not enough for 50.

6 bits gets you 2^6=64 possibilities (values 0-63), which is enough.

To calculate for an arbitrary number, take the 2-log, and round up:

[tex]\log_2(50) \approx 5.64[/tex]

rounded up is 6.

Choose the correct answer
1. Which of the variable names given below, is invalid?
O Goodluck
O
d2420
O input
O Abcd

Answers

not valid bro so u check again

list three quantitative characteristic properties of water explain why they are considered characteristic

Answers

Answer:

The three quantitative characteristic properties of water is explained below in detail.

Explanation:

The three quantitative components of water incorporate the following:

1.Freezing point:

The water has a freezing point of 0 degrees Celsius.

2. Boiling point:

The water has a boiling point of 100 degrees Celsius.

3. Melting point:

The melting point of ice is 0 degrees Celsius.

These properties are all uncommon to water. Being uncommon means that these characteristics are only noticeable in water; hence, they can be beneficial in recognizing such a substance.

Write down the functions of network layer in your own words.ASAP pleaseeeeeee

Answers

Answer:

The network layer is the layer is the layer 3 of the seven layer Open System Interconnect (OSI model) which functions as packet forwarder for the  intermediate routers  by implementing technologies used for switching that provides virtual circuits' logical path

The function of the network layer includes;

1) Routing and forwarding of packets to destination which enables connectionless communication

2) Enabling internetworking

3) Hierarchical host (IP) addressing

4) Sequencing of packets

5) Handling of errors

6) Control of network congestion to prevent the collapse of the network

Explanation:

How can you make sure to save all annotations from a slide show?
When you exit the slide show, select Keep the Annotations.
O Before beginning the slide show, select Save All Annotations.
During the slide show, right-click and select Save Annotations.
O All annotations are automatically saved as a copy of the presentation.

Answers

Answer:

when you exit the slide show, select keep annotations

Explanation:

To save all annotations from a slide show, make sure that When you exit the slide show, select Keep the Annotations.

What is annotation?

This is known to be a kind of a note that is said to be added through comment or explanation.

It is often used by writers. Note that the right thing to do is to To save all annotations from a slide show, make sure that When you exit the slide show, select Keep the Annotations.

Learn more about Annotations from

https://brainly.com/question/16177292

Other Questions
Select the correct answer. What is this expression in simplest form? Do you think the Sedition Act is a good law? Why or why not? Did the United States makes the right decision to drop atomic bombs on Japan? is scrap metal pieces an example of a pure substance or a mixture ? Picture a neutral S atom. This neutral atom will havevalence electrons. To reach a more stable configuration, this atom will(gain, lose) electrons. The charge of the ion that forms will beASAP PLEASE 2. If LC = 10, find LH. Helppp Convert 240 seconds into minutes. Pls help me i need your help to do it pls A large amount of peanuts was divided equally into 6 small bags. The total number of peanuts, p, was 342. Which statements can be used to write an expression and then find the number of peanuts that ended up in each bag? Check all that apply.The operation is division.The operation is multiplication.The variable is the number of bags.342 divided by 6 equals 57.Write the division expression as a fraction, StartFraction p Over 6 EndFraction.To evaluate, substitute 342 for the variable.Each bag will have 57 peanuts.The constant is 342. find the missing lengths of the sides. Laws require businesses to pay workers at least a certain amount. The federal agency responsible for overseeing workplace safety regulations is the department of Before there was any life on Earth, which gas was absent from the ancient atmosphere?A.nitrogenB.ammoniaC.oxygenD.methaneplease answer lol cody filled two bowls with 250 ml of water, he covered one bowl with plastic wrap, he left one bowl uncoverd, he placed both bowls on the same window sill, both bowls were left in the sun for 3 days without being touched. what most likely happen to the uncoverd bowlBTW I PICKED THE WRONG SUBJECT ITS SCIENCE How does pygmalion attitude towards women change along the text HELP ASAP GIVING BRAINLIEST Which portion of the sentence contains a punctuation error?Later, the sky cleared and the rose garden was deserted, fragrant, and tranquil.ALater, thecleared and thedeserted, fragrantDLeave as is cells are made up mainly of proteins and carbohydrates how do these molecules function in the cell membrane pls i need it!! Please help with this its 1 month due and Im stressing out PLEASE HURRYYYYY!!!!!! What are the positive results of government regulation of the economy? What are the negative results? How would the answers change based on the point of view of the person answering (e.g. consumer, business owner, etc.)? what was the original strategy for the gifted education program in USA