Name and discuss theprogramming languages suitable for the following fields:
i) Science and Engineering field
ii) Education
iii) InformationSystem
iv) System andNetworks

Answers

Answer 1

Answer:

For Science and Engineering Field :- FORTRAN.

Eduction purpose:- GWBASIC .

Information System :- COBOL

System and Network :- C, C++

Explanation:

FORTAN (formula translation) is best fit for the Science and Engineering Field.

GWBASIC is a basic programming language developed by Microsoft is best fit for educational purpose.

COBOL(Common Business Oriented Language) is best fit for the Information System

C and C++ are the best languages for Networking purposes.


Related Questions

An initialization expression may be omitted from the for loop if no initialization is required.



True False

Answers

Answer:

True

Explanation:

for loop is used to repeat the process again and again until the condition not failed.

syntax:

for(initialize; condition; increment/decrement)

{

    Statement

}

But we can omit the initialize or condition or increment/decrement as well

the syntax after omit the initialization,

for( ; condition; increment/decrement)

{

    Statement

}

The above for loop is valid, it has no error.

Note: don't remove the semicolon.

You can omit the condition and  increment/decrement.

and place the semicolon as it is. If you remove the semicolon, then the compiler show syntax error.

23. Which of the following is most likely to violate a FIFO queue? A) supermarket with no express lanes B) car repair garage C) emergency room D) fast-food restaurant E) All of the above are equally likely to violate a FIFO queue.

Answers

E) All of the above equally violate a FIFO queue

Answer:

emergency room- C)

The primary characteristic of auctions is that prices are determined dynamically by competitive bidding ( true or false)

Answers

Answer: True

Explanation:

The following statement is false.

___ defines a series of standards for encoding audio and video in digital form for storage or transmission. Most of these standards include compression, often lossy compression.

a) JPEG b) ANSI c) ISO d) MPEG

Answers

Answer:

d) MPEG

Explanation:

MPEG stands for Moving Picture Experts Group.

It defines standards for audio and video compression on digital form for storage and transmission.

JPEG (Joint Photographic Experts Group)ANSI (American National Standards Institute)ISO ( International Organization for Standardization)

are also international standards but they are not related to dogotal video compression.

The order of the nodes in a linked list is determined by the data value stored in each node.

True

False

Answers

Answer:

False

Explanation:

Linkedlist is a data structure which is used to store the elements in the node.

The node has two store two data.

first element and second pointer which store the address of the next node.

if their is no next node then it store the NULL.

We can store data in randomly. Therefore, the order of node cannot be determine by data values.

we can use pointers for traversing using the loop because only pointer know the address of the next node, and next noe know the address of next to next node and so on...

Therefore, the answer is False.

____________ is the most general and least usefulperformance metrics for RISC machines
o MIPS

o Instruction Count

o Number of registers

o Clock Speed

Answers

Answer: Instruction count

Explanation: Instruction count is the most general and least useful performance matrix for RISC machine because RISC is known for the reduced set of instruction so indirectly the instructions are less so there is not much requirement of keeping the count of instruction.other features mentioned in the question describes the performance factor of RISC machine and are the major factor behind the working of the RISC machine.

Answer:

Instruction Count

Explanation:

[tex]\text{Performance}=(\frac{\text{Instruction}}{\text{Program}} )\times(\frac{\text{clocks}}{\text{instruction}})\times(\frac{\text{seconds}}{\text{clock}})[/tex]

This is the formula for the Performance of Risc machines,as execution time is a product of three factors that are relatively independent of each other.As we can see that performance is directly related to the Instruction count,Clock speed and Number of registers.  

Instruction count (IC) is the most general and least useful performance metrics : the complete number of executions involving instruction in a program. Repetitive activities like loops and recursions dominate it.

Which statement correctly tests int variable var to be less than 0 or more than 50?

Answers

Answer:

if-else statement.

Explanation:

if-else is the conditional statement that can be used for checking the condition.

Syntax of if-else statement:

