public Departments(string name) { DepartmentName = name; listOfCourses = new Course[100]; teachingHours = new Teaching_Hour[1000]; }
static void Main(string[] args) { Course c = new Course("PL1", 001, 3, 5.0, 1); Course c1 = new Course("AI", 003, 3, 5.0, 1); Section s = new Section("I", "pl2", 001, 3, 5.0); Section s1 = new Section("J", "PL2", 001, 3, 3.0); Section s2 = new Section("K", "pl2", 001, 3, 3.0); Section s3 = new Section("I", "SE", 002, 3, 3.0); Section s4 = new Section("J", "SE", 002, 3, 3.0); Section s5 = new Section("K", "SE", 002, 3, 3.0); s.SearchSection(001); Console.WriteLine("Seacrhing"); c.SearchSection(001); Console.WriteLine("Searching"); c.ShowInfo(); Console.WriteLine("Searching"); s.ShowInfo(); Console.WriteLine("Searching"); Departments d = new Departments("FST"); Departments d2 = new Departments("FBA"); Departments d3 = new Departments("FASS"); d.AddCourse(c1, c); d.ShowAllCourses(); Console.WriteLine("Add Course"); d.AddCourse(s, s1, s2, s3, s4, s5); d.ShowAllCourses(); Console.WriteLine("`Faculty Taking Courses"); Faculty f = new Faculty("A", "20-001"); Faculty f1 = new Faculty("B", "20-002"); Faculty f2 = new Faculty("C", "20-003"); Teaching_Hour t = new Teaching_Hour("PL1", 3, d); Teaching_Hour t1 = new Teaching_Hour("PL2", 3, d); Teaching_Hour t2 = new Teaching_Hour("AI", 3, d); Teaching_Hour t3 = new Teaching_Hour("OOP1", 3, d); Teaching_Hour t4 = new Teaching_Hour("SE", 3, d); Teaching_Hour t5 = new Teaching_Hour("CS", 3, d); Teaching_Hour t6 = new Teaching_Hour("AC", 3, d2); Console.WriteLine("Faculty Information"); f.ShowInfo(); f.AddCredit(t, t1, t2, t3, t4, t5); f.ShowAllCredits(); Console.WriteLine("Faculty Information"); f1.ShowInfo(); f1.AddCredit(t, t1, t2, t3, t4, t5); f1.ShowAllCredits(); }
static void Main(string[] args) { Console.WriteLine("````````````````````````````````````````"); Console.WriteLine("````````````````*****```````````````````"); Console.WriteLine("Welcome to University Management System"); Console.WriteLine("Created By Dilruba khanam jesey"); Console.WriteLine("Developer At Kuratoli Software Solutions"); Console.WriteLine("````````````````*****```````````````````"); Console.WriteLine("````````````````````````````````````````"); Course c = new Course("C#", 101, 3, 5.0); Course c1 = new Course("C++", 102, 3, 5.0, 1); Section s1 = new Section("A", "C#", 103, 3, 5.0); Section s2 = new Section("B", "C#", 104, 3, 3.0); Section s3 = new Section("C", "C#", 105, 3, 3.0); Section s4 = new Section("D", "C#", 106, 3, 3.0); Section s5 = new Section("E", "C++", 107, 3, 3.0); Section s6 = new Section("F", "Java", 108, 3, 3.0); Section s7 = new Section("G", "OOP1", 109, 3, 3.0); Section s8 = new Section("H", "Compiler", 110, 3, 3.0); Section s9 = new Section("I", "Grapics design", 111, 3, 3.0); Section s10 = new Section("J", "OOP1", 112, 3, 3.0); s1.SearchSection(103); Console.WriteLine("``````````Seacrhing For Section`````````"); c.SearchSection(101); Console.WriteLine("````````````````````````````````````````"); c.ShowInfo(); Console.WriteLine("````````````````````````````````````````"); s1.ShowInfo(); Console.WriteLine("````````````````````````````````````````"); Department d = new Department("FST"); Department d1 = new Department("Accounting"); Department d2 = new Department("FBA"); Department d3 = new Department("Mechanical"); d.AddCourse(c, c1); d.ShowAllCourses(); Console.WriteLine("````````````````````````````````````````"); Console.WriteLine("``````Adding Courses In Department``````"); d.AddCourse(s1, s2, s3, s4, s5, s6, s7, s8, s9, s10); d.ShowAllCourses(); Console.WriteLine("````````````````````````````````````````"); Console.WriteLine("`````````Faculty Taking Courses`````````"); Faculty f1 = new Faculty("Jennita jahangir", "20-001"); Faculty f2 = new Faculty("Anisul karim", "11-002"); Faculty f3 = new Faculty("Masud parvez", "18-003"); Faculty f4 = new Faculty("Shusmita ckakraborty", "18-004"); Faculty f5 = new Faculty("Dr.kamal", "20-005"); Teaching_Hour t = new Teaching_Hour("C", 3, d); Teaching_Hour t1 = new Teaching_Hour("C++ ", 3, d); Teaching_Hour t2 = new Teaching_Hour("Java ", 3, d); Teaching_Hour t3 = new Teaching_Hour("Python", 3, d); Teaching_Hour t4 = new Teaching_Hour("Accounting", 3, d); Teaching_Hour t5 = new Teaching_Hour("OOAD", 3, d); Teaching_Hour t6 = new Teaching_Hour("Physics", 3, d2); Teaching_Hour t7 = new Teaching_Hour("COA", 3, d); Teaching_Hour t8 = new Teaching_Hour("DC", 3, d1); Teaching_Hour t9 = new Teaching_Hour("DLD", 3, d1); Teaching_Hour t10 = new Teaching_Hour("Math", 3, d1); Teaching_Hour t11 = new Teaching_Hour("DEC", 3, d1); Teaching_Hour t12 = new Teaching_Hour("ECO", 3, d2); Console.WriteLine("``````````Faculty Information```````````"); f1.ShowInfo(); f1.AddCredit(t, t1, t2, t3, t4, t5, t8); f1.ShowAllCredits(); Console.WriteLine("``````````Faculty Information```````````"); f3.ShowInfo(); f3.AddCredit(t, t1, t2, t3, t4, t5, t8, t12); f3.ShowAllCredits(); }
public void AddTeachingHours(Teaching_Hour teachingHour) { teachingHours[CreditCount++] = teachingHour; }
static void Main(string[] args) { Console.WriteLine("Welcome to University Management System"); Course c = new Course("C#", 001, 3, 5.0, 1); Course c1 = new Course("C++", 003, 3, 5.0, 1); Section s = new Section("I", "C#", 001, 3, 5.0); Section s1 = new Section("J", "C#", 001, 3, 5.0); Section s2 = new Section("K", "C#", 001, 3, 5.0); Section s3 = new Section("L", "C#", 001, 3, 5.0); Section s4 = new Section("M", "C#", 001, 3, 5.0); Section s5 = new Section("I", "OOP1", 002, 3, 5.0); Section s6 = new Section("J", "OOP1", 002, 3, 5.0); Section s7 = new Section("K", "OOP1", 002, 3, 5.0); Section s8 = new Section("L", "OOP1", 002, 3, 5.0); Section s9 = new Section("M", "OOP1", 002, 3, 5.0); s.SearchSection(001); Console.WriteLine("Seacrhing For Section"); c.SearchSection(001); Console.WriteLine(",,,,,,,,,,,,,,,"); c.ShowInfo(); Console.WriteLine(",,,,,,,,,,,,,,,,,,,,,"); s.ShowInfo(); Console.WriteLine(",,,,,,,,,,,,,,,,,,,,,,"); Departments d = new Departments("FST"); Departments d1 = new Departments("FE"); Departments d2 = new Departments("FBA"); Departments d3 = new Departments("FASS"); d.AddCourse(c1, c); d.ShowAllCourses(); Console.WriteLine(",,,,,,,,,,,,,,,,,,,,,,,,,,"); Console.WriteLine("Adding Courses In Department"); d.AddCourse(s, s1, s2, s3, s4, s5, s6, s7, s8, s9); d.ShowAllCourses(); Console.WriteLine(",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"); Console.WriteLine("Faculty Taking Courses"); Faculty f = new Faculty("Tanvir Ahmed", ""); Faculty f1 = new Faculty("Victor Stany", ""); Faculty f2 = new Faculty("Md Rouf", ""); Faculty f3 = new Faculty("Ahmed Manirul", ""); Faculty f4 = new Faculty("Tahseen Asma", ""); Teaching_Hour t = new Teaching_Hour("C# programming language", 3, d); Teaching_Hour t1 = new Teaching_Hour("C programming language", 3, d); Teaching_Hour t2 = new Teaching_Hour("Java programming language", 3, d); Teaching_Hour t3 = new Teaching_Hour("Algorithm", 3, d); Teaching_Hour t4 = new Teaching_Hour("OOAD", 3, d); Teaching_Hour t5 = new Teaching_Hour("Operating System", 3, d); Teaching_Hour t6 = new Teaching_Hour("COA", 3, d2); Teaching_Hour t7 = new Teaching_Hour("RM", 3, d); Teaching_Hour t8 = new Teaching_Hour("DEC", 3, d1); Teaching_Hour t9 = new Teaching_Hour("Microprecessor", 3, d1); Teaching_Hour t10 = new Teaching_Hour("DLD", 3, d1); Teaching_Hour t11 = new Teaching_Hour("Network Security", 3, d1); Teaching_Hour t12 = new Teaching_Hour("SQT", 3, d2); Teaching_Hour t13 = new Teaching_Hour("BUSS COMM", 3, d2); Teaching_Hour t14 = new Teaching_Hour("DC", 3, d2); Teaching_Hour t15 = new Teaching_Hour("AC", 3, d3); Teaching_Hour t16 = new Teaching_Hour("Math 1", 3, d3); Teaching_Hour t17 = new Teaching_Hour("Math 5", 3, d3); f.AddCredit(t, t1, t2, t3, t4, t5); f.ShowAllCredits(); }
public Departments() { listOfCourses = new Course[100]; teachingHours = new Teaching_Hour[1000]; }
static void Main(string[] args) { Console.WriteLine("````````````````````````````````````````"); Console.WriteLine("````````````````*****```````````````````"); Console.WriteLine("Welcome to University Management System"); Console.WriteLine("Created By A. S. M. Radwan"); Console.WriteLine("Developer At Kuratoli Software Solutions"); Console.WriteLine("````````````````*****```````````````````"); Console.WriteLine("````````````````````````````````````````"); Course c = new Course("C#", 001, 3, 5.0, 1); Course c1 = new Course("C++", 003, 3, 5.0, 1); Section s = new Section("I", "C#", 001, 3, 5.0); Section s1 = new Section("J", "C#", 001, 3, 3.0); Section s2 = new Section("K", "C#", 001, 3, 3.0); Section s3 = new Section("L", "C#", 001, 3, 3.0); Section s4 = new Section("M", "C#", 001, 3, 3.0); Section s5 = new Section("I", "OOP1", 002, 3, 3.0); Section s6 = new Section("J", "OOP1", 002, 3, 3.0); Section s7 = new Section("K", "OOP1", 002, 3, 3.0); Section s8 = new Section("L", "OOP1", 002, 3, 3.0); Section s9 = new Section("M", "OOP1", 002, 3, 3.0); s.SearchSection(001); Console.WriteLine("``````````Seacrhing For Section`````````"); c.SearchSection(001); Console.WriteLine("````````````````````````````````````````"); c.ShowInfo(); Console.WriteLine("````````````````````````````````````````"); s.ShowInfo(); Console.WriteLine("````````````````````````````````````````"); Departments d = new Departments("FST"); Departments d1 = new Departments("FE"); Departments d2 = new Departments("FBA"); Departments d3 = new Departments("FASS"); d.AddCourse(c1, c); d.ShowAllCourses(); Console.WriteLine("````````````````````````````````````````"); Console.WriteLine("``````Adding Courses In Department``````"); d.AddCourse(s, s1, s2, s3, s4, s5, s6, s7, s8, s9); d.ShowAllCourses(); Console.WriteLine("````````````````````````````````````````"); Console.WriteLine("`````````Faculty Taking Courses`````````"); Faculty f = new Faculty("Dennis Ritchie", "20-001"); Faculty f1 = new Faculty("Bjarne Stroustrup", "20-002"); Faculty f2 = new Faculty("James Gosling", "20-003"); Faculty f3 = new Faculty("Linus Torvalds", "20-004"); Faculty f4 = new Faculty("Anders Hejlsberg", "20-005"); Teaching_Hour t = new Teaching_Hour("C programming language", 3, d); Teaching_Hour t1 = new Teaching_Hour("C++ programming language", 3, d); Teaching_Hour t2 = new Teaching_Hour("Java programming language", 3, d); Teaching_Hour t3 = new Teaching_Hour("Python", 3, d); Teaching_Hour t4 = new Teaching_Hour("OS", 3, d); Teaching_Hour t5 = new Teaching_Hour("OOAD", 3, d); Teaching_Hour t6 = new Teaching_Hour("Accounting", 3, d2); Teaching_Hour t7 = new Teaching_Hour("COA", 3, d); Teaching_Hour t8 = new Teaching_Hour("DC", 3, d1); Teaching_Hour t9 = new Teaching_Hour("DLD", 3, d1); Teaching_Hour t10 = new Teaching_Hour("AC", 3, d1); Teaching_Hour t11 = new Teaching_Hour("DEC", 3, d1); Teaching_Hour t12 = new Teaching_Hour("ECO", 3, d2); Teaching_Hour t13 = new Teaching_Hour("BUSS MATH", 3, d2); Teaching_Hour t14 = new Teaching_Hour("BUSS COMM", 3, d2); Teaching_Hour t15 = new Teaching_Hour("AC", 3, d3); Teaching_Hour t16 = new Teaching_Hour("DEC", 3, d3); Teaching_Hour t17 = new Teaching_Hour("DEC", 3, d3); Teaching_Hour t18 = new Teaching_Hour("AI", 3, d); Teaching_Hour t19 = new Teaching_Hour("SE", 3, d); Teaching_Hour t20 = new Teaching_Hour("SQT", 3, d); Console.WriteLine("``````````Faculty Information```````````"); f.ShowInfo(); f.AddCredit(t, t1, t2, t3, t4, t5, t18); f.ShowAllCredits(); Console.WriteLine("``````````Faculty Information```````````"); f1.ShowInfo(); f1.AddCredit(t, t1, t2, t3, t4, t5, t18, t19); f1.ShowAllCredits(); }
public Faculty(string facultyName, string facultyId) { this.FacultyName = facultyName; this.FacultyId = facultyId; teaching_Hours = new Teaching_Hour[100]; }
public Faculty() { teaching_Hours = new Teaching_Hour[100]; }
static void Main(string[] args) { Console.WriteLine("Welcome to University Management System"); Console.WriteLine("Created By Rafik Rokon"); Console.WriteLine("Developer At Kuratoli Software Solutions"); Course c = new Course("Java", 001, 3, 5.0, 1); Course c1 = new Course("C#", 003, 3, 5.0, 1); Section s = new Section("A", "C#", 001, 3, 5.0); Section s1 = new Section("B", "C#", 001, 3, 3.0); Section s2 = new Section("C", "C#", 001, 3, 3.0); Section s3 = new Section("D", "C#", 001, 3, 3.0); Section s4 = new Section("M", "C#", 001, 3, 3.0); Section s5 = new Section("E", "OOP1", 002, 3, 3.0); Section s6 = new Section("F", "OOP1", 002, 3, 3.0); Section s7 = new Section("G", "OOP1", 002, 3, 3.0); Section s8 = new Section("H", "OOP1", 002, 3, 3.0); Section s9 = new Section("I", "OOP1", 002, 3, 3.0); s.SearchSection(001); Console.WriteLine("Seacrhing For Section"); c.SearchSection(001); Console.WriteLine("``"); c.ShowInfo(); Departments d = new Departments("CSE"); Departments d1 = new Departments("BBA"); Departments d2 = new Departments("EEE"); Departments d3 = new Departments("ECO"); d.AddCourse(c1, c); d.ShowAllCourses(); Console.WriteLine("Adding Courses In Department"); d.AddCourse(s, s1, s2, s3, s4, s5, s6, s7, s8, s9); d.ShowAllCourses(); Console.WriteLine("Course Faculty"); Faculty f = new Faculty("Sajjadul Bari", "20-001"); Faculty f1 = new Faculty("Theotoinus Gomez", "20-002"); Faculty f2 = new Faculty("Victor Rozario", "20-003"); Faculty f3 = new Faculty("Hasib Hasan", "20-004"); Faculty f4 = new Faculty("Rakib Hasan", "20-005"); Teaching_Hour t = new Teaching_Hour("C programming", 3, d); Teaching_Hour t1 = new Teaching_Hour("C++ programming", 3, d); Teaching_Hour t2 = new Teaching_Hour("Java", 3, d); Teaching_Hour t3 = new Teaching_Hour("C#", 3, d); Teaching_Hour t4 = new Teaching_Hour("TOC", 3, d); Teaching_Hour t5 = new Teaching_Hour("OOAD", 3, d); Teaching_Hour t6 = new Teaching_Hour("Economics", 3, d2); Teaching_Hour t7 = new Teaching_Hour("SE", 3, d); Teaching_Hour t8 = new Teaching_Hour("Math1", 3, d1); Teaching_Hour t9 = new Teaching_Hour("Math2", 3, d1); Teaching_Hour t10 = new Teaching_Hour("Math3", 3, d1); Teaching_Hour t11 = new Teaching_Hour("Math4", 3, d1); Teaching_Hour t12 = new Teaching_Hour("Math5", 3, d2); Teaching_Hour t13 = new Teaching_Hour("Business Communication", 3, d2); Teaching_Hour t14 = new Teaching_Hour("Bangladesh Studies", 3, d2); Teaching_Hour t15 = new Teaching_Hour("Accounting", 3, d3); Teaching_Hour t16 = new Teaching_Hour("AC", 3, d3); Teaching_Hour t17 = new Teaching_Hour("Computer Networks", 3, d3); Teaching_Hour t18 = new Teaching_Hour("Database", 3, d); Teaching_Hour t19 = new Teaching_Hour("Data Structure", 3, d); Teaching_Hour t20 = new Teaching_Hour("DC", 3, d); Console.WriteLine("Faculty Information"); f.ShowInfo(); f.AddCredit(t, t1, t2, t3, t4, t5, t18); f1.ShowAllCredits(); }