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
ladessa [460]
3 years ago
7

_____ returns the smallest integer greater than or equal to 7.3

Computers and Technology
1 answer:
Artist 52 [7]3 years ago
5 0

Answer:

Explanation:

Required

Which returns smallest integer greater than or equal to 7.3

i.e.

x \le 7.3

When executed, the result of each instruction is:

ceil(7.3) = 8 -- This returns the smallest integer greater than 7.3

floor(7.3) = 7 --- This returns the smallest integer less than 7.3

<em></em>larger(7.3)<em> --- there is no such thing as larger() in python</em>

round(7.3) = 7 --- This rounds 7.3 to the nearest integer

From the above result,

8 is the smallest integer greater than or equal to 7.3

i.e.

8 \ge 7.3

Hence:

ceil(7.3) is correct

You might be interested in
Multicurrency: There are several products that universal containers sells exclusively in Europe and the UK. Opportunities for th
ivanzaharov [21]

Answer:

D – Create a new validation rule that allows only EUR or GBP to be selected from all active currencies when an opportunity is created for these products.

Explanation:

Application containers are used to hold applications deployed to the internet during production. These containers are products of online hosting cloud services, used to control and maintain the application in production.

Access to the application's functionalities requires validation, the user must be authenticated and authorized to access certain services of the application.

5 0
3 years ago
Does out-of-order makea machine's performance more or less
irina1246 [14]

Answer:

It would be correct to say that out-of-order makes a machine's performance more sensitive to branch prediction accuracy.

Explanation:

This can be explained as when a machine is out-of-order, in that state the  execution holds importance in prediction accuracy, any increase in these results in rate of prediction near about 25% for the single-issue operating in-order. This is due to the reason that some of the predictions are required for the global pattern history. Most recent outcomes are recorded in the register and for a 4-way machine which is out-of-order, accuracy is very poor as a result of the delay of the branch history for next prediction.

3 0
2 years ago
Which data type is used to teach a Machine Learning (ML) algorithm during structured learning?
vodka [1.7K]

Which data type is used to teach a Machine Learning (ML) algorithm during structured learning?

answer:

5 0
2 years ago
3. (20 points) Write a C++ recursive function that finds the maximum value in an array (or vector) of integers without using any
Luden [163]

Answer:

Following are the code to this question:

In option (i):

#include <iostream>//defining header file

using namespace std;

int findMax(int B[], int x)//defining recursive method findMax

{

if (x == 1)//defining condition when value of n==1

return B[0];//return array first element

return max(B[x-1], findMax(B, x-1)); // calling recursive method inside max method and return value

}

int main() //defining main method  

{

int B[] = {12, 24, 55, 60, 50, 30, 29};//defining array B

int x= 7;//defining integer variable and assign a value

cout << "Maximum element value of the array is: "<<findMax(B, x)<<endl;//calling method findMax and print value

return 0;

}

Output:

Maximum element value of the array is: 60

In option (ii):

\Rightarrow \ T(n) = 1 + T(n-1)\\\Rightarrow  1 + 1 + T(n-2)\\ \Rightarrow  1 + 1 + 1 + ... n \ times \\\Rightarrow  O(n) \\

Explanation:

In the above-given program a recursive method "findMax" is defined, which accepts an array "B" and an integer variable "n" in its parameter, inside the method a conditional statement is used that, checks value of x equal to 1.

  • If the above condition is true it will return the first element of the array and find the max number.
  • Inside the main method, an array B is declared that assigns some values and an integer variable is declared, that also assigns some values, in the last step print method is used that pass value in method and prints its return value.
  • In the option (ii) we calculate the Big-O notation algorithm value.
5 0
3 years ago
Como desbloqueo paginas web en windows 7
dimulka [17.4K]

Answer:

WHAT IN EGLISH PLZ

Explanation:

4 0
2 years ago
Other questions:
  • It is either snoming or below freezing
    10·1 answer
  • What was the #1 song in 1987 and who was the artist
    12·2 answers
  • What are the advantages of homogenation
    5·1 answer
  • The architecture that the large paper company Mohawk adopted enables the company to scale technology services up and down instan
    14·1 answer
  • A palindrome is a string that reads the same both forward and backward. For example, the string madam is a palindrome. Write a p
    13·1 answer
  • Virus warning don’t go on bit l y links it’s a virus
    12·2 answers
  • Describing Work Styles for Farmworkers and Laborers, Crop
    6·2 answers
  • Consider the following incomplete method. Method findNext is intended to return the index of the first occurrence of the value v
    15·1 answer
  • Javed’s teacher tells him she would like to see him improve his speaking skills in the next debate by including a rhetorical app
    9·1 answer
  • 11. Explain different types of program control with suitable flow chart.<br> N
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!