Report of The Six
Report of The Six
BY
ULI CAMPUS
JANUARY, 2021
vi
REPORT OF THE SIX-MONTH INDUSTRIAL TRAINING AT
BY
SUBMITTED TO THE
JANUARY, 202
vi
DEDICATION
This SIWES report is dedicated to my parents SIR/LADY EBERE ORJI for their moral and
financial support, without them it will be very difficult for me to complete this research work.
vi
ACKNOWLEDGEMENTS
Glory is to Almighty God, who gave me the opportunity to undergo this study.
My deep appreciation goes to my parents for their support, kindness, benevolence, love, loyalty,
prayer, moral and financial support from my childhood up to today, May God reward them
abundantly.
My profound gratitude and appreciation goes to all my lecturers in the Department of Computer
Science.
Finally, my special gratitude goes to my Industrial Based Supervisor Mr Akeem Jimoh and the
staffs of the organization whose understanding and all necessary support became the significant
tools of my success in undertaking this research work.
vi
SUMMARY
vi
TABLE OF CONTENTS
Dedication ii
Acknowledgements iii
Summary iv
List of Figures v
List of Tables
vi
2.6 Duties and Responsibilities Assigned To the Student
vi
LIST OF FIGURES
FIGURE PAGE
vi
LIST OF TABLES
Director of Studies
vi
CHAPTER ONE
INTRODUCTION
The Students Industrial Work Experience Scheme (SIWES) is the accepted skills training
programs, which forms part of the approved minimum academic standards in the various degree
programs for all the Nigerian Universities. It is an effort to bridge the gap existing between
theory and practice of engineering and technology, science, agriculture, medial, management and
other professional educational programs in the Nigerian tertiary institutions. (Akerejelo, 2008)
The scheme is a tripartite programmed, involving the students, the universities and the industry
(employers of labor). It is funded by the Federal government of Nigeria and jointly coordinated
by the industrial Training Fund (ITF) and the National Universities commission (NUC).
SIWES was established by ITF in 1973 to solve the problem of lack of adequate practical skills
preparatory of employment in industries by Nigerian graduates of tertiary institution.
Participation in SIWES has become a necessary precondition for the award of diploma and
degree certificates in specific disciplines in most institutions of higher learning in the country, in
accordance with the education policy of government.
Duration: Four months for polytechnics and colleges of education, and six months for the
universities.
Specifically, the objectives of the students’ industrial work experience scheme are to:
1. Prepare students for the work situation they are likely to meet after graduation.
2. Provide an avenue for students in the Nigerian Universities to acquire industrial skills and
experience in their course of study.
vi
3. Make the transition from the university to the world of work easier, and thus enhance
students’ contacts for later job placements.
4. Provide students with an opportunity to apply their theoretical knowledge in real work
situation, thereby bridging the gap between university work and actual practices.
5. Expose students to work methods and techniques in handling equipment and machinery
that may not be available in the universities.
6. Enlist and strengthen employers’ involvement in the entire educational process of
preparing university graduates for employment in industry.
It provides students with an opportunity to apply their theoretical knowledge in real life
situations.
It exposes students to more practical work methods and techniques.
It strengthens links between the employers, universities and industrial training fund
(ITF).
It also prepares the students for the labor market after graduation
I visited the ITF office located Lagos Area Office Plot 120/124, Funsho Williams Avenue,
vi
Keep proper record of training activities and other assignments in the log book
Submit to ITF through their employer (form SPE)
Submit to ITF through their institution the Evaluation report, Form 8 duly completed by
the student, employers and the institution.
Industrial training gives students great experience during their bachelor of engineering degree
program. Few of the benefits are outlined below.
NIIT is a leading Global Talent development corporation, building skilled manpower pool for
global industry industry requirements. The company which was set up in 1981, to help the
nascent IT industry overcome its human resource challenges, has today grown to be among
world’s leading talent development companies offering learning solutions to individuals,
Enterprises and institutions across 40 countries.
“Inspire the world with our innovative technologies, products and design that enrich people’s
lives and contribute to social prosperity by creating a new future”
vi
1.9 ORGANIZATION MISSION OBJECTIVE
I wasn’t paid.
The various departments and section of the organization are, Microsoft Department, Web
department and Software Department.
Microsoft Office
Web Department
Software Department
vi
CHAPTER TWO
INTRODUCTION TO PYTHON
Python is high-level, multi-purpose programming language created by Guido Van Rossum and
released in 1991. It is the world’s fastest growing and most popular programming language
among Software Engineers, Mathematics, Data Analyst, Scientist, Accountants, Network
Engineers and Kids.
Because of its simple easy-to-use syntax which reads like English, it has gained popularity for
being a beginners-friendly language and has replaced java as the most popular introductory
language. Python can handle a lot of complexity allowing beginners to focus on learning
programing concept and not to worry about too much details. With Python it is easier to fix
errors because it allows you to easily compile your work and run until you hit the problematic
part. It has wide range of application from Web Development, Mathematics and computing to
desktop graphical user interface.
It helps you to solve complex problems in less time with fewer lines of code
It has wide application because it can be used for Data Analysis, Web/Mobile/Desktop
Application, Artificial Intelligence, Machine Learning, Data Testing and hacking.
It is a high-level task so you don’t have to worry about complex task such as memory
management as with c++
It is a cross-platform; you can use it on Windows, Macintosh and Linux Operating
system.
vi
It has a huge community which can help you solve any problem you encounter while
using it. Whatever you want accomplish in python, it is likely that someone has already
done
It has a large ecosystem of libraries, tools and framework.
I was engaged with the post of an assisting tutor, and I was also a student.
Access Point
Laptop
Python Interpreter
vi
This is a program that executes codes i.e. you can you can type python codes in a file and
give it to this program to execute or type directly to the interactive shell or environment.
E.g. Type 2+2 in the python shell and press Enter, the result is displayed as 4.
Code Editors
To build a real life application, you cannot do that from python command prompt, you need a
Code Editor or an IDE (Integrated Development Environment).
o Auto Completion: This feature helps you complete your code as you types it.
o Debugging: Helps you find (bugs) in your program.
o Testing: Helps you test your program if it works well.
There are different types of Code Editors and IDEs and they include;
Code Editors: The most common is VS Code (Visual Studio Code), Atom and Sublime.
vi
So far we have learnt some of the basic codes of python and how they are applied. But the main
aim of any programming language is to develop visible or visual real life applications that can be
used to users.
Every Windows application begins with a “Window Screen”. It is this window screen that users
interact with, to work with application.
Python provides various options for developing graphical user interface (GUIs). Most important
are listed below.
Tkinter: - Tkinter is the Python interface to the Tk GUI toolkit shipped with
Python. We would look this option in this chapter
wxPython – This is an open-source python interface for wxWiindows
http://wxpython.org
JPython – Jpython is a Python port for java which gives Python scripts seamless
access to java class librabries on the local machine http://www.jython.org
There are many other interfaces available which you can find them on the net.
Tkinter is a standard GUI library for python. Python when combined with Tkinter provides a fast
and easy way to create GUI applications. Tkinter provides a powerful object-oriented interface to
the Tk GUI toolkit.
Creating a GUI application using Tkinter is an easy task. All you need to do is perform the
following steps –
vi
vi
Tkinter Widgets
Tkinter provides various controls, such as buttons, labels, and text-boxes used in a GUI
application. These controls are commonly called widgets.
There are currently 15 types of widgets in Tkinter. I present these widgets as well as a
brief description in the following table-
1 Button
2 Canvas
The Canvas widget is used to draw shapes, such as lines, ovals, polygons and
vi
rectangles, in your application.
3 Checkbutton
4 Entry
The Entry widget is used to display a single-line text field for accepting values
from a user.
5 Frame
6 Label
The Label widget is used to provide a single-line caption for other widgets. It
can also contain images.
7 Listbox
8 Menubutton
9 Menu
10 Message
The Message widget is used to display multiline text fields for accepting values
vi
from a user.
11 Radio button
The Radio button widget is used to display a number of options as radio buttons.
The user can select only one option at a time.
12 Scale
13 Scrollbar
The Scrollbar widget is used to add scrolling capability to various widgets, such
as list boxes.
14 Text
15 Top level
Etc.
Standard attributes
Let us take a look at how some of their common attributes. Such as sizes, colors and fonts are
specified.
Dimensions
Colors
vi
Fonts
Anchors
Relief styles
Bitmaps
Cursors
Geometry Management
All Tkinter widgets have access to specific geometry management methods, which have the
purpose of organizing widgets throughout the parent widget area. Tkinter exposes the following
geometry manager classes: pack, grid, and place.
A Simple Calculator
vi
melabel.pack(side=TOP)
textin=StringVar()
operator=""
def clickbut(numbers):
global operator
operator=operator+str(numbers)
textin.set(operator)
def equalbut():
global operator
add=str(eval(operator))
textin.set(add)
operator=""
def equalbut():
global operator
sub=str(eval(operator))
textin.set(sub)
operator=""
def equalbut():
global operator
mul=(eval(operator))
textin.set(mul)
operator=""
def equalbut():
global operator
div=(eval(operator))
textin.set(div)
vi
opertor=""
def clrbut():
textin.set("")
metext=Entry(me,font=("Courier New",12,
'bold'),textvar=textin,width=25,bd=5,bg="powder blue")
metext.pack()
but1=Button(me,padx=14,pady=14,bd=4,bg='light
blue',command=lambda:clickbut(1),text="1",font=("courier New" ,16, 'bold'))
but1.place(x=10,y=100)
but2=Button(me,padx=14,pady=14,bd=4,bg='light
blue',command=lambda:clickbut(2),text="2",font=("courier New", 16, 'bold'))
but2.place(x=10,y=170)
but3=Button(me,padx=14,pady=14,bd=4,bg='light
blue',command=lambda:clickbut(3),text="3",font=("courier New", 16, 'bold'))
but3.place(x=10,y=240)
but4=Button(me,padx=14,pady=14,bd=4,bg='light
blue',command=lambda:clickbut(4),text="4",font=("courier New", 16, 'bold'))
but4.place(x=75,y=100)
but5=Button(me,padx=14,pady=14,bd=4,bg='light
blue',command=lambda:clickbut(5),text="5",font=("courier New", 16, 'bold'))
but5.place(x=75,y=170)
vi
but6=Button(me,padx=14,pady=14,bd=4,bg='light
blue',command=lambda:clickbut(6),text="6",font=("courier New", 16, 'bold'))
but6.place(x=75,y=240)
but7=Button(me,padx=14,pady=14,bd=4,bg='light
blue',command=lambda:clickbut(7),text="7",font=("courier New", 16, 'bold'))
but7.place(x=140,y=100)
but8=Button(me,padx=14,pady=14,bd=4,bg='light
blue',command=lambda:clickbut(8),text="8",font=("courier New", 16, 'bold'))
but8.place(x=140,y=170)
but9=Button(me,padx=14,pady=14,bd=4,bg='light
blue',command=lambda:clickbut(9),text="9",font=("courier New", 16, 'bold'))
but9.place(x=140,y=240)
but0=Button(me,padx=14,pady=14,bd=4,bg='light
blue',command=lambda:clickbut(0),text="0",font=("courier New", 16, 'bold'))
but0.place(x=10,y=310)
butdot=Button(me,padx=47,pady=14,bd=4,bg='light
blue',command=lambda:clickbut("."),text=".",font=("courier New", 16, 'bold'))
butdot.place(x=75,y=310)
butpl=Button(me,padx=14,pady=14,bd=4,bg='light
blue',command=lambda:clickbut("+"),text="+",font=("courier New", 16, 'bold'))
butpl.place(x=205,y=100)
vi
butsub=Button(me,padx=14,pady=14,bd=4,bg='light
blue',command=lambda:clickbut("-"),text="-",font=("courier New", 16, 'bold'))
butsub.place(x=205,y=170)
butmul=Button(me,padx=14,pady=14,bd=4,bg='light
blue',command=lambda:clickbut("*"),text="x",font=("courier New", 16, 'bold'))
butmul.place(x=205,y=240)
butdiv=Button(me,padx=14,pady=14,bd=4,bg='light
blue',command=lambda:clickbut("/"),text="/",font=("courier New", 16, 'bold'))
butdiv.place(x=205,y=310)
butclear=Button(me,padx=14,pady=119,bd=4,bg='light
blue',text="CE",command=clrbut,font=("courier New", 16, 'bold'))
butclear.place(x=270,y=100)
butequal=Button(me,padx=151,pady=14,bd=4,bg='light
blue',command=equalbut,text="=",font=("courier New", 16, 'bold'))
butequal.place(x=10,y=380)
me.mainloop()
vi
import time
me=Tk()
me.geometry("1600x800+0+0")
me.title("Restaurant Management System")
text_input=StringVar()
operator=""
Tops=Frame(me, width=1600, height=50, bg="powder blue", relief=SUNKEN)
Tops.pack(side=TOP)
f1=Frame(me, width=800, height=700, bg="powder blue", relief=SUNKEN)
f1.pack(side=LEFT)
f2=Frame(me, width=300, height=700, bg="powder blue", relief=SUNKEN)
f2.pack(side=RIGHT)
#===============TIME===============
localtime=time.asctime(time.localtime(time.time()))
#================INFO=================
lblinfo=Label(Tops, font=("arial", 50, 'bold'),text="Restaurant Management System",
fg="purple",bd=10,anchor='w')
lblinfo.grid(row=0, column=0)
lblinfo=Label(Tops, font=("arial", 20, 'bold'),text=localtime,
fg="purple",bd=10,anchor='w')
lblinfo.grid(row=1, column=0)
vi
#=============CALULATOR=========
def btnClick(numbers):
global operator
operator=operator+str(numbers)
text_input.set(operator)
def btnClearDisplay():
global operator
operator=""
text_input.set("")
def btnEqualsInput():
global operator
sumup=str(eval(operator))
text_input.set(sumup)
operator=""
def Ref():
x=random.randint(10908, 500576)
randomRef=str(x)
rand.set(randomRef)
CoF=float(Friedrice.get())
CoS=float(Salad.get())
CoC=float(Chicken.get())
CoM=float(Meatpie.get())
CoSg=float(Sausageroll.get())
CoSh=float(Sharwarma.get())
vi
CoJ=float(Juice.get())
CoT=float(Turkey.get())
CostofFriedrice=CoF*5
CostofSalad=CoS*9
CostofChicken=CoC*10
CostofMeatpie=CoM*12
CostofSausageroll=CoSg*4
CostofSharwarma=CoSh*20
CostofJuice=CoJ*15
CostofTurkey=CoT*50
CostofMeal = "$", str('%.2f'%(CostofFriedrice + CostofSalad + CostofChicken +
CostofTurkey
+ CostofMeatpie + CostofSausageroll + CostofSharwarma +
CostofJuice))
PayTax = ((CostofFriedrice + CostofSalad + CostofChicken + CostofTurkey
+ CostofMeatpie + CostofSausageroll + CostofSharwarma +
CostofJuice)*0.2)
TotalCost =(CostofFriedrice + CostofSalad + CostofChicken + CostofTurkey
+ CostofMeatpie + CostofSausageroll + CostofSharwarma +
CostofJuice)
Ser_Charge = ((CostofFriedrice + CostofSalad + CostofChicken + CostofTurkey
+ CostofMeatpie + CostofSausageroll + CostofSharwarma +
CostofJuice)/55)
Service = "$", str('%.2f'% (Ser_Charge))
OverallCost = "$", str('%.2f'% (PayTax + TotalCost + Ser_Charge))
vi
PaidTax = "$", str('%.2f'% (PayTax))
Service_Charge.set(Service)
Cost.set(CostofMeal)
Tax.set(PaidTax)
Subtotal.set( CostofMeal)
Total.set(OverallCost)
def qExit():
me.destroy()
def Reset():
rand.set("")
Friedrice.set("")
Jollofrice.set("")
Salad.set("")
Chicken.set("")
Meatpie.set("")
Sausageroll.set("")
Sharwarma.set("")
Juice.set("")
Turkey.set("")
Subtotal.set("")
Total.set("")
Service_Charge.set("")
Tax.set("")
Cost.set("")
vi
txtDisplay=Entry(f2, font=('arial', 20, 'bold'),textvariable=text_input, bd=30,
insertwidth=4,
bg="powder blue", justify='right')
txtDisplay.grid(columnspan=4)
#=============================================
btn7=Button(f2,padx=16, pady=16, bd=8, fg="black", font=('arial', 20, 'bold'),
text="7", bg="powder blue",
command=lambda:btnClick(7)).grid(row=2,column=0)
btn8=Button(f2,padx=16, pady=16, bd=8, fg="black", font=('arial', 20, 'bold'),
text="8", bg="powder blue",
command=lambda:btnClick(8)).grid(row=2,column=1)
btn9=Button(f2,padx=16, pady=16, bd=8, fg="black", font=('arial', 20, 'bold'),
text="9", bg="powder blue",
command=lambda:btnClick(9)).grid(row=2,column=2)
Addition=Button(f2,padx=16, pady=16, bd=8, fg="black", font=('arial', 20, 'bold'),
text="+", bg="powder blue",
command=lambda:btnClick("+")).grid(row=2,column=3)
#==============================================
btn4=Button(f2,padx=16, pady=16, bd=8, fg="black", font=('arial', 20, 'bold'),
text="4", bg="powder blue",
command=lambda:btnClick(4)).grid(row=3,column=0)
btn5=Button(f2,padx=16, pady=16, bd=8, fg="black", font=('arial', 20, 'bold'),
text="5", bg="powder blue",
command=lambda:btnClick(5)).grid(row=3,column=1)
vi
btn6=Button(f2,padx=16, pady=16, bd=8, fg="black", font=('arial', 20, 'bold'),
text="6", bg="powder blue",
command=lambda:btnClick(6)).grid(row=3,column=2)
btnsub=Button(f2,padx=16, pady=16, bd=8, fg="black", font=('arial', 20, 'bold'),
text="-", bg="powder blue",
command=lambda:btnClick("-")).grid(row=3,column=3)
#==============================================
btn1=Button(f2,padx=16, pady=16, bd=8, fg="black", font=('arial', 20, 'bold'),
text="1", bg="powder blue",
command=lambda:btnClick(1)).grid(row=4,column=0)
btn2=Button(f2,padx=16, pady=16, bd=8, fg="black", font=('arial', 20, 'bold'),
text="2", bg="powder blue",
command=lambda:btnClick(2)).grid(row=4,column=1)
btn3=Button(f2,padx=16, pady=16, bd=8, fg="black", font=('arial', 20, 'bold'),
text="3", bg="powder blue",
command=lambda:btnClick(3)).grid(row=4,column=2)
btnmul=Button(f2,padx=16, pady=16, bd=8, fg="black", font=('arial', 20, 'bold'),
text="x", bg="powder blue",
command=lambda:btnClick("*")).grid(row=4,column=3)
#==============================================================
==========================
btn0=Button(f2,padx=16, pady=16, bd=8, fg="black", font=('arial', 20, 'bold'),
text="0", bg="powder blue",
command=lambda:btnClick("0")).grid(row=5,column=0)
btnclear=Button(f2,padx=16, pady=16, bd=8, fg="black", font=('arial', 20, 'bold'),
vi
text="C", bg="powder blue", command=btnClearDisplay).grid(row=5,column=1)
btnequals=Button(f2,padx=16, pady=16, bd=8, fg="black", font=('arial', 20, 'bold'),
text="=", bg="powder blue",command=btnEqualsInput).grid(row=5,column=2)
btndiv=Button(f2,padx=16, pady=16, bd=8, fg="black", font=('arial', 20, 'bold'),
text="/", bg="powder blue",
command=lambda:btnClick("/")).grid(row=5,column=3)
#----------------------------------------Menu--------------------------------------------------
rand=StringVar()
Friedrice=StringVar()
Jollofrice=StringVar()
Salad=StringVar()
Chicken=StringVar()
Meatpie=StringVar()
Sausageroll=StringVar()
Sharwarma=StringVar()
Juice=StringVar()
Turkey=StringVar()
Subtotal=StringVar()
Total=StringVar()
Service_Charge=StringVar()
Tax=StringVar()
Cost=StringVar()
lblReference=Label(f1, font=('arial', 16, 'bold'), text="Reference", bd=16, anchor='w')
lblReference.grid(row=0, column=0)
vi
txtReference=Entry(f1, font=('arial', 16, 'bold'), textvariable=rand,
bd=10, insertwidth=4,bg="powder blue", justify="right")
txtReference.grid(row=0, column=1)
lblFriedrice=Label(f1, font=('arial', 16, 'bold'), text="Friedrice", bd=16, anchor='w')
lblFriedrice.grid(row=1, column=0)
txtFriedrice=Entry(f1, font=('arial', 16, 'bold'), textvariable=Friedrice,
bd=10, insertwidth=4,bg="powder blue", justify="right")
txtFriedrice.grid(row=1, column=1)
lblMeatpie=Label(f1, font=('arial', 16, 'bold'), text="Meatpie", bd=16, anchor='w')
lblMeatpie.grid(row=2, column=0)
txtMeatpie=Entry(f1, font=('arial', 16, 'bold'), textvariable=Meatpie,
bd=10, insertwidth=4,bg="powder blue", justify="right")
txtMeatpie.grid(row=2, column=1)
lblSalad=Label(f1, font=('arial', 16, 'bold'), text="Salad", bd=16, anchor='w')
lblSalad.grid(row=3, column=0)
txtSalad=Entry(f1, font=('arial', 16, 'bold'), textvariable=Salad,
bd=10, insertwidth=4,bg="powder blue", justify="right")
txtSalad.grid(row=3, column=1)
lblChicken=Label(f1, font=('arial', 16, 'bold'), text="Chicken", bd=16, anchor='w')
lblChicken.grid(row=4, column=0)
txtChicken=Entry(f1, font=('arial', 16, 'bold'), textvariable=Chicken,
bd=10, insertwidth=4,bg="powder blue", justify="right")
txtChicken.grid(row=4, column=1)
lblSausageroll=Label(f1, font=('arial', 16, 'bold'), text="Sausageroll", bd=16, anchor='w')
vi
lblSausageroll.grid(row=5, column=0)
txtSausageroll=Entry(f1, font=('arial', 16, 'bold'), textvariable=Sausageroll,
bd=10, insertwidth=4,bg="powder blue", justify="right")
txtSausageroll.grid(row=5, column=1)
lblSharwarma=Label(f1, font=('arial', 16, 'bold'), text="Sharwarma", bd=16, anchor='w')
lblSharwarma.grid(row=0, column=2)
txtSharwarma=Entry(f1, font=('arial', 16, 'bold'), textvariable=Sharwarma,
bd=10, insertwidth=4,bg="powder blue", justify="right")
txtSharwarma.grid(row=0, column=3)
lblJuice=Label(f1, font=('arial', 16, 'bold'), text="Juice", bd=16, anchor='w')
lblJuice.grid(row=1, column=2)
txtJuice=Entry(f1, font=('arial', 16, 'bold'), textvariable=Juice,
bd=10, insertwidth=4,bg="white", justify="right")
txtJuice.grid(row=1, column=3)
lblTurkey=Label(f1, font=('arial', 16, 'bold'), text="Turkey", bd=16, anchor='w')
lblTurkey.grid(row=2, column=2)
txtTurkey=Entry(f1, font=('arial', 16, 'bold'), textvariable=Turkey,
bd=10, insertwidth=4,bg="white", justify="right")
txtTurkey.grid(row=2, column=3)
lblSubtotal=Label(f1, font=('arial', 16, 'bold'), text="Subtotal", bd=16, anchor='w')
lblSubtotal.grid(row=3, column=2)
txtSubtotal=Entry(f1, font=('arial', 16, 'bold'), textvariable=Subtotal,
bd=10, insertwidth=4,bg="white", justify="right")
txtSubtotal.grid(row=3, column=3)
vi
lblService_Charge=Label(f1, font=('arial', 16, 'bold'), text="S.Charge", bd=16,
anchor='w')
lblService_Charge.grid(row=4, column=2)
txtService_Charge=Entry(f1, font=('arial', 16, 'bold'), textvariable=Service_Charge,
bd=10, insertwidth=4,bg="white", justify="right")
txtService_Charge.grid(row=4, column=3)
lblTax=Label(f1, font=('arial', 16, 'bold'), text="Tax", bd=16, anchor='w')
lblTax.grid(row=5, column=2)
txtTax=Entry(f1, font=('arial', 16, 'bold'), textvariable=Tax,
bd=10, insertwidth=4,bg="white", justify="right")
txtTax.grid(row=4, column=3)
lblCost=Label(f1, font=('arial', 16, 'bold'), text="Total Cost", bd=16, anchor='w')
lblCost.grid(row=5, column=2)
txtCost=Entry(f1, font=('arial', 16, 'bold'), textvariable=Cost,
bd=10, insertwidth=4,bg="white", justify="right")
txtCost.grid(row=5, column=3)
btnTotal=Button(f1, padx=16, pady=8,bd=16, fg='black',font=('arial', 16, 'bold'),
width=10, text="Total",
bg="powder blue", command=Ref).grid(row=7, column=1)
btnReset=Button(f1, padx=16, pady=8,bd=16, fg='black',font=('arial', 16, 'bold'),
width=10, text="Reset",
bg="powder blue", command=Reset).grid(row=7, column=2)
btnExit=Button(f1, padx=16, pady=8,bd=16, fg='black',font=('arial', 16, 'bold'),
width=10, text="Exit",
bg="powder blue", command=qExit).grid(row=7, column=3)
vi
me.mainloop()
CHAPTER THREE
vi
MySQL is a database. The data in MySQL is stored in database objects called tables. A table is a
collection of related data entries and it consists of columns and rows.
Databases are useful when storing information categorically. A company may have a database
with the following tables: "Employees", "Products", "Customers" and "Orders".
Before you can access data in a database, you must create a connection to the database.
Syntax
<?php
$con = mysql_connect("localhost","evans","1111");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
// some code
?>
vi
3.4 INSERT DATA INTO DATABASE TABLE
The INSERT INTO statement is used to add new records to a database table.
vi
<?php
$con = mysql_connect("localhost","peter","abc123");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("my_db", $con);
while($row = mysql_fetch_array($result))
{
echo $row['FirstName'] . " " . $row['LastName'];
echo "<br />";
}
mysql_close($con);
?>
vi
CHATER FOUR
CONCLUSION
In summary, Python is abroad and interesting language. A language in which you can
accomplish anything in Science and mathematical computation, Data Analysis, Machine
Learning etc.
Indeed, the knowledge of python has widened my horizon in the world of software development
such as: OOP, structural programming GUI application etc.
Most times there was bad network connection in other to access the internet.
Understanding the algorithm of python language.
Downloading and installing the Code Editors e.g. VScode and setting it up for
learning(coding), finding the IDLE of python in system (it took me quite some time
to find it on my system) and setting up The IDE (Pycharm)
At first I was placed in the web development department as a tutor. Due to the covid 19
regulation rules, most of our classes were online before we were back to class
I observed that It is an environment very conducive for learning, most times there was
traffic in the network
vi
4.4 WAYS OF IMPROVING THE SIWES PROGRAM
The school should post students to various organizations or their SIWES program,
because on countless occasions students tend to find it very difficult getting placement
for their I.T attachment.
vi
vi
vi