Which of the following data items would also make sense as an attribute of the Student Class? total_credits - a dictionary containing subject areas as keys and number of credits in each subject as values classlists - a dictionary containing lists of all other students in all of their classes GPA - a float containing the student's Grade Point Average total_students - an int containing the number of total students at the university begin_term - a string containing the term and year that this Student first started taking classes at the University
SQL
SQL stands for Structured Query Language, is a form of communication that uses queries structured in a specific format to store, manage & retrieve data from a relational database.
Queries
A query is a type of computer programming language that is used to retrieve data from a database. Databases are useful in a variety of ways. They enable the retrieval of records or parts of records, as well as the performance of various calculations prior to displaying the results. A search query is one type of query that many people perform several times per day. A search query is executed every time you use a search engine to find something. When you press the Enter key, the keywords are sent to the search engine, where they are processed by an algorithm that retrieves related results from the search index. Your query's results are displayed on a search engine results page, or SER.
![class Student:
def _init_(self, firstname, lastname, idnum):
self.first = firstname
self.last = lastname
self.id = idnum
self.courses = []
def add_course(self, course):
''' don't allow overloads or signing up for the same course twice
if course not in self.courses and len(self.courses) < 5:
self.courses.append (course)
def clear_courses(self):
''clear this student's course schedule''"
self.courses = []
def overload (self):
return len(self.courses) >= 4
What are all of the attributes of this class?
last
overload
idnum
add_course
self
first
course
firstname
courses
id
clear_courses
lastname](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F7949c58c-a906-41a4-97ee-5d0bfe78cf99%2F3e87c76c-56e2-46d2-8cc8-0920ef564228%2F0igwnpf_processed.png&w=3840&q=75)
![Which of the following data items would also make sense as an attribute of the Student Class?
total_credits - a dictionary containing subject areas as keys and number of credits in each subject as values
classlists - a dictionary containing lists of all other students in all of their classes
GPA - a float containing the student's Grade Point Average
total_students - an int containing the number of total students at the university
begin_term - a string containing the term and year that this Student first started taking classes at the University](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F7949c58c-a906-41a4-97ee-5d0bfe78cf99%2F3e87c76c-56e2-46d2-8cc8-0920ef564228%2Frosuztx_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)