if(condition){

statement;

}else{

statement;

}

if the condition put in the if part is TRUE, then the statement inside the if will execute. if the condition put in the if part is FALSE, then the else part will execute.

In the question for testing the variable var is less than or more than 50, if-else statement is best statement.

We can used like that:

if(var<0 || var>50){

printf("Test pass");

}else{

printf("Test failed");

}

With theuse of which of the following, we reason from a generalization to aspecific conclusion?

a- Analogy

b- Logic

c- Induction

d- Deduction

Answers

Answer:

d-Deduction

Explanation:

Deduction

In deductive inference, we maintain a hypothesis and we predict its implications on the basis of it. That is, we predict what the results should be if the theory were right. We go from the general theory to the particular observations.

Induction

We're going from the specific to the general inductive inference. We make a lot of observations, discern a pattern, generalize and infer an explanation or theory.

Analogy

An analogy is a comparison between two objects or object systems, highlighting the respects in which they are considered to be similar.

Logic

Science dealing with the principles and criteria of validity of inference and demonstration that is science of formal rules of reasoning.

Write a test program that prompts the user to enter two strings and, if they are anagrams, displays is an anagram; otherwise, it displays is not an anagram

Answers

Answer:-Following is the program for the checking if 2 strings are anagram in c++:-

#include<bits/stdc++.h>

using namespace std;

int main()

{

   string ana1,ana2;//declaring two strings.

   int an1[256]={},an2[256]={};//declare two count arrays of size 256 an1 and an2.

   bool test=true;//taking a bool variable test = true for displaying the result..

   cout<<"Enter both the strings"<<endl;

   cin>>ana1>>ana2;//prompting the strings..

   for(int i=0;ana1[i]&ana2[i];i++) // iterating over both the strings.

   {

       an1[ana1[i]]++;//increasing the count of the characters as per their ascii values in count array an1.

       an2[ana2[i]]++;//increasing the count of the characters as per their ascii values in count array an2.

   }

   for(int i=0;i<256;i++)//iterating over the count arrays..

   {

       if(an1[i]!=an2[i])//condition for not anagram.

       {

           cout<<"not an anagram"<<endl;

           test=false;//making test false..

           break;//coming out of the loop.

       }

   }

   if(test)//if test is true only then printing..

   cout<<"is an anagram"<<endl;

   return 0;

}

Explanation:-

A string is said to be an anagram string of other string if it has same characters but in different order.

for example:-

string 1="raman"

string 2="manar"

string 2 is an anagram of string 1.

. The limitingcondition for a list might be the number of elements in thelist.
a. True
b.False

Answers

Answer:

True

Explanation:

Yes, the limiting condition of a linked list is the number of the elements that are present in the list. Consider a linked list contains  'n' number of elements, create an iterator which iterates over all the n elements of the linked list. So , in the limiting condition ( for loops , while loops, do while loops in all the looping conditions in fact in any conditions ) the iterator has to iterate over all the elements present in the linked list. So , the limiting condition is the number of elements in the list.  

___ consists of a central conductor surrounded by a shield (usually a wire braid).

a) twisted pair cable b) coaxial cable c) antenna d) optical fiber

Answers

Answer: Coaxial cable

Explanation:

Coaxial cable consist of an central conductor surrounded by a shielded material in form of an insulating plastic. These cables have a high bandwidth and has a higher speed as compared to twisted cable.

Therefore the answer is coaxial cable.

Write a C++ programthat returns the type of a triangle (scalene, equilateral,or

isosceles). The input tothe program should consist of the lengths of thetriangle's

3 sides.

Answers

Answer:

#include<iostream>

using namespace std;

int main(){

   //initialize

   int a, b,c;

   //print the message

   cout<<"Enter the three sides of the triangle: "<<endl;

   //store in the variables

   cin>>a>>b>>c;

   //if-else statement for checking the conditions  

   if(a == b && b == c && a == c){

       cout<<"\nThe triangle is equilateral";

   }else if(a != b && b != c && a != c ){

       cout<<"\nThe triangle is scalene";

   }else{

       cout<<"\nThe triangle is isosceles";

   }

   return 0;

}

