0% found this document useful (0 votes)
40 views

Cs101 Subject Midterm-1

This document provides 33 questions that are considered the most important and repeated questions for the CS101 midterm exam. The questions cover a range of topics in computing including compilers, scripts, batch programs, client-side scripting, structured design, URLs, HTML tags, modems, algorithms, functions, databases, testing, loops, and website design. Students are encouraged to review these questions and their answers in preparation for the midterm.

Uploaded by

Alishba khan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

Cs101 Subject Midterm-1

This document provides 33 questions that are considered the most important and repeated questions for the CS101 midterm exam. The questions cover a range of topics in computing including compilers, scripts, batch programs, client-side scripting, structured design, URLs, HTML tags, modems, algorithms, functions, databases, testing, loops, and website design. Students are encouraged to review these questions and their answers in preparation for the midterm.

Uploaded by

Alishba khan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 29

Most Important & Repeated Question Midterm CS101

Cs101
Introduction to Computing
Most Repeated Subjective Midterm

❖ Midterm Short Notes ❖ Important Question ❖ Accurate Assignment

❖ Final Term Short Notes ❖ Repeated Question ❖ Quiz File

❖ Mid Term Past Paper ❖ Solved Past Paper ❖ Accurate GDB

❖ Final Term Past Paper ❖ Moaz & Waqar ❖ Current Paper

❖ Mega File ❖ Vu New Update

Subscribe Youtube Channel To Get More Post

https://youtube.com/channel/UC_Ar-KkTPqjaljUX2LimmOQ

Cs101 All Repeated Mcqs Midterm


https://youtu.be/K9X2PYeduls

Short Questions
Please Subscribe Channel Learning With A&I Page 1
Most Important & Repeated Question Midterm CS101

2+3 Marks
Question No 1
What was the name of first super computer. When it was introduced?

Ans
CRAY1 is the first computer and it was introduced in 1973

Question No 2
What are compilers used for ?
Ans
Compiler is a software that can translate the whole programein once. It also save the program.

Question No 3

What is Script?
Ans
Script is a sequence of steps to carry out a work by processor And manage by a language like Javascript
and vb scripts.

Question No 4
What is the key feature of batch programs?
Ans
The key feature is no user interaction with computer while a program is running.

Question No 5
Name two languages which are used for client side scripting?
Ans
JavaScript , VBscript

Please Subscribe Channel Learning With A&I Page 2


Most Important & Repeated Question Midterm CS101

Question No 6
The event handler attribute consists of three parts. Write about each of them.

Ans
The identifier of the event handler the equal sign a string statement enclosed in double or single quotes.

Question No 7
How a designer makes Structured Design?
Ans
Structured Design is known as a Top-down design. The designed first conceives about the High level
design and then further designs the details of the high level design components and it goes on and on.

Question No 8
What is Randomized Algorithm?
Ans

Randomized Algorithm:
Any algorithm whose behavior is not only determined by the input, but also values produced by a
random number generator

Question No 9
Define URL
Ans

URL(Uniform resource locator)


URL (Uniform Resource Locator, previously Universal Resource Locator) – is the address of a file
(resource) accessible on the Internet. The type of file or resource depends on the Internet application
protocol.

Please Subscribe Channel Learning With A&I Page 3


Most Important & Repeated Question Midterm CS101

Question No 10
What is <P> tag in HTML and How it is different from <br> tag?

Ans
<p> is used for paragraph in HTML language it has a closing tag </p>unlike <br> which has no closing
tag. Br only used to break the current line while <p> can be used for more lines

Question No 11
What is the purpose of MODEM ?
Ans
It receive data analog signal from a phone line and then convert them into digital signal and send back to
the computer with which it is attached. It also receives data from computer and convert it into analog
signals.

Question No 12
What is Home Page of a web site?

Ans
For a web user it is a first page displayed when a user starts a web browser and for a web developer it is
a first page when a user selects a site.

Question No 13
Why microprocessor uses the binary number system and not the decimal or any other number
system?
Ans
Because this system is natural for digital computer. Digital computer have fundamental building blocks
like ON & OFF Etc so it is natural to represent those in a number system that has only two symbols e.g
Binary Numbers 0,1.Whereas decimal system is natural for human.

Please Subscribe Channel Learning With A&I Page 4


Most Important & Repeated Question Midterm CS101

Question No 14
Differentiate between onLoad and onUnload

Ans
On load event is used when the page is load in the browser while on the other side onUnload event works
when the page closes down.

