Final Exam

python section:

I couldn’t solve the python questions because of the stress on the exam and when I saw that I couldn’t solve the first question, my stress increased.When I was solving questions,I realized I didn’t know how to use class in python and when I learned it better I was able to solve the question 7,8 and 9.

  • The first question was about finding the length of a string. string len

  • The second question wanted to copy a string to empty string. string copy

  • The third question wanted to get the number of repeats of a letter in a string.wich I solve it with a simple loop. string count

  • The sixth question was to define a class called a Student that would get an ID or name as parameter and changes the name and ID of the struct to the new value. student class

  • Question seven receives a pointer to the student struct from the input and returns a string into student number, “:” and name. student tostring

  • Question 8 takes an ID and name as a parameter and return its struct. create student

C section:

In C I was able to solve questions 0 and 2 in the exam, and I realized I couldn’t solve the rest of the quastions because of forgettinng syntax or partial learning.I wasn’t able to use malloc and I learned for solving the 8 question.

  • The first question: string copy C

  • The fifth question: function pointer

  • The sixth question: change student

  • The eighth question: create student

2020

Course Website

less than 1 minute read

-syllabus درسی را در وبسایت وارد کردم. Network

Hackathon

less than 1 minute read

The project, titled Working Hours, records the hours of arrival and departure of employees. The idea for this project was raised by my brother and with the h...

Back to Top ↑

2019

مدیریت زمان

less than 1 minute read

با توجه به صحبت هایی که با تی ای ها داشتیم به این نتایج رسیدم که : -درس هایی مانند ریاضی و فیزیک را می توانیم هفته ای 3 الی 4 ساعت مطالعه کنیم و برای یادگیری...

DIY

less than 1 minute read

hard disk step one step two step three step four step five

Back to Top ↑