Explanation:

Create the main function and declare the three variables for the length of the sides of the triangle.

print the message on the screen for the user. Then the user enters the values and its store in the variables a, b, and c.

use the if-else statement for checking the conditions.

Equilateral triangle: all sides of the triangle are equal.

if condition true, print the equilateral triangle.

Scalene triangle: all sides of the triangle are not equal.

if condition true, print the Scalene triangle.

if both conditions is not true, then, the program moves to else part and print isosceles.

When used as parameters, _________ variables allow a function to access the parameter’s

original argument.

Answers

Answer:  reference

Explanation:

In an function if the variables are passed as reference variables this means that the variables are pointing to the original arguments.So the changes made in the function on the reference variables will be reflected back on the original arguments.

For example:-

#include<iostream>

using namespace std;

void swap(&int f,&int s)

{

    int t=f;

    f=s;

   s =temp;

}

int main()

{

int n,m;

n=45;

m=85;

swap(n,m);

cout<<n<<" "<<m;

return 0;

}

the values of m and n will get swapped.

#include<iostream>

using namespace std;

void swapv(int f,int s)

{

    int t=f;

    f=s;

    s=temp;

}

int main()

{

int n,m;

n=45;

m=85;

swapv(n,m);

cout<<n<<" "<<m;

return 0;

}

In this program the values of m and n will not get swapped because they are passed by value.So duplicate copies of m and n will be created and manipulation will be done on them.

.the test team devives from the requirements a suiteof:
A.acceptance tests B.regression suite C.buglist D.priority list

Answers

Answer:

A. acceptance tests

Explanation:

In acceptance testing, the system is tested for acceptability to the end user. In order to do this it needs to be validated against the specified requirements. The testing team derives the acceptance tests from the requirement specification.

It generally corresponds to the last phase of testing operations for the system when the system is considered stable enough to be offered to the end user. If the system fails to satisfy the acceptance testing criteria, it needs to go through further rounds of iterative development.

Which statement must be included in a program in order touse a deque container?

a. #include vector

b. #include

c. #include container

d. #include deque

Answers

Answer:

d.#include deque

Explanation:

We have to include deque library in order to use a deque container and the syntax to include is #include<deque>.Deque is a double ended queue which is a sequence container and allows operations of contraction and expansion on both ends of the queue.Double ended queues are a special case of simple queue since in simple queue the insertion is from rear end and deletion is from front end but in deque insertion and deletion is possible at both ends rear and front.

put is a function to __________.

Ex:cout.put(aChar);

A)get one next character from the input stream
B)input one next character to the input stream
C)put one next character to the output stream
D)output one next character from the input stream

Answers

Answer: put one next character to the output stream

Explanation:

put is a member of the output stream class. So using the code cout which means displaying and the put method which places a character to the output stream. It is in use in C++.

The continue statement _________.
A)Disables the loop
B)Skips the loop
C)Transfer control to another code segment in the loop
D)Terminates the loop

Answers

Answer: C) Transfer control to another code

Explanation: Continue statement is a type of statement for the controlling of the loop. It has the main function of execution of the next  or another iteration. If the continue statement is executed inside a loop then the current execution of the statement will stop and jump on the next statement immediately and will transfer the loop there.

What are the applications of assembly language where any heigher language become insufficient.???

Answers

Answer and Explanation:

we know that high level language gives the best optimized output but its not good as the codes are written in assembly language by human expert if the application is badly constrained in memory and we need fast running then we have to use assembly language directlyif any project is specific to a particular platform and never needs to transfer to any other platform then its better to use assembly language this much better output  

Final answer:

Assembly language is used in domains requiring direct hardware control or optimized performance, such as embedded systems, bootloaders, firmware, and performance-critical applications like game engines or signal processing software.

Explanation:

The applications of assembly language are particularly relevant in scenarios where control over hardware specifics is crucial, or where execution speed and efficiency are of paramount importance. Unlike higher-level languages, assembly language allows programmers to write code that is directly correlated with the machine instructions of the hardware, providing a high level of control and optimization. Some of the applications include writing code for embedded systems, such as microcontrollers in automotive sensors, or when creating bootloader and firmware software that operate at a very low level in the computer hardware. Additionally, critical performance applications which require highly optimized code, such as video game engines or signal processing software, often use assembly language to squeeze out extra performance where higher-level languages might introduce too much overhead.

What are the details of frame transmission andreception that LAN interface handles?

Answers

Answer and Explanation:

LAN transmission and reception handles the given bellow details  

LAN adds hardware address and use for error detection codes Use DMA to copy frame data directly from main memoryit follows access rule then transmission is in progressit also check the address where data is sent on incoming frames

if the destination address completely match with location address a copy of the frame is passed to the computer

in LAN system a single pocket is sent to the one or more nodes  

Write a program that takes the radius of a sphere (a floating-point number) as input and then outputs the sphere’s: Diameter (2 × radius) Circumference (diameter × π) Surface area (4 × π × radius × radius) Volume (4/3 × π × radius × radius × radius)

Answers

Final answer:

To calculate the properties of a sphere, such as diameter, circumference, surface area, and volume, we can use a Python program that takes the radius as input and applies mathematical formulae for a sphere.

Explanation:

To create a program that calculates the properties of a sphere, we will use the following formulae for a sphere: diameter is 2 × radius, circumference is diameter × π (pi), surface area is 4 × π × radius², and volume is (4/3) × π × radius³.


Example Code in Python

Here is a simple Python program for calculating the properties of a sphere:

import math
# Input: radius of a sphere
def sphere_properties(radius):
   diameter = 2 * radius
   circumference = diameter * math.pi
   surface_area = 4 * math.pi * radius ** 2
   volume = (4/3) * math.pi * radius ** 3
   return diameter, circumference, surface_area, volume

# Example usage:
radius = float(input("Enter the radius of the sphere: "))
properties = sphere_properties(radius)
print(f"Diameter: {properties[0]}")
print(f"Circumference: {properties[1]}")
print(f"Surface Area: {properties[2]}")
print(f"Volume: {properties[3]}")

This program prompts the user to input the radius as a floating-point number, and then outputs the calculated diameter, circumference, surface area, and volume of the sphere.

Develop a program that will calculate the area and perimeter of a rectangle. The length and width can be given as constant.(LENGTH= 8 WIDTH=8).

Answers

Answer:

#include <iostream>

using namespace std;

int main()

{

 

  int length = 8;

  int width = 8;

 

  int perimeter = 2*(length + width);

  int area = length * width;

 

  cout<<"The perimeter is "<<perimeter<<endl;

  cout<<"The area is "<<area<<endl;

 

  return 0;

}

Explanation:

include the library iostream for using the input/output instructions in the c++ programming.

Create the main function and define the variable length and width with values.

Then, use the formula for calculating the perimeter and area of rectangle.

[tex]perimeter = 2*(length + width)[/tex]

[tex]area = length * width[/tex]

and store in the variables and finally print the output.

You may nest while and do-while loops, but you may not nest for loops



True False

Answers

Answer:

You may nest while and do-while loops, but you may not nest for loops - False

The true or false questions.

The start directory of find is optional

Answers

Answer:

true

Explanation:

Find command syntax is as follows:

find [starting directory] [options]

For example:

$ find /tmp -name test

$ find . -name demo -print

$ find

As we can see in the last example, starting-directory and options can both be omitted and it will still be a valid command. When the start directory is omitted, it defaults to the current directory.

what characteristics need to be exhibited by an organisation to improve its software process?

Answers

Answer:  Defined , Controllable ,  Measured , Effective ,  Institutionalized are some of the characteristics needed to be exhibited by an organisation to improve its software process

Explanation:

Software process improvement(SPI)  helps in achieving goals of software products for an organization. Some of its characteristics are Defined , Controllable ,  Measured , Effective ,  Institutionalized.

It goals must be defined, and must also be controlled and it performance must be measured at regular intervals and any reforms carried out to achieve goals must be effective. Lastly it should implement all goals in an institutional framework to be followed by every one in the organization.

what is a networking.give types also?

Answers

Answer: Networking is the method of exchanging of the information or data through a shared medium with different nodes in a networking system. Different types of networking are :-

LANWANMANPAN

Explanation: Networking forms the basic connection for sharing of the data between different nodes on the same medium . There are different types of network that are present according to the certain requirements are as follows:-

LAN(Local area network)-consists of a network established at a single site, particularly for an single building or infrastructure.WAN(Wide area network)-it is for a very wide area and also a combination of many MAN's and LAN's together . MAN(Metropolitan area network)-it is larger than a LAN and particularly limited to a single building or site such as a college building or office building.PAN(Personal area network)-computer network for an individual person within a building.

Built-in user accounts include only the Administrator account created during Windows installation True False

Answers

Answer: True

Explanation:

When an OS is installed, the first account created is the built -in user account. It is the administrator account for the purpose of recovery and to facilitate the set up.

The statement is false; there are several built-in user accounts in Windows besides the Administrator account, including Guest, System, and service accounts such as Network Service and Local Service.

The statement that built-in user accounts in Windows include only the Administrator account created during Windows installation is false. Windows operating systems usually come with several predefined accounts for system management and security purposes.

Beyond the Administrator account, there is also the 'Guest' account, which is normally disabled by default but designed for users who require temporary access to the computer. Moreover, there is the 'System' account, which is used by the operating system to manage system services and the 'Network Service' and 'Local Service' accounts which have specific privileges to run particular system services without requiring the full privileges of the Administrator account.

These built-in accounts are an essential part of Windows security management, with each serving different roles and representing different levels of access permissions within the operating system.

In an e-credit card transaction the clearinghouse plays the following role:

A. validates and verifies the sellers payment information

B. initiates the transfer of money

C. transfers funds between the sellers bank and the buyers bank

D. all of the above

Answers

Answer:

validates and verifies the seller's payment information- A.

Answer:

Hi Samantha, i have a work with you.

Language levels have a direct influence on _______________

Write ability

Readability

Readability

None of the given

Answers

Answer:

Write Ability.

Explanation:

Great question, it is always good to ask away and get rid of any doubts that you may be having.

The level of skill you have with a certain language directly affects how fast and accurately you can code. An experienced Java programmer can finish a project a lot faster than someone who knows how to code but does not have much experience with that language.

Your language level also directly affects a codes functionality, since a person with more experience coding in a specific language will have a significantly less amount of errors.

Based on the information given above we can say that, "Language levels have a direct influence on Write Ability."

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

What are the advantages in implementing a language with apure interpreter?

Answers

Answer:

The advantage of implementing a language with pure interpreter is source level debugging implementation operations are easy in a language with pure interpreter because all run time error messages refers to source level unit.For example-array index out of bound.

What is the value of the following expression? (false || (4-3 && 6))

true

false

0

illegal syntax

Answers

Answer:

true

Explanation:

The operator '||' is called the OR operator. it is used in between the two Boolean values.

OR operator has four possible values:

First Boolean is TRUE and second Boolean is TRUE, result will be TRUE.

First Boolean is TRUE and second Boolean is FALSE, result will be TRUE.

First Boolean is FALSE and second Boolean is TRUE, result will be TRUE.

First Boolean is FALSE and second Boolean is FALSE, result will be FALSE.

consider the expression:

(false || (4-3 && 6))

the second expression (4-3 && 6) gives Boolean TRUE, because their is no point for condition false.

so, (false || True) gives TRUE result.

Final answer:

False. The expression (false || (4-3 && 6)) will result in false because the '&&' operator takes precedence over '||', and 4-3 evaluates to 1 which is considered 'true' in Boolean logic.