Question No 15
What is best algorithm?
Ans
Greedy algorithm is the best algorithm as it is n algorithm that always takes the best immediate, or local
solution while finding an answer.

Question No 16
In JavaScript, what is event handling? What are the two types of events?

Ans
Event handling means capturing an event and responding to that.

Events e.g. onMouseOver, OnClick, onLoad, Onunload, updating the clock etc. are captured by the Java
script & According to the programs they are responded accordingly

Question No 17
What is a function? Give one example.
Ans
Function is a reusable code (group of statement) that is executed when the function is called. It is also
known as sub-Program. Function is normally defined in the head section of the code.

Please Subscribe Channel Learning With A&I Page 5


Most Important & Repeated Question Midterm CS101

Question No 18
What is Structured Vector Graphics ?

Ans
This is a plug-in that is required to view swf (flash) files in the web browser

Question No 19
Write names of the DoS attack’s phases?
Ans
DoS (Denail of service): DoS attach has in total 3 phases and below they are listed:

1. Search
2. Arm
3. Attack

Question No 20
Briefly mention any three problems in old modes of presentation development

Ans
❖ Lack of resolution
❖ Low color configuration
❖ No graphic animation

Question No 21
Why the quality of image in dithering scheme is not good?
Ans
In this scheme, pixels of alternating colors are used to simulate a color that is not present in the platelet

For example, red and green pixels can be alternated to give the impression of bright Yellow

The quality of the displayed image is poorer

Please Subscribe Channel Learning With A&I Page 6


Most Important & Repeated Question Midterm CS101

Question No 22
What is the difference between Interactive-mode and Batch-mode Application Software?

Ans

Batch-mode
This Mode Program has no user interaction with computer while a program is running e.gParoll

Interactive-mode
The user runs the program on the computer and keeps interacting with the computer while a program is
running e.g word processor

Question No 23
What is a Relational Database? Give the names of any three RDBMS software.

Ans
Database architecture consists of three levels, external, conceptual and internal. Clearly separating the
three levels was a major feature of the relational database.

NAMES:
Oracle Database software, Linux, and oracle e business database software , and Oracle OLAP.

Question No 24
What do you mean by the term ‘Telepresence’ in Computing World?
Ans

Telepresence
❖ Being there, without physically being there!
❖ Two remotely located people, with the help of special equipment, immersed in a simulated 3-D
environment where they interact like they are sitting next to each other
❖ Chatting, a telephone conversation, or even a videoconference are examples, but in a degraded
sense of the idea

Please Subscribe Channel Learning With A&I Page 7


Most Important & Repeated Question Midterm CS101

Question No 25
What is meant by semantic error ?
Ans
It is an error which a developer encounters when a statement is executed but it was not intended by him
(the developer). Such errors are very difficult to locate during testing. Mostly these occur during
abnormal circumstances. It may be referred as the logical error.

Question No 26
Define the term 3D Rendering

Ans
The process of converting information about 3-D objects into a bit-map that can be displayed on a 2-D
computer display.

Question No 27
Define testing with respect to programming.?
Ans

Testing:- The tasks performed to determine the existence of defects.


Programming:- The process of telling the computer what to do.

Question No 28
What is ICMP?
Ans
ICMP is the “Internet Control Message Protocol”. ICMP packets are small packets used in local networks
and on the internet, most typically, for network troubleshooting and problem location.

Please Subscribe Channel Learning With A&I Page 8


Most Important & Repeated Question Midterm CS101

Question No 29
Mention any five applications of Artificial Intelligent System

Ans
1. Games
2. Image recognition
3. Medical diagnosis
4. Robots
5. Business intelligence

Question No 30
Explain function arguments with the help of an example?
Ans
A named group of statements that is put together once and then used (by reference) repeatedly on a
Web page code becomes easier to read, understand and maintain

Question No 31
What are the elements of website design? Any one

Ans
❖ Navigation scheme
❖ Layout of information
❖ Overall look and feel

Question No 32
What is meant by universal access of internet services ?
Ans
Universal access of internet services means same functionality to every one.

Please Subscribe Channel Learning With A&I Page 9


Most Important & Repeated Question Midterm CS101

Question No 33
Differentiate between For and While loop by writing the syntax of both loops.

Ans
When the exact number of iterations is known, use the ‘for’ loop when the number of iterations depend
upon a condition being met, use the ‘while’ loop ‘for’ loops become especially useful when used in
conjunction with arrays we’ll find out about arrays today, and we’ll probe their usefulness as part of ‘for’
loop structures

