Procedures and Functions
Procedures and Functions
PNP:
• You have prepared enough and have stored all the things in your mind
• So you should behave naturally to talk
• it’s time to play live.
English-speaking strategy:
MS
• Mostly you will speak English except in extreme stuck condition be stylish bilingual
• Speak simple structures words. Don’t go for style.
1. Go deeper into the question to see if you can get more details that will help you figure it
out. You can tell the interviewer the steps you would take to figure out the problem.
2. If after going deeper the answer is something that is impossible to figure it out
independently. Here's what you can tell the interviewer:
"It's a good question, but right now, I don't have the answer off the top of my head.
About Cambridge:
No. of papers:
Current exams:
11 october paper 12
21 october paper 22
Exam threshold for papers 12 and 22 of o level was 80% for garde a+ and 63% for grade a.
Gce or igcse?
CV related:
In a nutshell of all these Cambridge course, there are five Cambridge teacher attributes. Cambridge
teachers are: CIRERR
o confident in teaching their subject and engaging each student in learning
o responsible and respectful of others
o reflective as learners themselves, developing their practice
o innovative and equipped for new and future challenges
o engaged intellectually, professionally and socially, ready to make a difference
Later in 2011, when Karsaz started its Cambridge wing, I joined Cambridge wing of Karsaz College as
visiting teacher O level cs (7010) teacher for senior classes initially for grade 9 and later on the same
class becomes grade 10 and then grade 11.
I successfully taught 3 complete batches over there till 2017 (one of 7010 and two batches of 2210).
There were around 10 to 15 students in my class so overall I taught around 70 to 80 students there.
Most of students got As in computer. Around 20 to 25 got A+ and some got Bs. No student scored less
than B grade.
In the year 2013, one of my colleagues told me that there was a need of A level CS teacher in NORE 1
branch because their full time teacher suddenly left the job. So I contacted them they called me for the
demo and got selected. So, after joing there, I left bahria college college wing for Karachi and federal
boards as I was already fed up with these boards and started as visiting lecture for both karsaz and nore
1.
In nore 1 I taught almost 4 years, 3 complete badges (means all 2 years) of a level cs till 2017.no of
students were around 30 and 17 of them got a grades, 5 got a+ and rest got b grades.
People at delsol:
Coordinator:
Ms. Amna.
St. Michael’s:
In 2020, luckily got a full time opportunity at st. michael’s. At st michaels I mainly taught in o level
section except final year (9618) of batch 2021 in 2020. I taught paper 3 and paper 4 over there.
DUHS:
In 2022, I left st michaels due to multiple factors because full time besides ilma university and my
private tuitions became too hectic but I personally don’t like full time teaching but because of covid I
switched and now when things are normal I was looking for visiting opportunity. So I decided to quit it
when DUHS HR department found me though linked in and offered me visiting lecturership for their
different departments. They offered me same salary that I was getting at st. michaels. And there is much
job security here and also some research opportunities as well. So currently I m teaching there as
visiting faculty. And in evening I am teaching two online students of final year a level. Both are private
candidates and are in final year. Also teaching graduation courses at alhmad college and other private
tuitions. And now I have one morning slot available that I want to join somewhere as visiting faculty of
CS or IT.
LET me also tell you thayt I have associated with web and software development as well and have
developed many software and websites using different technologies but currently I have restricted
myself to data science and analysis.
Principal:
Peter Misquita
Vice principal
Seema nayyer
Ms. Mishal
Senior supervisor:
Purnima naqvi
How many batches you have taught of AS level and what was the result?
Have taught International A level IT (XIT11 & YIT11). There are four units in this:
Unit 1: Hardware, software, networking and other theoretical topics
Unit 4: mainly about DBMS along with emerging technologies like virtualization, project management,
augmented reality, etc.
As, I told you, last year, I taught math, computer and Java to an A Level Lyceum student. But
after that I didn’t do any Cambridge tuition because of my teaching and research at university.
B. Pre-Release Material
C. Solving Past papers
It includes:
https://www.themuse.com/advice/interview-questions-for-teachers-answers#question2
• Tell me,
I forget.
Show me,
I remember.
Involve me,
I understand.
• As far as formal training is concerned on one hand, at bahria college karsaz where i taught 11
years we got indigenous training at BITT.
These were all certificate courses. They had a state-of-the art environment to train teachers
where the top instructors gave training in the areas like:
-
1. Using table of specifications to construct tests
A table of specifications is a tool used by teachers to design a test or exam.
To make it great one should always think of below 5 questions to oneself while communicating:
• Am i talking relevant?
• Am i Clear in what i am communicating?
• Am i responding properly?
• Is my way comfortable for the other one to accept?
• Am i audible or legible to other one?
1. Encourage Role Models. Students must choose a role model to follow. ...
2. Character Building. ...
3. Set Principles & Discipline. ...
4. Build Empathy. ...
5. Insist on Respect. ...
6. Volunteerism. ...
7. Actions Speak. ...
8. Avoid Labels.
https://www.usatestprep.com/blog/role-teachers-students-personality-
development/?__cf_chl_jschl_tk__=pmd_FC89FA4xi2pIostHcwacNZyxNRk.I24XG7BbPZtJUUA-
1630527923-0-gqNtZGzNAhCjcnBszQd9
oral development is the process throught which children develop proper attitudes and behaviors
toward other people in society, based on social and cultural norms, rules, and laws.
The Top 10 Evidence Based Teaching Strategies will help you discover the science of what works.
• Clear Lesson Goals. ...
• Show & Tell. ...
• Questioning to Check for Understanding. ...
• Summarize New Learning In A Graphical Way. ...
• Plenty of Practice. ...
• Provide Your Students With Feedback. ...
• Be Flexible About How Long It Takes to Learn.
And on the other hand i was also the item's reviewer and subject panelist at akeb.
Akeb is actually extracted from cambridge syllabus to fufill local needs where we analyzed the cs
cambridge syllabus as
the standard syllabus and then to design and review it in such a way to fulfill local needs.
i have subscribed many online channels to get online training and attend webinars.
I have been following since long the official CIE YouTube channel, Cambridge india, etc. to attend
webinars and online events like:
recommended teachers' guides and lesson plans to constantly improve my way of teaching.
xxiii. Tell us about these things that you mentioned in your CV
Courses:
Akeb is actually extracted from cambridge syllabus to fufill local needs where we analyzed the cs
cambridge syllabus as
the standard syllabus and then to design and review it in such a way to fulfill local needs.
3. 2's compliment
o My (mention a set of skills relevant for the job) will allow me to do this easily.
o I’m very good at ________ and that’s why I think I’ll be able to handle this position. (Fill
the blank space with the one you consider is your best strength.)
o I follow exceptionally high standard.
o I can say my top 4 skills are: problem solving, planning and keeping proper
documentation and adaptation i.e. my experience has taught me how to adapt my work
to the needs of each one.
iv.Thanking the Interviewer at the End of the Interview in English
Don’t let the interviewer/s leave with a bittersweet taste and thank them before the
interview is over. These are some sentences for job interviews in English that can help you
thanking them:
o Thank you very much for your time. I’ll be waiting for your call!
o Before I leave I want to thank you for the opportunity. I hope we see each other again
soon!
o It was a pleasure meeting you and then again I want to thank you for having me here!
o You can expect nothing but proficiency and excellent results if you hire me.
https://www.english-at-home.com/business/vocabulary-and-phrases-for-making-
presentations/
v.Miscellaneous Important:
“Please feel free to interrupt me if you have questions.”
“Thank you for listening – and now if there are any questions, I would be pleased
to answer them.”
Introduction to Functions
The image you provided outlines a few terms related to programming blocks of code in the
context of pseudocode. I'll explain the differences between each:
1. Function/Procedure:
o Function: A block of code that performs a specific task and returns a value. It can
take inputs (parameters) and produces an output.
o Procedure: Similar to a function, but it does not return a value. It may perform
tasks like modifying global variables or performing an operation.
2. Subroutine/Library Routine:
o Subroutine: A reusable block of code that performs a specific task, and can be
called from different places in a program. It can be a procedure or function, and it
helps in avoiding code duplication.
o
Library Routine: A pre-written subroutine available in external libraries that can
be used in multiple programs without rewriting the code. It is stored in a library
and provides common functionality (e.g., mathematical operations or input/output
routines).
3. Module:
o A module is a self-contained block of code or a collection of related functions
and procedures. Modules can represent a larger organizational structure within
programs, often grouping related functionality or routines together to improve
code maintainability and clarity.
In summary:
• Definition of Function
• Types of functions
Importance of the topic:
Look at this program:
int square = x * x;
return square;
}
int main() //Function 1
{
int num, result;
printf("Enter a number: ");
scanf("%d", &num);
result = calculateSquare(num);
printf("The square of %d is: %d\n", num,result);
By carefully return 0; at this program it is clear that this program is composed of two functions.
looking
}
Commented [AA3]: Take the example of a super store.
“Functions” is one of the most important topics to learn any programming language in general and C in Super store is also called as departmental store. Why?
particular. Because the store is divided into many departments like
grocery, medicines, electronics appliances and a main
administration department. Just like that we have many
Functions are so important that C is often called as a language which is based on functions. functions in a C program, one for each type of type of
specific work [make addition, subtraction, and
In other words we say that every C program is composed of functions. multiplication blocks]. And one 'main' function for
integrating and coordinating all other functions [now make
[But what does it mean?] a main block and write input numbers statements, function
calls to sum, sub and multiplication (and call each function
twice to emphasize reusability) and print statements].
Need of functions:
So functions fulfill our two needs or we can say that mainly there are two benefits of
functions:
Definition of functions:
Make the process of debugging easier.
It allows a user to build a customized library of frequent user routine (by writing his own
header file).
Syntax of functions:
Having known what is meant by a function and its benefits, now let’s discuss the syntax
of functions:
Example:
For this purpose let’s reconsider our example of making the program of doing different
arithmetic operations.
First of all we need a main function that will input the numbers and then call other
functions to actually perform the operations and display the result [now just start filling
the block that you made earlier for main function].
void main()
{
….
sum= addition(a,b);
When writing the code for a function, first we need to mention the name (naam) of
function, followed by the work (kaam) of the function (which is enclosed in braces).
In this case, as we know, the name is main, followed by a set of parenthesis which is the
identification symbol for every function. You can tell by identifying these parentheses
how many functions there are in your program. Here let me tell you these brackets are
not just for identification purpose only, in fact, we can provide any set of values in these
brackets as the input for that function. But right now just forget this thing we will discuss
it shortly.
And before the name of the function, we also mention the data type of the particular value
that this function will return). These could be int, float, char, double or void, where void
means nothing. In our case we know the purpose of this main function is to just input the
numbers and then call other functions to actually perform the operations and display the
result. It means it will return no particular value; it will just execute some controlling
statements. So here the return data type is void or nothing. Together, the return type,
name and set of parenthesis called as the function header, declaration or prototype.
All the work done by the function is enclosed in braces (Now just explain the statements
in this main function superficially but emphasize on function calling part)
Now let’s discuss another function ‘sum’. The purpose of this function is to receive the
numbers from main function, calculate the sum and return the sum to main function.
{
….
return (addition)
Here, the function header is somewhat different from the main function because:
Unlike main, this function will return a particular value of type integer to the calling main
function, as a result of addition operation. That’s why we wrote int before its name.
Unlike main, it will also receive two numbers as input for which the sum is to be calculated
from main function. That’s why we wrote int x, int y in the parentheses. These are called
as parameters of the function.
Furthermore the body of this function also has a return statement because this function
is supposed to return an integer value. And this value will be placed at the location where
this function was called in main function.
Also keep in mind, if we are defining any other function after main function, we will have
to write function header before main function where all header files are written. This is
a language rule.
Types of functions:
Now considering the return type and the input parameters, we can classify functions in 4
types:
i. Review of functions
It covers following topics of c language:
• All what you have done in Bahria lectures i.e. till chapter 9
• Pointers: Chapter 5 of let us c (start from p 174 of book from the topic “advanced featur
es of functions)
• Arrays: Chapter 8 of let us c
• File Input / Output: Chapter 12 of let us c
• FAQs in interviews about Programming fundamentals.