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
padilas [110]
3 years ago
10

What is the output of the following program fragment. Choose appropriate data-types of variables to match output.

Engineering
1 answer:
Alexxx [7]3 years ago
3 0

Answer:

1

Explanation:

Given :

i=7;j=8;k=9;

printf(“%d”,(i+10)%k/j);

The printf function only displays the result

%d - is used for the display format

However, the actual calculation is in the expression: (i+10)%k/j

Given the variables :

i = 7 ;

j = 8 ;

k = 9 ;

(i + 10) = (7 + 10) = 17

(i + 10) % k = 17 % 9

% = remainder value after division

17 % 9 = (17 / 9) = 1 remainder 8

17 % 9 = 8

Hence,

(i + 10) % k = 8

(i + 10) % k / j

j = 8

8 / 8

= 1

You might be interested in
What does the supply chain management process involve
VMariaS [17]

Answer:

It involves the active streamlining of a business's supply-side activities to maximize customer value and gain a competitive advantage in the marketplace

Explanation:

Supply chain management is the management of the flow of goods and services and includes all processes that transform raw materials into final products.

5 0
3 years ago
What are primary and secondary super-heaters?
Maru [420]

Explanation:

Superheater has two types of parts which are:

  • The primary super-heater
  • The secondary super-heater

Primary super-heater is first heater which is passed by the steam after steam comes out of steam drum.

After steam is heated on super primary heater, then the steam is passed on secondary super-heater so to be heated again. Thus, on secondary super-heater, the steam formed is hottest steam among others.

Steam from secondary super-heater which becomes the superheated steam, flow to rotate the High-Pressure Turbine.

3 0
3 years ago
What is a semiconductor whose electrical properties are based on the electronic structure inherent in the pure materials? MATSE
OleMash [197]

Answer:

intrinsic semiconductors

Explanation:

An intrinsic semiconductor is also known as a pure conductor. In such a semiconductor there are no impurities, that is why it is said to be pure.

It has some of these properties:

1. Electrical conductivity is only based on temperature

2. The quantity of electrons is the same as the number of holes in the valence bond

3. Electrical conductivity is not on the high side

4. These materials exist in their pure forms.

6 0
3 years ago
Based on the following passage on construction technology during the Middle Ages, why might a worker not be allowed
KonstantinChe [14]

Answer:

A guild are an association of skilled merchants, craftsmen and artisans that provide support and protection for their members and push their professional interest forward and further their craft

Because the guild guild members mainly gained their skill through knowledge passed to them by their family bloodlines, other unskilled workers were by not being schooled on the craft and by family tradition not allowed to join a guild based on the nature knowledge transfer the guild members have which is mainly several generations of family trade trainings

Explanation:

4 0
3 years ago
Read 2 more answers
Define the following terms: data, database, DBMS, database system, database catalog, program-data independence, user view, DBA,
nalin [4]

Answer:

data - Any form of value in a column of a table in a relational database.

DBMS - Short for Database management system, which is a software that can be used to create, manipulate and view databases, e.g. MS SQL Server.

database system - Same as DBMS.

database catalog - Place where the metadata of a Database including its tables, users etc. exists, e.g. date created, size, number of columns etc. Also known as Data Dictionary.

program-data independence - Program-data independence refers to the design of keeping different levels of database (external, logical and physical) separate and loosely coupled from each other, for easier maintenance or modification work.

DBA - Short for Database Administrator, person responsible for maintaining the database. Its main responsibility is to keep the data clean and safe i.e. data doesn't contain wrong or invalid data, and is safe from viruses and is backed up.

end user - Anyone who is not directly interacting with a database, but through some software, like website or mobile application.

persistent object - An object of a class in a program, that interacts with the underlying database and is responsible for manipulating the database, the program is connected to.

transaction-processing system - A transaction process system is part of a software, responsible for making sure critical business transactions, like crediting or debiting money, either goes through cleanly or doesn't at all.

6 0
3 years ago
Other questions:
  • Consider the following pulley system. A block of mass m is connected to a translational spring of stiffness k through a cable, w
    10·1 answer
  • What is the major drawback in nanocrystalline alloys? a)- high brittleness b)-low hardness c)-rapid grain growth upon heating d)
    9·1 answer
  • What is 1000 kJ/sec in watts?
    10·1 answer
  • Assume a function requires 20 lines of machine code and will be called 10 times in the main program. You can choose to implement
    6·1 answer
  • Select four types of engineers who might be involved in the development of a product such as an iPhone.
    6·2 answers
  • Cual es el costo del kwh
    8·1 answer
  • Discuss in detail the following methods used to redistribute income and wealth in cash grants?​
    5·1 answer
  • The inspector should inspect insulation in unfinished spaces, including attics, _____ and foundation areas.
    13·1 answer
  • What is the placement of a lock out device on an energy isolating device?.
    12·1 answer
  • Your class is using engineering principles to improve the design of football helmets to prevent brain injury. your teacher divid
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!