Question No 34
In programming, what is a loop?
Ans
In computer science a for loop is a programming language statement which allows code to be repeatedly
executed. A for loop is classified as an iteration statement.

Question No 35

What are the other names of function? Any one.


Ans
Routine , procedure , sub program

Question No 36
How JavaScript Arrays are heterogeneous?
Ans
Arrays are heterogeneous in java script because at the same time simultaneously they can hold elements
of multiple data types

Question No 37
What are Trojan Horses?
Ans
Trojan horses are a kind of cyber crime, they are v harmful to computer because they are stand alone
program and the look like what they are not like any thing amusing or not harmless like games.

Please Subscribe Channel Learning With A&I Page 10


Most Important & Repeated Question Midterm CS101

Question No 38
What BIOS stands for?

Ans
Binary Input Output System

Question No 39
List down the Analytical Engine’s components name (any two)
Ans
Google & Netscape,

Question No 40

Why uploading a web page is important? Describe in 2 – 3 lines.


Ans
By only uploading webpage we could place our information in order the other can reach up to ready
what we load, upload means make available our data or information for the world web browsers

Question No 41
Differentiate uni-Processor OS from Multi-Processor OS.
Ans
The Multiprocessors is when more than one processor is under operation it can be several or may
hundreds of the kind to perform one great operation or calculation, while our PC is a kind of uni-
processor

Question No 42

Why do we call JavaScript an Object-based Language?


Ans
Java Script is a language by which we are writing our web-pages, this language is designed to work for
web pages

Please Subscribe Channel Learning With A&I Page 11


Most Important & Repeated Question Midterm CS101

Question No 43
In programming, what is an object?

Ans
A named collection of properties (data, state) & methods (instructions, behavior)

Question No 44
What is spreadsheet? List any two jobs that it can do.
Ans
A spreadsheet is a grid that organizes data into columns and rows. Spreadsheets make it easy to display
information, and people can insert formulas to work with the data.

1. Electronic replacement for ledgers Charts


2. Financial-forecasting

Question No 45
Explain how many ways businesses monitor their employees?

Ans
• Systems are available that monitor almost every key stroke that an employee makes on a computer

• Systems are available that read and censor all incoming and outgoing eMail

• It is quite straight forward to monitor where you surf, and when

Question No 46
What is difference between Design and System Architecture?
Ans
Only the higher level designs are called System Architecture and lower level designs can not be called
system Architecture, and we can also say the every Architecture can be called design but every design
can not be called Architecture

Please Subscribe Channel Learning With A&I Page 12


Most Important & Repeated Question Midterm CS101

Question No 47
Write a JavaScript program having two functions sum and mean.

Ans
The web page will ask the user to enter five values to be added. After taking input it will calculate the
sum and mean of those values by calling sum and mean functions

Question No 48
What does TCP/IP stand for?
Ans
TCP stand for Transmission Control Protocol

IP stands for Internet Protocol

Question No 49

What do you mean by FTP or File Transfer Protocol?


Ans
This protocol is used to upload and download the files on remote computers.

Question No 50
Give any five well-known design heuristics for architectural design.
Ans
Given many parts of a system to be designed/built, do the hard part 1 st.All the serious mistakes are made
on the very first day.Simplify, simplify, simplify! Probably the most useful heuristics for increasing
reliability while decreasing cost & time-to-build.

Question No 51

What does NIC stand for?


Ans
Network Interface Cards.

Please Subscribe Channel Learning With A&I Page 13


Most Important & Repeated Question Midterm CS101

Question No 52
Why there is a need to use primary key in database ?

Ans
Primary Key is a field that uniquely identifies each record stored in a table.

Question No 53
What kind of information can be stored in a database?
Ans
It can store numbers, Booleans, sound, video, images etc.

Question No 54

Define the key weakness of the web?


Ans
Initially web was designed only for humans to read not for computers to understand it.

Question No 55
How many iterations would this ‘for’ loop run for?
For ( x = 50 ; x < 0 ; x = x – 1 ) {

Document.write ( x ) ;
}
Ans
50 iterations

Question No 56

How can we define a Pixel?


Ans
It is the smallest element of image which is spread with regular array on display and each element
consist of particular color.

Please Subscribe Channel Learning With A&I Page 14


Most Important & Repeated Question Midterm CS101