Explanation:

The value of the expression (false || (4-3 && 6)) is true. In this expression, ((4-3 && 6)) is evaluated first. Since 4-3 is 1, which is true, and 6 is also a non-zero number, which is considered true, the result of that part of the expression is true because both operands are true for the && (AND) operator. Then we have 'false || true', and since '||' is the OR operator, the expression is true if either side is true. Hence, the entire expression evaluates to true.

Other Questions
Describe the tests you would use to assess a patient's hearing acuity. What results would you expect if the patient's ability to hear and localize sounds was suspected to be below normal? What is a photon?A.) Part of a chloroplastB.) A carbon dioxide moleculeC.) A Light particle D.) Part of a ribosome Product A's contribution margin ratio (60%) is greater than Product B's contribution margin ratio (40%). Product A's contribution margin ratio can be contributed to its lower promotion and sales commissions costs. Thus, management should consider a. increasing the price of Product B. b. emphasizing Product A in its marketing plans. c. reducing Product B's promotion and sales commissions costs. d. All of these choices are correct. Out of 100 people at a tennis match, 66% were rooting for the local champion. If two people were chosen at random from the crowd, what is the probability that at least one of them was not rooting for the champion?Question 16 options:22.7%56.7%59.2%43.3% how to create an equation with infinitely many solutions. Tin Pan Alley songs did not deal directly with the troubling issues of the 1920s and 1930s: racism, massive unemployment, and the rise of fascism in central and Eastern Europe. Why? Which of the following is an equation of aline whose slope is 0?(1) y = 6(2) x = 6(3) y = 2x(4) x + y = 1Please helpp!!! Stuckk What is the volume of a right circular cylinder with a radius of 6 and a height of 9 An ellipse is represented using the equation . Where are the foci of the ellipse located? Check all that apply.(29, 7)(19, 7)(21, 7)(13, 7)(5, 17)(5, 31) The State of the Union address is an annual report given by the president of the United States to Congress on the condition of the country and the presidents legislative and policy plans for the upcoming year. Although by law the president has the option of sending a written report, most presidents, especially in the 20th and 21st centuries, have chosen to give a speech. The State of the Union address typically lasts for an hour, and the president must be very careful to deliver a well-planned message. What mode of delivery works best for this situation? Which of the following statements is true? (a) Extracellular signal molecules that are hydrophilic must bind to a cell-surface receptor so as to signal a target cell to change its behavior. (b) To function, all extracellular signal molecules must be transported by their receptor across the plasma membrane into the cytosol. (c) A cell-surface receptor capable of binding only one type of signal molecule can mediate only one kind of cell response. (d) Any foreign substance that binds to a receptor for a normal signal molecule will always induce the same response that is produced by that signal molecule on the same cell type. Which of these can most easily be removed from a budget if spending is higher than income? A. Fixed expenses B. Discretionary spending C. Insurance payments D. Utility bills2b2t One factor that led to the russian revolution was Which one of the following is not true concerning Diels-Alder reactions? a.The reaction is stereospecific. b.The reaction mechanism has only one step. c.The reaction mechanism involves a resonance stabilized carbocation. d.The diene must be a conjugated diene. Which of the following is an element in the sample space for first rolling a die and then tossing a coin? A. H7 B. TH C. 56 D. 5H A satellite is in a circular orbit about the earth (ME = 5.98 x 10^24 kg). The period of the satellite is 1.97 x 10^4 s. What is the speed at which the satellite travels? Please Help Keep getting 6.4 which story is often associated with magical realism? A) Portrait of a WomenB) The Metamorphosis C) Sense and Sensibility D) Sense and Sensibility. again 17. Approximately how much of the world's population lives in cities?A.75 percentB.25 percentC.80 percentD.50 percent What's a good idea to do beforehand, if you plan on drinking with your friends? A. Assign a designated driver. B. Bring extra keys in case you lose yours. C. Bring extra cups and shot glasses. D. Figure out who holds their alcohol well and make them the driver.