Questionplease help me to solve this, please read the instru Questionplease help me to solve this, please read the instruction carfully….please help me to solve this, please read the instruction carfully. I’m trying to solve it but its not working. the displayStudentExamSchedule method its working i think but setExamBookingTime displayUnbookedTimes is not working AND please help me to do convertuLLIntToArray method. I will provide you the code down, please try read the instruction and fix it. Image transcription textAssignment 1 The Exam Scheduler Due: July 4th , 2022before midnight Purpose: The purpose of thisassignment is to: . Use bit-wise operations … Show moreImage transcription textAssignment 1 Le. 1 1 1 1 1 The Exam Scheduler 9:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 So to book a one hourblock starting at time hr in a byte initially set … Show moreImage transcription textb. Create a menu similar to the one used in iv. the starttime, using the 24-hour clock. Lab3, with the followingoptions: (Hence ‘1 4’ indicates 2 p.m.) V . the… Show moreImage transcription textAssume the student will have a student exam periodrespectively.) Call this function number already used inthe examBookings displayUnbooked Times()… Show moreImage transcription textDocument each function, as well as the file IV.Submission Guidelines itself-being certain to include yourcomplete name, as it appears in Brightspac… Show more#include #include #include “_test.h” unsigned long long int CALENDAR[20][2] = {0};int numberOfBookings = 84;char* DAY[7] = { “Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”, “Sunday”,}; void displayStudentExamSchedule() { int studentNo; printf(“Your Student Number: “); scanf(“%d”, &studentNo); for (int i=0; i> 1) | 0x8000000000000000ull; } setter >>= (beginningTime – 9); setter >>= (8*day); unsigned long long int booked = 0; for (int i=0; i<=20; i++) booked |= CALENDAR[i][week]; if (booked & setter) printf("Slot is already bookedn"); else { CALENDAR[studentNo][week] |= setter; numberOfBookings++; int newBooking[] = {studentNo, week-1, day, beginningTime, duration}; for (int i=0; i<5; i++) examBookings[numberOfBookings][i] = newBooking[i]; }} void displayUnbookedTimes() { unsigned long long int bookedWeek1 = 0, bookedWeek2 = 0; for (int i=0; i<=20; i++) { bookedWeek1 |= CALENDAR[i][0]; bookedWeek2 |= CALENDAR[i][1]; } unsigned long long int daysIter = 0xFF00000000000000ull, res=0; unsigned long long int checker = 0; // Week 1 printf("nWeek 1:n"); for (int day=0; day<7; day++) { res = bookedWeek1 ^ daysIter; checker = 0x8000000000000000ull >> (8*day); print(“%s: t”, DAY[day]); for (int hour=9; hour<=16; hour++) { if (res & checker) printf("%d:00 ", hour); checker >>= 1; } printf(“n”); daysIter >>= 8; } daysIter = 0xFF00000000000000ull; res=0; checker = 0; // Week 2 printf(“nWeek 2:n”); for (int day=0; day<7; day++) { res = bookedWeek2 ^ daysIter; checker = 0x8000000000000000ull >> (8*day); printf(“%s: t”, DAY[day]); for (int hour=9; hour<=16; hour++) { if (res & checker) printf("%d:00 ", hour); checker >>= 1; } printf(“n”); daysIter >>= 8; }} int main() { int choice; printf(“Menun”); printf(“1. Display student’s exam schedulen”); printf(“2. Load a new exam bookingn”); printf(“3. Find unbooked timesn”); printf(“4. Exitnn”); do { printf(“Option: “); scanf(“%d”, &choice); switch (choice) { case 1: displayStudentExamSchedule(); break; case 2: setExamBookingTime(); break; case 3: displayUnbookedTimes(); break; } } while(choice != 4); return 0;} ****************************************************.h file_test.hint examBookings[][5] = {{0, 0, 3, 13, 3},{0, 0, 6, 14, 3},{0, 1, 1, 9, 3},{0, 1, 4, 10, 3},{1, 0, 1, 9, 3},{1, 0, 2, 11, 3},{1, 1, 2, 13, 3},{1, 1, 3, 11, 2},{2, 0, 0, 11, 3},{2, 0, 1, 15, 2},{2, 1, 0, 12, 2},{2, 1, 3, 12, 3},{3, 0, 4, 9, 3},{3, 1, 0, 14, 3},{3, 1, 1, 11, 3},{3, 1, 3, 14, 3},{4, 0, 0, 14, 3},{4, 0, 2, 14, 3},{4, 1, 1, 14, 3},{4, 1, 6, 11, 2},{5, 0, 0, 14, 3},{5, 0, 2, 14, 3},{5, 1, 1, 14, 3},{5, 1, 6, 11, 2},{6, 0, 1, 9, 3},{6, 0, 2, 11, 3},{6, 1, 2, 13, 3},{6, 1, 3, 11, 2},{7, 0, 0, 11, 3},{7, 0, 1, 15, 2},{7, 1, 0, 12, 2},{7, 1, 3, 12, 3},{8, 0, 1, 9, 3},{8, 0, 2, 11, 3},{8, 1, 2, 13, 3},{8, 1, 3, 11, 2},{9, 0, 0, 14, 3},{9, 0, 2, 14, 3},{9, 1, 1, 14, 3},{9, 1, 6, 11, 2},{10, 0, 0, 11, 3},{10, 0, 1, 15, 2},{10, 1, 0, 12, 2},{10, 1, 3, 12, 3},{11, 0, 3, 9, 3},{11, 1, 3, 9, 3},{11, 1, 4, 16, 1},{11, 1, 5, 15, 2},{12, 0, 4, 9, 3},{12, 1, 0, 14, 3},{12, 1, 1, 11, 3},{12, 1, 3, 14, 3},{13, 0, 3, 9, 3},{13, 1, 3, 9, 3},{13, 1, 4, 16, 1},{13, 1, 5, 15, 2},{14, 0, 4, 9, 3},{14, 1, 0, 14, 3},{14, 1, 1, 11, 3},{14, 1, 3, 14, 3},{15, 0, 0, 14, 3},{15, 0, 2, 14, 3},{15, 1, 1, 14, 3},{15, 1, 6, 11, 2},{16, 0, 4, 9, 3},{16, 1, 0, 14, 3},{16, 1, 1, 11, 3},{16, 1, 3, 14, 3},{17, 0, 3, 9, 3},{17, 1, 3, 9, 3},{17, 1, 4, 16, 1},{17, 1, 5, 15, 2},{18, 0, 3, 13, 3},{18, 0, 6, 14, 3},{18, 1, 1, 9, 3},{18, 1, 4, 10, 3},{19, 0, 0, 11, 3},{19, 0, 1, 15, 2},{19, 1, 0, 12, 2},{19, 1, 3, 12, 3},{20, 0, 3, 9, 3},{20, 1, 3, 9, 3},{20, 1, 4, 16, 1},{20, 1, 5, 15, 2}};Computer ScienceEngineering & TechnologyC++ ProgrammingCST 8234Share Question
How it works
Paste your instructions in the instructions box. You can also attach an instructions file Select the writer category, deadline, education level and review the instructions Make a payment for the order to be assignment to a writer Download the paper after the writer uploads it
Will the writer plagiarize my essay?
You will get a plagiarism-free paper and you can get an originality report upon request.
Is this service safe?
All the personal information is confidential and we have 100% safe payment methods. We also guarantee good grades