1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
stellarik [79]
3 years ago
5

Select the data type for each example below. Possible answers -Int -float -string

Computers and Technology
1 answer:
Veseljchak [2.6K]3 years ago
6 0
Float string int
I hope my answer helps.
You might be interested in
A program reads three integer values. The three values are interpreted as representing the lengths of the sides of a triangle. T
Andru [333]

Answer:

5

Explanation:

5 0
4 years ago
Which is an unethical use of technology and resources at the workplace?
Greeley [361]
The answer is B. sharing a coworker’s performance scores with your colleagues
6 0
3 years ago
Read 2 more answers
Consider the following code segment. int[][] arr = {{3, 2, 1}, {4, 3, 5}}; for (int row = 0; row < arr.length; row++) { for (
ludmilkaskok [199]

Answer:

Condition one - 1 time

Condition two - 2 times

Explanation:

Given

The above code segment

Required

Determine the number of times each print statement is executed

For condition one:

The if condition required to print the statement is:  <em>if (arr[row][col] >= arr[row][col - 1]) </em>

<em />

For the given data array, this condition is true only once, when

row = 1  and  col = 2

i.e.

<em>if(arr[row][col] >= arr[row][col - 1]) </em>

=> <em>arr[1][2] >= arr[1][2 - 1]</em>

=> <em>arr[1][2] >= arr[1][1]</em>

<em>=> 5 >= 3 ---- True</em>

<em />

The statement is false for other elements of the array

Hence, Condition one is printed once

<em />

<em />

For condition two:

The if condition required to print the statement is:  <em>if (arr[row][col] % 2 == 0) </em>

<em />

The condition checks if the array element is divisible by 2.

For the given data array, this condition is true only two times, when

row = 0  and  col = 1

row = 1  and  col = 0

i.e.

<em>if (arr[row][col] % 2 == 0) </em>

<em>When </em>row = 0  and  col = 1

<em>=>arr[0][1] % 2 == 0</em>

<em>=>2 % 2 == 0 --- True</em>

<em />

<em>When </em>row = 1  and  col = 0

<em>=>arr[1][0] % 2 == 0</em>

<em>=> 4 % 2 == 0 --- True</em>

<em />

<em />

The statement is false for other elements of the array

Hence, Condition two is printed twice

3 0
3 years ago
What basic drafting instruments are incorporated in a drafting machine?
erastovalidia [21]
It would be the army and then people of nyc
3 0
3 years ago
Examples of environmental technology and good and bad impacts
olchik [2.2K]
Enviromental technology can be listed from simple objects to a large company.

1.Enviromental Technology:
Wood farming (its not that of a technology, but the amount technology to do this is large)
2.Coal Mining
3. Water damps (for making electricity)

alright.. good:
1. other objects can be created thanks to this
2. The final product can be used as a source of energy.
3. Electricity!!

the bad.
1. mass-cutting trees... :(
2. Often makes no to some pollution, can have pernament effect on the workers life (respiratory problems etc.)
3. Can cause floods..
6 0
3 years ago
Other questions:
  • it is important to include the __ attribute of the tag because some people use text-only web browsers
    5·2 answers
  • The encapsulation unit on the data link layer of the osi model is _________
    10·1 answer
  • If a simple pipelined processor is super-pipelined by a factor of 3 (the ALU takes 3 cycles instead of one for the smallest oper
    15·1 answer
  • When photographing wildlife, what type of lighting should you use?
    15·2 answers
  • As discussed in the video, parallax measurements allow us to calculate distances to stars for which parallax is detectable. Supp
    14·1 answer
  • Write a program that grades the written portion of the driver's license exam. The exam has 20 multiple choice questions (answers
    10·1 answer
  • Which of the following is the best example of an installation issue
    11·2 answers
  • Lab: even/odd values in an array
    5·1 answer
  • What does a companys code of ehtics cover
    13·2 answers
  • class Login: def __init__(self): self.login_name = 'none' self.login_password = 'none' # TODO: Define class method - check_crede
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!