Create a class named Course_Details that will contain get and set methods for the course name,
student numbers and lecturer. In the Course_Details class include a method called Assign Venue
that will randomly generate a Venue/Class for the course. Venues can be from 1 to 3 only. Your
main class must include a static method to handle the printing of the course report.
Read the scenario and draw the flowchart for it.
A program needs to be developed for helping your younger siblings to calculate the area of a square when the input(side) is given. The program first of all needs to permit him/her to work on the area when he/she is below class 6. The program should allow for new entering of class when the class given doesn’t meet the requirement for working on area of a square. Also, ensure that the side given is a positive number else allow him/her enter a new side.
how to write a Python program to read from a file, invert the dictionary, and write to a different file.
Create a class named Course_Details that will contain get and set methods for the course name,
student numbers and lecturer. In the Course_Details class include a method called Assign Venue
that will randomly generate a Venue/Class for the course. Venues can be from 1 to 3 only. Your
main class must include a static method to handle the printing of the course report.
A login JFrame Form:use NetBeans application
Functions:
1. Add a Book to the list with the given book id from a JTextField.
2.Display the image of a book cover with the given book id from a JTextField.
Create 5 sample “book cover” image files (in jpeg format) in your Project folder. An example is shown below:
You can create your own simple image files using a Paint program.
The file name for book-1 is Book1Cover.jpg, for book-2 is Book2Cover.jpg, and so on.
3. List the books (book title and short description) with respect to the given author name from a JTextField.
4. List the books (book title) with respect to the given category from a JTextField.
5. List the books (book title) with respect to the given category from a JTextField, sorted by their rating.
6. Display the number of books that the user has finished reading in the given year from a JTextField.
(with GUI) developed with Java programming language.
Create a project named “FavoriteBooks” which keeps a list of the books that a user has read and liked.
This list is stored in a text document (.txt) file and for each book it keeps the following data separated by a comma (,):Book id, Title, Category, First Author Name and Surname, Award Winner, Rating, Year, Number of Pages, and Short Description.
A login JFrame Form:
Functions:
1. Add a Book to the list with the given book id from a JTextField.
2. Delete a Book from the list with the given book id from a JTextField. This task should delete the book with the given id from the text document. A message dialog box should be displayed to show that this task is completed.
3. Display the information of a book with the book title given fully or as a keyword from a JTextField..
Note: How you design the GUI (Graphical User Interface) of your project is optional.
By implementing the concepts of classes and objects, write a C++ program that determines the distance between 2 points in a coordinate system. The coordinates of the 2 points: P1 (x1, y1) and P2 (x2, y2) are to be entered from the keyboard. The distance, d, between the 2 points is computed as: d = √(y2 - y1)^2 + (x2 - x1)^2
a) Write a program to count the number of female and male students in class of 30. User need to input gender for each student.
b) Write a program to count the number of students who gets more than 5 marks of quizzes in class 30. User need to input mark of quiz for each student.
c) Write a program to find the highest and lowest of quiz mark of 30 students. User need to input mark of quiz for each student.
Write a C++ program to print the digits of a number in reverse order. The user will enter the number and your program will display in reverse order. Make sure user only enters a positive number, if negative number, display an error message.
After test 1, a lecturer would like to analyze the students’ performance. As a programmer you are asked to write a program which will input the student’s name and mark (0-100) until a negative value is keyed in as the value of mark. The program will then display
a) The average mark.
b) The name and mark of student with the lowest mark.
c) The name and mark of student with the highest mark.
The passing mark is 25. Calculate and display the number of student that fails the test. What is sentinel value?