Question No 57
What are Local or Function-level Variables?

Ans
Declaring variables (using the var keyword) within a function, makes them local.

They are available only within the function and hold no meaning outside of it.

Question No 58
What is the Data Normalization? Also define its goal.
Ans
Data normalization is to sort out complex data into simple form. It uses to simplify the compANS
information to make it more user-friendly.

Question No 59
SMTP stands for what?

Ans
Simple Mail Transfer Protocol

Question No 60
What is bandwidth?
Ans
Bandwidth is a capacity of communication channel of carrying data.

Question No 61

What is “My Personal Agent”?


Ans
A computer programe that work automatically and have voice interface

Please Subscribe Channel Learning With A&I Page 15


Most Important & Repeated Question Midterm CS101

Question No 62
For what purposes FTP is used in networks ?

Ans
To download or upload files / data to a remote computer

Question No 63
How can you define a readable program?
Ans
A program that is easy to read & understand also easy to maintain and enhance.

Question No 64

How can you define a consistent web design? Why is it needed?


Ans
A consistent web design is Easy understandable, not with heavy graphics, easy navigation. It is needed
because most of the website views leave the site because of poor navigation and not easy to understand,
text and design is not clear etc.

Question No 65
What does WAN stand for?
Ans
Wide Area Network – A network in which computers are separated by great distances typically across
cities or even continents.

Question No 66

Why hub is used in networks?


Ans
The network traffic controller – components of convential computer networks. Hub is used to connect the
different computers in the network i.e. to the server.

Please Subscribe Channel Learning With A&I Page 16


Most Important & Repeated Question Midterm CS101

Question No 67

What are the types of computer network according to the distance between nodes?
Ans
The types of computer network according to the distance between nodes are:

1. LAN
2. WAN

Question No 68
List any five issues of Data Management.
Ans
❖ Data entry
❖ Data updates
❖ Data integrity
❖ Data security
❖ Data accessibility

Question No 69

What is an IP address ?
Ans
Every device connected to the public Internet is assigned a unique number known as an Internet protocol
(IP) address.

Question No 70
Define semantic web with respect to the present web?
Ans
The Semantic Web is an idea of World Wide Web inventor Tim Berners-Lee that the.Web as a whole can
be made more intelligent and perhaps even intuitive about how to serve a user’s needs.

Please Subscribe Channel Learning With A&I Page 17


Most Important & Repeated Question Midterm CS101

Question No 71
What is an Array?

Ans
An indexed list of elements.

Question No 72
Define Primary key and Queries
Ans

Primary Key
Primary key is a field that uniquely identifies each record stored in a table.

Queries
Queries are used to view, change, and analyze data. They can be used to combine data from different
table and extract the exact data that is desired.

Question No 73
When does recursion occur?
Ans
The power of recursion evidently lies in the possibility of defining an infinite set of objects by a finite
statement.

Question No 74

List down the names of two array methods available in JavaScript.


Ans
1. Sort( ) [sorts elements in alphabetical order]
2. Reverse( ) [Reverses the order of elements]

Please Subscribe Channel Learning With A&I Page 18


Most Important & Repeated Question Midterm CS101

Question No 75
What is the difference between Internet and Intranet?

Ans
The Internet is an open, public space, while an intranet is designed to be a private space. An intranet may
be accessible from the Internet, but as a rule it’s protected by a password and accessible only to
employees or other authorized users

Question No 76
Write a short note on:
❖ Good programming methodology?
❖ Correct program

Ans

Good programming methodology


A methodology that enables the lowest-cost and on-schedule development of programs that are correct,
easy to maintain & enhance.

Correct program
A program with correct syntax & semantics.

Please Subscribe Channel Learning With A&I Page 19


Most Important & Repeated Question Midterm CS101

Long Question
Question No 1

What is Robotics? How Robots making our daily and industrial life easy?
Ans
Robotics
These are the machines which are computer programmed and perform work which was
previously done by humans. They can be found in the manufacturing industry, the military,
space exploration and medical applications.

Question No 2

What are the responsibilities and profile of a Team Lead?


Ans
Team Lead
• Responsibilities:
– Planning and tracking of the project
– Detailed design
– Professional development of team members
– In case of small teams, development activities
• Profile:

– 5+ years of development experience


– Excellent interpersonal skills
– Good planning skills
– Good design skills

Please Subscribe Channel Learning With A&I Page 20


Most Important & Repeated Question Midterm CS101

Question No 3

