disadvantages assembly level language for programming ​

Answers

Answer 1
It takes a lot of time and effort to write the code for the same. It is very complex and difficult to understand. The syntax is difficult to remember. It has a lack of portability of program between different computer architectures.

Hope that helps
Answer 2

Answer:

what are the question

Explanation:

please write full question step by step


Related Questions

Please read this lab exercise thoroughly, before attempting to write the program.

Write a program that reads the pairs of group number and student count from the text file (user must enter name of file) and:

Displays the number of groups in the file (5 %)
Displays the number of even and odd student count (5%)
Displays the sum of the even student count and the sum of the odd student count as well as the sum of all the student count (5%)
Displays the group numbers of the largest student count and the smallest student count (5 %)
Computes the average of the largest and smallest student count (10 %)
Compute the sum of ALL the digits in the largest student count (i.e. 952 – Sum is 9+5+2 = 16) (15 %)
Assume the contents of the file are as follows but that the pairs of data can change later:

1 25

2 123

3 475

4 61

5 77

6 910

7 234

8 138

9 134

10 95

11 674

12 345

13 31

14 211

15 952

16 873

17 22

18 7

19 876

20 347

21 450

The following is a sample output: User input in red

What is name of the input file? integers.dat

The number of groups in the file is 21

There are 12 odd student count and 9 even student count

The sum of the odd student count is 2645

The sum of the even student count is 4390

The sum of all the student count is 7035

The group number of the largest student count is 15

The group number of the smallest student count is 18

The average of 952 and 7 is 479.5

The sum of all the digits in the largest student count is 16

NOTE:

Use two decimal point precision for the average
To check your code, adjust one of the student count in the file, recompile your code and run again (suggest changing the largest or smallest student count )
Even though there are 21 pairs of numbers in the file, the program should NOT presume there will always be 21 pairs of numbers. In other words, you should not solve this problem by declaring 21 pairs of values. If I choose to use another integers.dat file other than the one provided with the assignment, your program should still work correctly with that file as well. All you can assume is that a series of integers will be read in from the file. Therefore, you need to implement a solution that uses the repetition control structures (for, while, do…while) in the reading and processing of these values to produce your output.

Answers

Answer:

filename = input("Enter input file? ")

with open(filename, 'r') as data:

num_groups = []

num_counts = []

for line in data:

 cols = line.split()

 num_groups.append(int(cols[0]))

 num_counts.append(int(cols[1]))

print("The number of num_groups in the file is "+str(len(num_groups)))

c_even = 0; c_odd = 0; s_odd = 0; s_even = 0

for i in num_counts:

if i%2 == 0:

 c_even=c_even+1

 s_even = s_even + i

else:

 c_odd=c_odd+1

 s_odd = s_odd + i

print("There are "+str(c_odd)+" odd student and "+str(c_even)+" even student")

print("The sum of odd student is "+str(s_odd))

print("The sum of even student is "+str(s_even))

print("The sum of all student is "+str(s_even+s_odd))

max_count = num_groups[num_counts.index(max(num_counts))]

print("The group number of the largest student is "+str(max_count))

min_count = num_groups[num_counts.index(min(num_counts))]

print("The group number of the smallest student is "+str(min_count))

print("The average of "+str(max(num_counts))+" and "+str(min(num_counts))+" is:",end=" ")

print("%.2f" % ((max(num_counts)+min(num_counts))*0.5))  

bigkount = str(max(num_counts))

bigsum = 0

for i in range(len(bigkount)):

bigsum += int(bigkount[i])

 

print("The sum of all the digits in the largest student is: "+str(bigsum))

Explanation:

The program was written in Python.

Because of the length, I added an attachment where I used comments to explain the lines of the code

Other Questions
PLSSS HELP ASAPPPP I BEGMARKI BRAINLIST AND GIVING POINTS A cylinder has a diameter of 6 cm and a height of 14 cm. What is the approximate volume of a cone with the same diameter and height as the cylinder? In an ecosystem, there is a transfer of energy from one organism to the one eating it. This transfer allows the animal doing to eating to gain what percentage of the energy from the animal it ate? POSSIBLE POINTSAbsorbs dead matter, has chitin in cell walls, and is heterotrophic This organism belongs in which Kingdom? i need help in mathematics please i will give branliest 4. Find the value of x so that the mean of the given data : 14, 6,2x,8,10,4 is 85.what number should be included in the data 2,8,7,4 and 9 so that the mean is 6 What is advantags of hard engineering? SOLVE FOR BOTH K's PLS Sky-High Hannah Roberts Emotive language How does the author develop her argument in this partof the article?AlboRead the excerpt from "Healthy Eating.""I was taking all these pills like an old woman," saidNaar, a neonatology nurse at Baptist Hospital. "Myblood pressure is hereditary, but I added to it by addingthe pounds and eating horribly every day."...A nutritionist took her shopping and introduced her tothe joys of cauliflower. She upped her workouts,stopped eating hamburgers three times a week andscaled back on the Cold Stone pistachio ice cream.O She gives several reasons why people need tomake changes to their eating habits and exerciseroutines.O She shares an anecdote to show that people candrastically improve their health by making smallchanges to their diets.O She provides facts to show how helpful medicationand exercise can be for someone who wants to livea healthier lifestyle.O She uses expert quotations to show that makingsmall changes to one's diet takes a lot of time anddetermination.Today, Naar is 20 pounds lighter and down to two pillsa day. You are Ramesh/ Rohini living at ABC Janakpuri, Delhi. Write a letter to your friend inviting him to come to Delhi during the vacation. Mention a few attractions that you want both of you to visit. Which two taxonomic levels are organismsmost commonly referred? What did Elijah Muhammad overcome? How can an organism's environment affect its traits? Of the flowers in Bellas garden, 5/8 are tulips. What percent of the flowers in the garden are tulips? Can someone please help Ive been trying to solve this for a while and cant so if youd like to help me feel free to! :) Find the area of the trapezoid a21 b22.50 c11.25 d42 In computing, what does Bcc mean. The topic in which this is found is HOW TO CREATE AN E MAIL ACCOUNT A supervisory body, a source of public good, and an entity that reallocates income are all _____. roles of an entrepreneur roles of government things a government is not responsible for things an entrepreneur is responsible for Please help this question finding a side on a triangle Which is a characteristic of a person with positive mental well-being?