Syllabus |
.html
.pdf |
||||
Students' List |
.txt
.pdf |
||||
Contact Hours |
|
||||
Schedule |
Five experiments shall be completed in
every lab session. |
||||
Messages or Instructions |
Come prepared to the lab with questions
and written programs in a note book. Write code indented and documented. Every program should have a comment line with your roll number in the format cecee18xxx. Record your work in a text file with the format "script" command is recommended for recording your actions on the terminal. Usage example: script script.txt Do your work. Finally type "exit". Upload Upload a short report of the work carried out in the lab mentioning the program file names and work-file name. You are required to upload every day's work in the ftp server. On the next lab session or any time before, submit a printed report showing the question, description, the program, and the result. Every page shall bear the the complete roll number in the format cecee18xxx. Server username and password: ee18xxx. Password may be changed by the student. Recommended. The script file above and program files should be stored in a directory named as ddmm where dd referring the day and mm the month. Directory ddmm should be created at the server. No further sub-directories are allowed inside ddmm. Operational commands:-- ls -l pwd cd mkdir gcc cfilename -o outputfilename upload commands:-- scp filename user@server: single file: rsync -a filename ee18xxx@server:location directory: rsync -a directoryname ee18xxx@server:location remote login:-- ssh user@serverip change password: passwd logout:- exit 27/8/19; Modified file names suggested - Adhere them strictly.
Upload only script.txt report.txt and 5 c program files Delete all other files including files ending ~, a.out etc. 3/9/19: Modified report.txt is provided below. After execution of the program, collect the input and result and include them in the report.txt file. 19/9/19: Kindly follow the instructions strictly. Look at the "Evaluation 1" link below. You are eligible for 10 marks. If not got that much, there must be some valid reason. Come and enquire so that next time the mistake is not repeated. Also, as we progress, penalty may increase. For example, for wrong directory name the penalty is now 1 instead of .5. 9/10/19: Two additions points to note: (1) report.txt is to be created with a single input and output heading per program, and copy paste the input and output from the terminal as you executed the code. (2) Note book should bear at least five programs with date and experiment number written on the top-left margin of the code as " 10/10/19 #1", 10/10/19 #2, ... " etc. |
||||
Experiments |
Here. Will
be updated |
||||
Students' Progress |
Experiment Progress Evaluation 1 Evaluation 2 |
||||
Final Evaluation |
15/11/19: Final Lab exams shall be conducted on 21/11/19. Details to follow.... Record details: The report/record should have 1. Front page in bold font 2. A certificate page 3. A contents page 4. Experiment details - day wise (i) The Question and the program submitted online along with program name. More than one program could be included per page, if space is available. Print on both sides of the paper (of one day's work). (ii) For every day's experiments the printout of the report submitted online. 5. Do soft binding. No spiral binding. Or stitch them neatly using needle and twine! Or do triple punch and tie together neatly! Use an outer thick paper cover of light blue colour. 6. Clarify doubts if any. (19/11/19). 7. Submit the record by 20/11/19. 8. Certificate & Front page format .pdf .tex to unzip the tar files: tar xvzf rep.tar.gz (Print in black & white) 9. Schedule 21/11/19 - F Batch. 10. Once the record is ready send a copy by email, upload a copy in our server. File format: ee18exx.ee233.pdf 11. Venue: Computer Centre Report in time with your ID card, pen, and lab record. Mobile phone is prohibited even in switched off condition. General Instructions: -1. Wear your ID Card. -2. Ensure that your mobile phone is not carried inside. -3. Write your Roll number(EE18Exx), Name, KTU Register Number on the front page of the answer book. Write the system id on top of the answer book. -4. Write the steps/code in about 15 minutes. Get it signed, and switch on the computer only then. -5. Log into the system with the user name and password given. Create a directory fxx or exx (xx - the last two digits of your Roll number, don't include anything else). Change to this directory. Start script. Do the work inside the new directory. Once the result is ready show it to the faculty. Stop the script. Do not close the terminal, but close the text editor and file-view-gui. -6. Wait until the files (the c files and script) are uploaded OR given permission to leave. -7. If you are unable to finish and show the output, save all files, stop the script, and after informing the faculty leave the hall when announced. Don't try to stay beyond the scheduled time. Such instances will be noted. 20/11/19. 8. Please stop printing and binding the front page and certificate page as the logo is wrong. The report may be printed without logo, or with CEC logo inserted. Updated files are posted. Proceed with it. 9. Submission of marks to University is subject to regulations of KTU with respect to attendance. 10. Records of E Batch may be taken back tomorrow(On 21/11). They may get the HoD's sign( if not already) and produce at the lab exam. 22/11/19: 11. Schedule: E Batch 25/11/19 AN 12. For only those who have produced record by the scheduled date, which was 20/11/19. 26/11/19: For those who missed the regular schedule of lab exams, must appear for the exam scheduled today(26/11/19) 2PM. No additional chance. Read the instructions posted above. Additionally, send me a request email. The email should reach me by 12.15 PM. |
||||
Attendance |
28/11 Percentage Those with attendance percentage below 60 will be marked as ineligible. |
||||
Internal marks |
Record-Hard copy Record - soft copy 28/11/19: 9.20AM -- The soft copies of the lab records of E01, E14, E15, E30 (E14 - Wrong file) are either not submitted or not as per spec. Kindly rectify and resend via email immediately. 28/11/19: 12.45PM: Reminder: Sessional will be published and submitted today. Still waiting for the above 28/11/19: 17.16: E01, E15, E30 still pending 28/11/19: 18.31: Those with attendance percentage below 60 will be marked as ineligible. 28/11/19 7PM Sessional |
||||
Example code writing - indented |
sample1 |
||||
report.txt format |
report.txt |
||||
Short lab test |
For 28/10/19: Write a function to find the largest of two numbers. Use this function repeatedly to find the largest of n numbers. Show the result in the lab. Upload it as test.c Include the execution details in report.txt as sixth entry. ------------------------------------------------------------------------------------------------------------------------ For 31/10: Write a function to check whether a number is a multiple of 10 or not. Use this function to count how many of the given numbers are divisible by 10. Upload it as test.c Include it as the sixth program in report.txt Show the result in the lab ------------------------------------------------------------------------------------------------------------------------ For 7/11/19: Write a function to evaluate a term of a polynomial. Using this function evaluate a polynomial. Upload it as test2.c Include it as the last program in report.txt Show the result in the lab Code it on your own. Do not discuss with colleagues. ------------------------------------------------------------------------------------------------------------------------ For 11/11/19 Those with odd roll numbers do the first program, rest the second. (1) Write a function to add two numbers. Using this function, find the product of two +ve integers. Direct multiplication is not permitted.(4 marks) (2) Write a function to compute the difference of two numbers. Using this function find the quotient and remainder of two +ve integers. Assume that the first number is >= the second number. No direct division is permitted. -- Program without any multiplication (4 marks) -- else Program with one multiplication (3 marks) ----------- Show the result. Upload it as test2.c Include it as the last entry in report.txt ---------------------------------------------------------------------------------------------------------------------- For 14/11/19 (4 marks) Those with odd roll numbers do the first program, rest the second. (1a) Define a structure with fields roll number and marks. Create an array of this to store the details of n candidates. Prepare a rank-list (OR) (1b) Define a structure with fields roll number and marks in two subjects and total marks. Create an array of this to store the details of n candidates. Input the marks in two subjects and compute the total and fill the total field of every candidate. ********* (2) (For those with even roll numbers) Define a structure with fields roll number and marks. Create an array of this to store the details of n candidates. From it, display the following details -- Average marks -- Top rank -- Last rank. ----------- Show the result. Upload it as test3.c Include it as the last entry in report.txt ---------------------------------------------------------------------------------------------------------------------- For 18/11/19 A matrix is used to store the following details of items in a store - product number. quantity, price. In the same matrix store the total value of each item. Display the details with proper headings. Finally calculate the total value of all items together. Also, find and display the details of the item with least stock. ----------- Show the result. Upload it as test3.c Include it as the last entry in report.txt |
Month |
Date |
Hours |
Progress |
Class Count E |
Class Count F |
Absentees |
No. of Abs |
Late |
Remarks |
August |
5 |
6 |
Intro |
1 |
1 |
E:7,10,26,30,31,32,33 F: 1,25 |
9 |
||
8 |
1-3 |
2 |
22,32 |
2 | Seems to have not
followed the instructions well enough. Asked to read
them again and adhere. |
||||
19 |
4-6 |
2 |
31, |
1 | |||||
22 |
1-3 | 3 |
19,27,28,30 |
4 |
scripting - None. report - none datewise -some. printout -none indent - some five - some listed prgrms - some identity - None 11 upload partial. System failure |
||||
26 |
4-6 |
3 |
23,30 |
2 |
|||||
29 |
1-3 |
4 |
19,30 |
2 |
|||||
September |
2 |
4-6 | 4 |
1,7,10,11,17,19 |
6 |
||||
5 |
1-3 |
5 |
1,6,14,15,19,28,30,32 |
8 |
21,23 |
||||
16 |
4-6 | 5 |
8,13 |
2 |
|||||
19 |
1-3 |
6 |
19, 21 |
2 |
|||||
30 |
4-6 |
6 |
19,28 |
2 |
17,3 |
Very late |
|||
October |
3 |
1-3 |
7 |
17,19,21,33 |
4 |
14 |
|||
10 |
1-3 |
7 |
15,31 |
2 |
|||||
14 |
4-6 |
8 |
1,15,19 |
3 |
|||||
17 |
1-3 |
8 |
19,26 |
2 |
|||||
21 |
4-6 |
9 |
1,6,15,19 |
4 |
29,11,16 |
||||
28 |
4-6 |
9 |
18,23,26 |
3 |
31 |
parents |
|||
31 |
1-3 |
10 |
1,14,15,17,19,23,30,32 |
8 |
22,13,21 |
||||
November |
7 |
1-3 |
10 |
30,14 |
|||||
11 |
4-6 |
11 |
1,15,19,30 |
4 |
13 cp |
||||
14 |
1-3 |
11 |
31 |
11 AM: cd lab; mv 31 out |
|||||
18 |
4-6 |
12 |
1,14,15,19,30 |
5 |
|||||
21 |
1-3 |
Exam |
12 |
4 |
1 |
10 |
10 sent out for bearing another person's
ID card |
||
25 |
4-6 |
Exam |
13 |
1,5,9,13,15,18,19,20, 21,22,23,30,32,33 |
14 |
||||
26 |
5-7 |
re exam |