Differentiate between LAN and WAN with one example of each.


Ans
LAN is a local area network where as wan is a wide area network LAN can be used in a specific
areas with limited computers where as wan can be used on computers shared by large distances

For example LAN can be used on pc s or an organization located in one building but wan can be
used on large scales like banks all over or in any Large communication systems

Question No 4
Write down three advantages of using Functions in a program.

Ans

• Debugging is easier
• It is easier to understand the logic involved in the program
• Testing is easier
• Recursive call is possible
• Irrelevant details in the user point of view are hidden in functions
• Functions are helpful in generalizing the program

Question No 5
What are the advantages of multimedia presentations? Write any five.
Ans
Multimedia presentation is a great tool for effective communication:
Advantages:
1. Easy to make last minute change
2. More attractive
3. Can include animation, videos etc.
4. Better presentation easy to understandable for participants comparing to manual
presentation.
Undo feature

Please Subscribe Channel Learning With A&I Page 21


Most Important & Repeated Question Midterm CS101

Question No 6
Briefly describe Holographic Storage.
Ans
Holographic Storage

❖ Digital data stored in and read from a 3-D optical material with the help of lasers
❖ Depending upon the material, they could be read-only or R/W
❖ The data density (quantity of data stored per unit volume) will be millions of times more
than anything available today
❖ The concept has been validated but commercial applications are at least 10 years away

Question No 7
Write down the advantages of Natural Language Processing.
Ans

It is able to read what you write, comparing it to a stored database of texts. It then corrects your
errors and suggests alternatives. What advantages can this give you? Here are some:
❖ You Don’t Have to Worry About Careless Mistakes and Typos
❖ Your Grammar and Punctuation Errors are Fixed
❖ Allows You To Get More Accomplished
❖ Gives You A Better Vocabulary
❖ Instantly Upgrades Your Communication Skills

Question No 8

Elaborate Rester Graphics with examples.


Ans
Raster graphics are digital images created or captured (for example, by scanning in a photo) as
a set of samples of a given space . A raster file is usually larger than a vector graphics image file.
A raster file is usually difficult to modify without loss of information.
Examples of raster image file types are: BMP, TIFF, GIF, and JPEG files.

Please Subscribe Channel Learning With A&I Page 22


Most Important & Repeated Question Midterm CS101

Question No 9
What are the steps of working of TCP and IP protocols in internet transmission?
Ans

TCP divide messages in to many packets (capsulation) and sent these messages over the
internet and IP route these messages on the internet to the correct destination and upon
reaching the messages on its destination the messages are encapsulated.

Question No 10

What is ARPANET and who developed it?


Ans
ARPANET stands for Advanced Research Projects. The initial purpose was to communicate with
and share computer resources among mainly scientific users at the connected institutions. In the
beginning it was connected four universities and enabled scientists to share resources. It was
headed by Dr. J.C.R. Licklider.

Question No 11

What is the difference between microprocessors and microcontrollers? Give one example of
both.
Ans
The microprocessor is electronic equipment which can perform several function and also
processing of data and information present in a computer, while microcontroller can only
perform one function for that its design
Example
❖ Microprocessors _ Pentium 4
❖ Microcontroller _ can be a switch in side the washing machine

Please Subscribe Channel Learning With A&I Page 23


Most Important & Repeated Question Midterm CS101

Question No 12

Differentiate Local and Global Variables.


Ans
Local variables are the variables have limited scope while global have bigger scope
Local variables are not accessed by others while global is accessible to every one

Local variable used by single user while global variable can be used by different users at time
from all around.

Question No 13
What are the Sub categories of Artificial Intelligence? Briefly explain any two.

Ans
1. Robotics
These are the machines which are computer programmed and perform work which was
previously done by humans.

They can be found in the manufacturing industry, the military, space exploration and
medical applications.
2. Expert Systems
These systems are designed to replace an expert. The medical expert system is an example
of such system which can replace a Doctor/medical expert.

Question No 14
Why do we need an Interactive Form in a webpage?
Ans

❖ Interactive forms are used to gather user data and interact with the user.
❖ Forms can be made interactive with the use of client side scripting and server side
sciprting.
❖ In HTML, <FORM></FORM> tag is used to insert the form in a web page and it
always lie in <BODY></BODY> html tag.
❖ Without form’s web site is only “READ ONLY”.

Please Subscribe Channel Learning With A&I Page 24


Most Important & Repeated Question Midterm CS101

