- discontinuity
- dependence on the electric power
and more
Answer: Scope resolution operator(::)
Explanation: A member function and the constructor can be called within the function easily but for the execution of the these components outside the class , a special operator is required to call the functions. The scope resolution operator(::) preceding with the name of class is thus used for defining of the function outside class.This operator maintains the cope of the function and constructor outside the class.
Answer:
find()
Explanation:
When dealing with MongoDB the method that needs to be used in this scenario would be the find() method. This method basically returns all of the records that exist in the collection on which it is called, if no parameter is passed. If you pass a parameter/expression then only the records that match completely the expression will be returned to the user, otherwise nothing is returned. For example, on a database (db) we would call the following
db.find() ... This will return all records
db.find({specific}) ... This will return only the records that match specific.
Answer:
For designing a database suitable for a University registrar, the following information is included which are Information about Students, Information about Departments, Information about Professors, Information about courses, Student Grades,TA's for a course, Department offering different courses.
In creating the database registrar system the following values are defined such as Entity, Attributes of entities,The relationship among entities.
Explanation:
Solution
The following requirements are for designing of database for a University registrar.
The Database Schema includes the following:
- Information about Students
- Information about Departments.
- Information about Professors.
- Information about courses.
- Student Grades.
- TA's for a course.
- Department offering different courses.
Now,
For the design of Database for Registrar System we need to define the following:
(1)Entity: Student, Course, Instructor, Course offering.
(2) Attributes of Entities:
- Student entity has Sid, name, program as its attributes
- Course has Course_n, title, credits, and syllabus as its attributes
- Instructor has iid ,name ,dept, title as its attributes
- Course offering has section_no ,time, room, year,semester as its attributes
(3) Relationship among various entities:
- Enrolls
- Teaches
- © is offered
Note: kindly find an attached copy of the E-R Diagram for University Registrar below, and his diagram shows student entity enrolls various courses which can be having teaches relationship with instructor. Course is being offered by relationship is offered by course offering.