subject

Viết chương trình quản lý sinh viên bằng danh sách liên kết đơn. Thông tin sinh viên gỗm: MaSV, TenSV, DiemTB. Thực hiện các yêu cầu sau: 1. Nhập vào n sinh viên (0.5 đ)

2. In n sinh viên ra màn hình dưới dạng bảng: (0.5 đ)

STT Mã SV Tên SV ĐiểmTB

01 SV01 Nguyen Van Anh 8.5

02 SV02 Bui Thi Thanh Loan 6.5

3. Sắp xếp sinh viên theo thứ tự giảm dần của DiemTB bằng phương pháp sắp xếp chọn (0.5 đ)

4. Bổ sung một sinh viên mới vào danh sách đã được sắp xếp theo điểm trung bình sao cho danh sách sau khi bổ sung vẫn là danh sách được sắp xếp theo điểm trung bình. (0.5 đ)

5. In ra bảng dữ liệu giống bảng 2, bổ sung cột xếp loại. Xếp loại sinh viên dựa theo điểm trung bình với yêu cầu như sau: (05 đ)

Nếu DTB<0 hoặc DTB>10 thì Thông báo dữ liệu không hợp lệ

Nếu DTB<5 thì xếp loại yếu

Nếu 5<=DTB<6.5 xếp loại Trung bình

Nếu 6.5<=DTB<8 xếp loại khá

Nếu DTB>=8 xếp loại Giỏi

6. Xóa tất cả sinh viên có xếp loại yếu ra khỏi danh sách, in kết quả kiểm tra. (0.5 đ)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
Draw the hierarchy chart and design the logic for a program that calculates service charges for hazel's housecleaning service. the program contains housekeeping, detail loop, and end-of-job modules. the main program declares any needed global variables and constants and calls the other modules. the housekeeping module displays a prompt for and accepts a customer's last name. while the user does not enter for the name, the detail loop accepts the number of bathrooms and the number of other rooms to be cleaned. the service charge is computed as $40 plus $15 for each bathroom and $10 for each of the other rooms. the detail loop also displays the service charge and then prompts the user for the next customer's name. the end-of-job module, which executes after the user enters the sentinel value for the name, displays a message that indicates the program is complete.
Answers: 2
question
Computers and Technology, 22.06.2019 01:40
Kali, a python programmer, is using the turtle module to write the word “hello.” which code should she use to indicate the location to begin writing the word? a # pick up the turtle and move it to its starting location. b penup(-100, 200) goto() pendown() c penup() goto(-100, 200) pendown() d # pick up the turtle and move it to (-100, 200)
Answers: 2
question
Computers and Technology, 22.06.2019 23:30
For her science class, elaine is creating a presentation on weather in the united states. she wants to make the presentation beautiful and interesting by drawing simple cloud or wave shapes. which is the best way for elaine to draw these shapes?
Answers: 1
question
Computers and Technology, 23.06.2019 21:00
Uget brainliest if accurate mary has been given the responsibility of hiring a person for the position of a software testing officer. which management function would mary achieve this responsibility?
Answers: 1
You know the right answer?
Viết chương trình quản lý sinh viên bằng danh sách liên kết đơn. Thông tin sinh viên gỗm: MaSV, TenS...
Questions
question
History, 11.01.2020 13:31
question
Social Studies, 11.01.2020 13:31
question
Social Studies, 11.01.2020 13:31
Questions on the website: 13722363