❖ With the help of forms a user and can search the contents, place order for goods
and services.
❖ Forms can be simple or very complex, based on the requirement.

❖ Forms can contain a single element or many e.g text area, buttons

Question No 15
Write a brief note on each of the following.
❖ FTP
❖ Telnet
❖ Instant messaging
❖ VoIP
Ans
FTP: File Transfer Protocol: This protocol is used to upload and download the files on remote
computers.

Telnet: FTP allows file operations only while Telnet can log on to a computer of other users
throughTCP/IP network and use like a local user, it help in testing of remote web server.
Instant Messaging: This is the service of messaging provided on the internet like MSN
messenger, Yahoo messenger, through which we interact people randomly whenever required.

VoIP: Voice over IP, It is used to transmit the voice from one IP to another IP, In which voice is
first broken down and then transmitted over a network.

Question No 16
Define professional ethics and its benefits with an example?

Ans
Professional Ethics
❖ Professional ethics are a category of ethics, and here we discus the professional
ethics relevant to computing
❖ Awareness of professional ethics is gaining importance with time as the decision
making process in the work place keeps on increasing in complexity
❖ The professional ethics provide a way of simplifying that decision making process let
us now discuss a few situations where I will request you for your ethical opinions

Please Subscribe Channel Learning With A&I Page 25


Most Important & Repeated Question Midterm CS101

Question No 17
What are application softwares? List down the names of three application softwares.
Ans
Application Software

Application Software are that software then can interact directory with the user for
performance of respective type of work.
Following are the types of Application Softwares:-
❖ AutoCAD and Corel Draw
❖ Business Software
❖ Productivity SW
❖ Games Software

Question No 18

What is the difference between ‘single-line text input field’ and ‘password input field’ ?
Ans
A Password Field is good for sensitive information. The only item that is absolutely necessary is
the Submit Button. It is a good idea to include a Reset Button for the convenience of the user.

A text field gathers information using a single line of text. This field is useful for short answers.
The default text field is blank. If you want to specify default text, use the VALUE attribute. .

Question No 19
What is an intelligent system?

Ans
Intelligent systems are the programs developed to perform complicated jobs that reflect human
brain and thoughts. If the algorithms are too much complex or can not be solved instantly then
we can use such systems. Therefore the well Intelligent system not only performs well but it has
the capability to rectify any errors by himself if it occurs within his domain.
The examples of intelligent systems are Robotics, Business Intelligence …etc.

Please Subscribe Channel Learning With A&I Page 26


Most Important & Repeated Question Midterm CS101

Question No 20
Is tabular data storage better than flat file data storage? Justify your answer.
Ans
❖ Similar items of data form a column
❖ Fields placed in a particular row – same as a flat-file record – are strongly interrelated
❖ One can sort the table w.r.t. any column
❖ That makes searching – e.g., for all the books written by a certain author – straight
forward
❖ Similarly, searching for the 10 cheapest/most expensive books can be easily
accomplished through a sort
❖ Effort required for adding a new field to all the records of a flat-file is much greater than
adding a new column to the table
CONCLUSION: Tabular storage is better than flat-file storage

Question No 21
Write a note on :
Coding guidelines

Guidelines for developing short programs.


Ans
Coding guidelines
• Always use semicolons to end statements
• Indent blocks of code (2 to 5 spaces)

• Identifiers
• Use the camel back scheme
• Variables: nouns
• Functions: verbs

• Comment Liberally
• Make them descriptive but concise

Please Subscribe Channel Learning With A&I Page 27


Most Important & Repeated Question Midterm CS101

Guidelines for developing short programs


• Read and understand the problem
• Do you have all the required data?

• No: Get it
• Else assume it. State it explicitly
• Do the design

Please Subscribe Channel Learning With A&I Page 28


Most Important & Repeated Question Midterm CS101

❖ Waqar Siddu Past Solved


❖ Short Notes
Paper
❖ Important Question
❖ Solved Paper
❖ Repeated Question
❖ Past Paper
❖ Final term
❖ Quiz File
❖ Mid term
❖ Assignment
❖ Current Paper
❖ GDB
❖ Moaz Past Solved Paper
❖ VU News Update

Channel Link
https://youtube.com/channel/UC_Ar-KkTPqjaljUX2LimmOQ
Or Search on Youtube Learning With A&I
Subscribe Channel And Get More Post
For More Help Contact 03131778082
Please Subscribe Channel Learning With A&I
Page 29

You might also like