Computer project

Czarina Patalod
Czarina PatalodACCOUNTANCY à BPI

Computer Project

As the semester ends, I learn a lot in computer subjectfrom the day we started until in our final
examination.It is more interesting that I never thought itwould be. Our Prelims areall about Decimal Numbers,
Digital Number Systems and Computer Basics.In digital number systems, I learned that this number systems are
we use in our day-to-day life.It has base10 as ituses 10 digits from0 to 9 and the successivepositionsto the left
of the decimal pointrepresents ones, tens, hundreds, thousands and so on. I also learned how to expand the
decimal number system. Example of this are: 2718,
8 = ones, 1 = tens, 7= hundreds and 2 = thousands.
= (2x1000) + (7x100) + (1x10) + (8xl)
= (2x10)3
+ (7x10)2
+ (1x10)1
+ (8x10)0
= 2000 + 700 + 10 + 8
= 2718
This is how simpleto do the expansion for decimal number system. It is also haveDigital Number System
wherein this number systems which are frequently used in computers. It includes Binary system, Octal System and
Hexadecimal System. In Binary System, also called base2 number system because ituses two digits,0 and 1. First
position in a binary number represents a 0 power of the base(2). Example 20
whilein lastposition in a binary
number represents a x power of the base (2).Example 2 𝑥
. To convert the binary number to decimal number is here
the example:
10101012 =(1x26
) + (0x25
)+ (1x24
) + (0x23
) + (1x22
) + (0x21
) + (1x20
) 10
= ( 1x 64 ) + (0 x 32 ) + ( 1x 16 ) + ( 0x 8) + ( 1x 4 ) + ( 0x 2 ) + (1𝑥1) 10
= 64 + 0 + 16 + 0 + 4 + 0 + 1
= 85 10
In Octal Number, also called base8 number system becauseit uses eight digits,0,1,2,3,4,5,6,7. First
position in a octal number represents a 0 power of the base (8).Example 80
whilein lastposition in a octal number
represents a x power of the base (8) Example 8 𝑥
. To convert the octal number to decimal number is here the
example:
2727 8 = (2x83
) + (7x82
) + (2x81
) + (7x80
) 10
= (2x512 ) + (7x64 ) + (2x8 ) + (7x1 ) 10
= 1024 + 448 + 16 + 7
= 149510
In Hexadecimal Number, also called base16 number system because it uses 10 digits and 6 letters,
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F wherein letters represents numbers startingfrom 10.A = 10. B = 11, C
= 12, D = 13, E = 14, F = 15.. Firstposition in a hexadecimal number represents a 0 power of the base(16).Example
160
whilein lastposition in a hexadecimal number represents a x power of the base(16) Example 16 𝑥
. To convert
the hexadecimal number to decimal number is here the example:
19𝐹𝐷𝐸 16 = (1 x 164
) + (9 x 163
) + (F x 162
) + (D x 161
) + (E x 160
) 10
= (1 x 164
) + (9 x 163
) + (15 x 162
) + (13 x 161
) + (14 x 160
) 10
= (65536 + 36864 + 3840 + 208 + 14) 10
= 10646210
As I solvethose problems,they are all the same of process on how to convert it to Decimal Number but
the only different is the number what I multiply likefor example in Binary , I multiply itby 2 likewisein Octal I
multiply itby 8 and in Hexadecimal is by 16. This is simpleconversion of Binary,Octal and Hexadecimal to Decimal
Number.
In Computer Basics,this was notnew to me becauseit was already discussed this lessonswhen I was
elementary and even in High School.I is all aboutComputer systems. There are three systems those are Hardware,
Peripheral Devices and Software. Hardware is anythingyou can “touch” on the computer. Under of Hardware,
there are two devices, the Input Devices and Output Devices the difference of two is the Input Device is a
peripheral deviceused to gather and translateinputinto form that the computer can process:Example of this are
Mouse and Keyboard while in Output Devices is a peripheral devicethat displays,prints,or transmits theresultof
processing fromthe computer memory: Example of this areMonitor and Printer. In Software is the oppositeof the
hardware, this is anythingyou cannot touch on the computer. Under of software is the OperatingSystem that r uns
the computer Example of this are: Windows 98, Windows XP , Windows 7 , Linux, Mac OS and the other one is
Application Softwarethat Runs programs or applications:Exampleof this are, Ms Word, Ms Excel ,Photoshop. A
computers have four functions those are Input, Processing,Storage ,Output. Input wherein whatever is put into a
computer system. Input can be: Words , Symbols, Numbers for calculations, Pictures and sounds.Processingisthe
systematic series of actions a computer uses to manipulatethe data. Computers process data in a device called the
Central Processing Unit(CPU). Data processingincludes:Performingcalculations,Modifyingdocuments.Storage a
computer must store data so that it is availableprocessing.Memory is an area that holds data waitingto be
processed.Storage is the area where data can be left on a permanent basis whileitis notneeded for processing.
Lastly,Output is the results produced by the computer. Examples include:Reports ,Documents, Music,Graphics
and Pictures.We also learned how to make a simpleflow chartjustlikethis.
FINDING THE AREA OF SQUARE
= Connector Symbol represents
the exit to, or entry from, another
part of the same flowchart.
= Input/Output Symbol represents data
that is availablefor inputor resulting
from processing
= Decision Symbol is a junction
where a decision mustbe made.
NO
= Off-page Connector Symbols are used to
indicatethe flowchartcontinues
on another page. YES
START
Input
Side = 5cm
Side
Is Area
> 25cm2
?
The area is 25cm2 END
Now in our Midterm, its all aboutHTML and some uses of DATABASE. HTML stands for Hyper Text Markup
Language. It is a languagefor describingweb pages. HTML documents are also called web pages. HTML markup
tags are usually called HTML tags. HTML tags arekeywords (tag names) surrounded by angle brackets like
<html>HTML tags normally come in pairs like<b> and </b>.The firsttagin a pair is thestarttag, the second tag is
the end tag. The end tag is written likethe start tag, with a forward slash beforethe tag name. Start and end tags
are also called openingtags and closingtags <tag>content</tag>.
HTML Page Structure
<html>
<body>
<p>content</p>
</body>
</html>
Here are the steps I learned on how to create my first web pages.
 Step 1: Start Notepad
 Step 2: Edit Your HTML with Notepad
 Step 3: Save Your HTML
 Select Save as.. in Notepad's filemenu. Save the filewith extension .htm or .html
 Step 4: Run the HTML in Your Browser
 Start your web browser and open your html filefrom the File, Open menu, or justbrowse the
folder and double-click your HTML file.
 The <title> element:
 defines a title in the browser toolbar
 provides a title for the page when it is added to favorites
 displaysa titlefor the page in search-engine results
Example: <title>This is title</title>
 HTML links aredefined with the <a> tag. The HTML <a> tag defines a hyperlink.
 A hyperlink (or link) is a word, group of words,or image that you can click on to jump to another
document.
 When you move the cursor over a link in a Web page, the arrowwill turn into a littlehand.
 The most importantattribute of the <a> element is the href attribute, which indicates the link’s
destination.
 The link address is specified in thehref attribute:
Example: <a href="http://www.netultimateschool.com">This is a link</a>
 Headings are importantin HTML documents.
Headings are defined with the <h1> to <h6> tags.
<h1> defines the most important heading. <h6> defines the leastimportantheading.
Example
<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>
 HTML documents aredivided into paragraphs.
 Paragraphs aredefined with the <p> tag.
Example:
<p>Welcome to NetUltimate School</p>
Here are some HTML tags.
 <b> Defines bold text
 <em> Defines emphasized text
 <i> Defines a part of text in an alternate voiceor mood
 <small> Defines smaller text
 <strong> Defines important text
 <sub> Defines subscripted text
 <sup> Defines superscripted text
 <ins> Defines inserted text
 <del> Defines deleted text
 An unordered liststarts with the <ul> tag.
The Output will look like
 Coffee
 Milk
An ordered liststarts with the <ol> tag.
 The Output will look like
1.Coffee
2.Milk
• Put a pictureon my page
• <img src=“Name of your picture.extension” />
– Example: <img src=“me.jpg” width=“25%”/>
• The picture MUST be in the same folder as the web page.
TO MAKE THE TABLE in my page here are steps:
 Start with the table tag. The tabletag looks likethe image below. Then usethe border attribute.
For now set itto 1.
 Next is the table row tag. As you probably guessed it,it is used to make table rows. The tag looks
likethis <tr>
 The next step is to use the td tag. TD stands for table data.You use this tag to put in the
information that you want to put in the table.
 Once I have done that you can add more data or add another row. So far your html should look
likesomething likethis.
Now I need to have a better way to style my HTML so I used CSS. Here aresome example.
body {background-color:yellow;}
p {color:blue;}
<img src=“ab.jpg"alt=“abimage" width="304“ height="228">
Next is aboutthe DATABASE . Databasemanagement system (DBMS) is a collection of interrelated data and a
set of programs to access thosedata. , Set of programs to access the data , DBMS contains information about
a particular enterprise,DBMS provides an environment that is both convenient and efficient to use.
Levels of Abstraction
Physical level describes how a record (e.g., customer) is stored.
Logical level: describes data stored in database,and the relationshipsamongthe data.
type customer = record
name : string;
street : string;
city : integer;
end;
View level: application programs hidedetailsof data types. Views can also hideinformation (e.g., salary)
for security purposes.
Instances and Schemas
Similar to types and variables in programminglanguages
Schema – the logical structureof the database
e.g., the databaseconsists of information abouta set of customers and accounts and the relationship
between them)
Analogous to type information of a variablein a program
Physical schema: databasedesign at the physical level
Logical schema: databasedesign atthe logical level
Instance – the actual content of the databaseata particularpointin time
Analogous to the value of a variable
Physical Data Independence – the ability to modify the physical schema withoutchangingthe logical
schema
Applications depend on the logical schema
In general, the interfaces between the various levels and components should be well defined so that
changes in some parts do not seriously influenceothers.
Data Definition Language (DDL) = Specification notation for definingthe database schema.
Data Manipulation Language (DML) = Language for accessingand manipulatingthedata organized by the
appropriatedata model. DML also known as query language
Our Finals is all about SQL
SQL: widely used non-procedural language
E.g. find the name of the customer with customer-id 192-83-7465
select customer.customer-name
from customer
where customer.customer-id = ‘192-83-7465’
E.g. find the balances of all accounts held by the customer with customer-id 192-83-7465
select account.balance
from depositor, account
where depositor.customer-id = ‘192-83-7465’and
depositor.account-number = account.account-number
UNIVERSAL COLLEGE OF PARAÑAQUE
CPTL0201
Fundamentals of Programming $
Database Theory $ Applications
Submitted By:
Czarina Mae R. Patalod
Submitted To:
Ms. Ivy Razonales

Recommandé

Physical elements of data par
Physical elements of dataPhysical elements of data
Physical elements of dataDimara Hakim
530 vues42 diapositives
Intro To TSQL - Unit 5 par
Intro To TSQL - Unit 5Intro To TSQL - Unit 5
Intro To TSQL - Unit 5iccma
673 vues19 diapositives
Mca admission in india par
Mca admission in indiaMca admission in india
Mca admission in indiaEdhole.com
163 vues28 diapositives
Sql ppt par
Sql pptSql ppt
Sql pptProf. Dr. K. Adisesha
648 vues42 diapositives
Optimizing Data Accessin Sq Lserver2005 par
Optimizing Data Accessin Sq Lserver2005Optimizing Data Accessin Sq Lserver2005
Optimizing Data Accessin Sq Lserver2005rainynovember12
536 vues23 diapositives
A comprehensive framework for secure query processing on relational data in t... par
A comprehensive framework for secure query processing on relational data in t...A comprehensive framework for secure query processing on relational data in t...
A comprehensive framework for secure query processing on relational data in t...Totan Banik
46 vues22 diapositives

Contenu connexe

Tendances

Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas... par
Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...
Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...Beat Signer
18.9K vues48 diapositives
Daff: diff, patch and merge for data.frame par
Daff: diff, patch and merge for data.frameDaff: diff, patch and merge for data.frame
Daff: diff, patch and merge for data.frameEdwin de Jonge
1.4K vues23 diapositives
6. R data structures par
6. R data structures6. R data structures
6. R data structuresExternalEvents
818 vues115 diapositives
2 beginning problem solving concepts for the computer par
2 beginning problem solving concepts for the computer2 beginning problem solving concepts for the computer
2 beginning problem solving concepts for the computerRheigh Henley Calderon
1.6K vues17 diapositives
Tree and Binary Search tree par
Tree and Binary Search treeTree and Binary Search tree
Tree and Binary Search treeMuhazzab Chouhadry
2.5K vues124 diapositives
E2 par
E2E2
E2lksoo
195 vues9 diapositives

Tendances(20)

Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas... par Beat Signer
Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...
Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...
Beat Signer18.9K vues
Daff: diff, patch and merge for data.frame par Edwin de Jonge
Daff: diff, patch and merge for data.frameDaff: diff, patch and merge for data.frame
Daff: diff, patch and merge for data.frame
Edwin de Jonge1.4K vues
E2 par lksoo
E2E2
E2
lksoo195 vues
Intro To TSQL - Unit 1 par iccma
Intro To TSQL - Unit 1Intro To TSQL - Unit 1
Intro To TSQL - Unit 1
iccma1.2K vues
Data Mining: Concepts and Techniques (3rd ed.) - Chapter 3 preprocessing par Salah Amean
Data Mining:  Concepts and Techniques (3rd ed.)- Chapter 3 preprocessingData Mining:  Concepts and Techniques (3rd ed.)- Chapter 3 preprocessing
Data Mining: Concepts and Techniques (3rd ed.) - Chapter 3 preprocessing
Salah Amean10.5K vues
Functional Programming in Pattern-Match-Oriented Programming Style <Programmi... par Rakuten Group, Inc.
Functional Programming in Pattern-Match-Oriented Programming Style <Programmi...Functional Programming in Pattern-Match-Oriented Programming Style <Programmi...
Functional Programming in Pattern-Match-Oriented Programming Style <Programmi...
The best ETL questions in a nut shell par Srinimf-Slides
The best ETL questions in a nut shellThe best ETL questions in a nut shell
The best ETL questions in a nut shell
Srinimf-Slides 209 vues
January 2016 Meetup: Speeding up (big) data manipulation with data.table package par Zurich_R_User_Group
January 2016 Meetup: Speeding up (big) data manipulation with data.table packageJanuary 2016 Meetup: Speeding up (big) data manipulation with data.table package
January 2016 Meetup: Speeding up (big) data manipulation with data.table package
MS SQL SERVER:Microsoft neural network and logistic regression par DataminingTools Inc
MS SQL SERVER:Microsoft neural network and logistic regressionMS SQL SERVER:Microsoft neural network and logistic regression
MS SQL SERVER:Microsoft neural network and logistic regression
Intro To TSQL - Unit 4 par iccma
Intro To TSQL - Unit 4Intro To TSQL - Unit 4
Intro To TSQL - Unit 4
iccma836 vues
ODS ExcelXP par OleSteen
ODS ExcelXPODS ExcelXP
ODS ExcelXP
OleSteen793 vues
Relational Database Design - Lecture 4 - Introduction to Databases (1007156ANR) par Beat Signer
Relational Database Design - Lecture 4 - Introduction to Databases (1007156ANR)Relational Database Design - Lecture 4 - Introduction to Databases (1007156ANR)
Relational Database Design - Lecture 4 - Introduction to Databases (1007156ANR)
Beat Signer22.1K vues

Similaire à Computer project

R-Language-Lab-Manual-lab-1.pdf par
R-Language-Lab-Manual-lab-1.pdfR-Language-Lab-Manual-lab-1.pdf
R-Language-Lab-Manual-lab-1.pdfKabilaArun
11 vues33 diapositives
R-Language-Lab-Manual-lab-1.pdf par
R-Language-Lab-Manual-lab-1.pdfR-Language-Lab-Manual-lab-1.pdf
R-Language-Lab-Manual-lab-1.pdfDrGSakthiGovindaraju
50 vues33 diapositives
R-Language-Lab-Manual-lab-1.pdf par
R-Language-Lab-Manual-lab-1.pdfR-Language-Lab-Manual-lab-1.pdf
R-Language-Lab-Manual-lab-1.pdfattalurilalitha
3 vues33 diapositives
Introduction To Programming par
Introduction To ProgrammingIntroduction To Programming
Introduction To Programmingcwarren
761 vues31 diapositives
Anything but simple Mathematica par
Anything but simple MathematicaAnything but simple Mathematica
Anything but simple MathematicaSergeiPronkevich
244 vues13 diapositives
ArduinoWorkshop2.pdf par
ArduinoWorkshop2.pdfArduinoWorkshop2.pdf
ArduinoWorkshop2.pdfPedramKashiani
3 vues583 diapositives

Similaire à Computer project(20)

R-Language-Lab-Manual-lab-1.pdf par KabilaArun
R-Language-Lab-Manual-lab-1.pdfR-Language-Lab-Manual-lab-1.pdf
R-Language-Lab-Manual-lab-1.pdf
KabilaArun11 vues
Introduction To Programming par cwarren
Introduction To ProgrammingIntroduction To Programming
Introduction To Programming
cwarren761 vues
Lec 1 Ds par Qundeel
Lec 1 DsLec 1 Ds
Lec 1 Ds
Qundeel319 vues
Lec 1 Ds par Qundeel
Lec 1 DsLec 1 Ds
Lec 1 Ds
Qundeel489 vues
Data Structure par sheraz1
Data StructureData Structure
Data Structure
sheraz11.1K vues
An Introduction To Statistical Computing in R.pdf par Monique Carr
An Introduction To Statistical Computing in R.pdfAn Introduction To Statistical Computing in R.pdf
An Introduction To Statistical Computing in R.pdf
Monique Carr2 vues

Plus de Czarina Patalod

Marketing second sem par
Marketing second semMarketing second sem
Marketing second semCzarina Patalod
4.4K vues21 diapositives
Bread of salt par
Bread of saltBread of salt
Bread of saltCzarina Patalod
13.9K vues2 diapositives
Consumed by gambling par
Consumed by gamblingConsumed by gambling
Consumed by gamblingCzarina Patalod
2K vues2 diapositives
SOCIAL MEDIA par
SOCIAL  MEDIA SOCIAL  MEDIA
SOCIAL MEDIA Czarina Patalod
335 vues9 diapositives
Marketing par
MarketingMarketing
MarketingCzarina Patalod
353 vues9 diapositives
Marketing par
MarketingMarketing
MarketingCzarina Patalod
265 vues8 diapositives

Plus de Czarina Patalod(20)

Rules and regulations and scoring of badminton par Czarina Patalod
Rules and regulations and scoring of badmintonRules and regulations and scoring of badminton
Rules and regulations and scoring of badminton
Czarina Patalod1K vues
Rules and regulations and scoring of badminton par Czarina Patalod
Rules and regulations and scoring of badmintonRules and regulations and scoring of badminton
Rules and regulations and scoring of badminton
Czarina Patalod4K vues

Dernier

IIBA Melbourne - Pave your Path to Success par
IIBA Melbourne - Pave your Path to Success IIBA Melbourne - Pave your Path to Success
IIBA Melbourne - Pave your Path to Success AustraliaChapterIIBA
33 vues10 diapositives
Readiness Quiz - Sr. Engineer.pptx par
Readiness Quiz - Sr. Engineer.pptxReadiness Quiz - Sr. Engineer.pptx
Readiness Quiz - Sr. Engineer.pptxguptanavneet1
432 vues7 diapositives
kibria_portfolio.pdf par
kibria_portfolio.pdfkibria_portfolio.pdf
kibria_portfolio.pdfMasumKhan59
5 vues17 diapositives
Danny Gaethofs CV - n English.pdf par
Danny Gaethofs  CV - n English.pdfDanny Gaethofs  CV - n English.pdf
Danny Gaethofs CV - n English.pdfDanny Gaethofs
13 vues12 diapositives
Scrum Quiz Certification par
Scrum Quiz CertificationScrum Quiz Certification
Scrum Quiz CertificationVivek Nair
5 vues1 diapositive
Software Engineer's Career Management Toolkit par
Software Engineer's Career Management ToolkitSoftware Engineer's Career Management Toolkit
Software Engineer's Career Management Toolkitozgengungor1
14 vues41 diapositives

Dernier(20)

Readiness Quiz - Sr. Engineer.pptx par guptanavneet1
Readiness Quiz - Sr. Engineer.pptxReadiness Quiz - Sr. Engineer.pptx
Readiness Quiz - Sr. Engineer.pptx
guptanavneet1432 vues
Scrum Quiz Certification par Vivek Nair
Scrum Quiz CertificationScrum Quiz Certification
Scrum Quiz Certification
Vivek Nair5 vues
Software Engineer's Career Management Toolkit par ozgengungor1
Software Engineer's Career Management ToolkitSoftware Engineer's Career Management Toolkit
Software Engineer's Career Management Toolkit
ozgengungor114 vues
SUDIP DHAR Resume.pdf par Sudip Dhar
SUDIP DHAR  Resume.pdfSUDIP DHAR  Resume.pdf
SUDIP DHAR Resume.pdf
Sudip Dhar13 vues
Resume_McCauleyFynnBullock-1 (1).pdf par FynnBullock
Resume_McCauleyFynnBullock-1 (1).pdfResume_McCauleyFynnBullock-1 (1).pdf
Resume_McCauleyFynnBullock-1 (1).pdf
FynnBullock13 vues
Detailed CV Dr GG Saxena IAS Rtd 091123.docx par Ambuj Saxena
Detailed CV Dr GG Saxena IAS Rtd 091123.docxDetailed CV Dr GG Saxena IAS Rtd 091123.docx
Detailed CV Dr GG Saxena IAS Rtd 091123.docx
Ambuj Saxena25 vues
canada immigration plan 2024 to 2026.docx par AmitSingh3521
canada immigration plan 2024 to 2026.docxcanada immigration plan 2024 to 2026.docx
canada immigration plan 2024 to 2026.docx
AmitSingh35217 vues
21. Certificate of Appreciation Alex par Manu Mitra
21. Certificate of Appreciation Alex21. Certificate of Appreciation Alex
21. Certificate of Appreciation Alex
Manu Mitra7 vues
WordCamp (Why fret over AI overlords when you can befriend them).pdf par BiaAhmed1
WordCamp (Why fret over AI overlords when you can befriend them).pdfWordCamp (Why fret over AI overlords when you can befriend them).pdf
WordCamp (Why fret over AI overlords when you can befriend them).pdf
BiaAhmed125 vues
Readiness Quiz - Staff Engineer.pptx par guptanavneet1
Readiness Quiz - Staff Engineer.pptxReadiness Quiz - Staff Engineer.pptx
Readiness Quiz - Staff Engineer.pptx
guptanavneet1606 vues

Computer project

  • 1. As the semester ends, I learn a lot in computer subjectfrom the day we started until in our final examination.It is more interesting that I never thought itwould be. Our Prelims areall about Decimal Numbers, Digital Number Systems and Computer Basics.In digital number systems, I learned that this number systems are we use in our day-to-day life.It has base10 as ituses 10 digits from0 to 9 and the successivepositionsto the left of the decimal pointrepresents ones, tens, hundreds, thousands and so on. I also learned how to expand the decimal number system. Example of this are: 2718, 8 = ones, 1 = tens, 7= hundreds and 2 = thousands. = (2x1000) + (7x100) + (1x10) + (8xl) = (2x10)3 + (7x10)2 + (1x10)1 + (8x10)0 = 2000 + 700 + 10 + 8 = 2718 This is how simpleto do the expansion for decimal number system. It is also haveDigital Number System wherein this number systems which are frequently used in computers. It includes Binary system, Octal System and Hexadecimal System. In Binary System, also called base2 number system because ituses two digits,0 and 1. First position in a binary number represents a 0 power of the base(2). Example 20 whilein lastposition in a binary number represents a x power of the base (2).Example 2 𝑥 . To convert the binary number to decimal number is here the example: 10101012 =(1x26 ) + (0x25 )+ (1x24 ) + (0x23 ) + (1x22 ) + (0x21 ) + (1x20 ) 10 = ( 1x 64 ) + (0 x 32 ) + ( 1x 16 ) + ( 0x 8) + ( 1x 4 ) + ( 0x 2 ) + (1𝑥1) 10 = 64 + 0 + 16 + 0 + 4 + 0 + 1 = 85 10 In Octal Number, also called base8 number system becauseit uses eight digits,0,1,2,3,4,5,6,7. First position in a octal number represents a 0 power of the base (8).Example 80 whilein lastposition in a octal number represents a x power of the base (8) Example 8 𝑥 . To convert the octal number to decimal number is here the example: 2727 8 = (2x83 ) + (7x82 ) + (2x81 ) + (7x80 ) 10 = (2x512 ) + (7x64 ) + (2x8 ) + (7x1 ) 10 = 1024 + 448 + 16 + 7 = 149510 In Hexadecimal Number, also called base16 number system because it uses 10 digits and 6 letters, 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F wherein letters represents numbers startingfrom 10.A = 10. B = 11, C = 12, D = 13, E = 14, F = 15.. Firstposition in a hexadecimal number represents a 0 power of the base(16).Example 160 whilein lastposition in a hexadecimal number represents a x power of the base(16) Example 16 𝑥 . To convert the hexadecimal number to decimal number is here the example: 19𝐹𝐷𝐸 16 = (1 x 164 ) + (9 x 163 ) + (F x 162 ) + (D x 161 ) + (E x 160 ) 10 = (1 x 164 ) + (9 x 163 ) + (15 x 162 ) + (13 x 161 ) + (14 x 160 ) 10 = (65536 + 36864 + 3840 + 208 + 14) 10 = 10646210 As I solvethose problems,they are all the same of process on how to convert it to Decimal Number but the only different is the number what I multiply likefor example in Binary , I multiply itby 2 likewisein Octal I multiply itby 8 and in Hexadecimal is by 16. This is simpleconversion of Binary,Octal and Hexadecimal to Decimal Number.
  • 2. In Computer Basics,this was notnew to me becauseit was already discussed this lessonswhen I was elementary and even in High School.I is all aboutComputer systems. There are three systems those are Hardware, Peripheral Devices and Software. Hardware is anythingyou can “touch” on the computer. Under of Hardware, there are two devices, the Input Devices and Output Devices the difference of two is the Input Device is a peripheral deviceused to gather and translateinputinto form that the computer can process:Example of this are Mouse and Keyboard while in Output Devices is a peripheral devicethat displays,prints,or transmits theresultof processing fromthe computer memory: Example of this areMonitor and Printer. In Software is the oppositeof the hardware, this is anythingyou cannot touch on the computer. Under of software is the OperatingSystem that r uns the computer Example of this are: Windows 98, Windows XP , Windows 7 , Linux, Mac OS and the other one is Application Softwarethat Runs programs or applications:Exampleof this are, Ms Word, Ms Excel ,Photoshop. A computers have four functions those are Input, Processing,Storage ,Output. Input wherein whatever is put into a computer system. Input can be: Words , Symbols, Numbers for calculations, Pictures and sounds.Processingisthe systematic series of actions a computer uses to manipulatethe data. Computers process data in a device called the Central Processing Unit(CPU). Data processingincludes:Performingcalculations,Modifyingdocuments.Storage a computer must store data so that it is availableprocessing.Memory is an area that holds data waitingto be processed.Storage is the area where data can be left on a permanent basis whileitis notneeded for processing. Lastly,Output is the results produced by the computer. Examples include:Reports ,Documents, Music,Graphics and Pictures.We also learned how to make a simpleflow chartjustlikethis. FINDING THE AREA OF SQUARE = Connector Symbol represents the exit to, or entry from, another part of the same flowchart. = Input/Output Symbol represents data that is availablefor inputor resulting from processing = Decision Symbol is a junction where a decision mustbe made. NO = Off-page Connector Symbols are used to indicatethe flowchartcontinues on another page. YES START Input Side = 5cm Side Is Area > 25cm2 ? The area is 25cm2 END
  • 3. Now in our Midterm, its all aboutHTML and some uses of DATABASE. HTML stands for Hyper Text Markup Language. It is a languagefor describingweb pages. HTML documents are also called web pages. HTML markup tags are usually called HTML tags. HTML tags arekeywords (tag names) surrounded by angle brackets like <html>HTML tags normally come in pairs like<b> and </b>.The firsttagin a pair is thestarttag, the second tag is the end tag. The end tag is written likethe start tag, with a forward slash beforethe tag name. Start and end tags are also called openingtags and closingtags <tag>content</tag>. HTML Page Structure <html> <body> <p>content</p> </body> </html> Here are the steps I learned on how to create my first web pages.  Step 1: Start Notepad  Step 2: Edit Your HTML with Notepad  Step 3: Save Your HTML  Select Save as.. in Notepad's filemenu. Save the filewith extension .htm or .html  Step 4: Run the HTML in Your Browser  Start your web browser and open your html filefrom the File, Open menu, or justbrowse the folder and double-click your HTML file.  The <title> element:  defines a title in the browser toolbar  provides a title for the page when it is added to favorites  displaysa titlefor the page in search-engine results Example: <title>This is title</title>
  • 4.  HTML links aredefined with the <a> tag. The HTML <a> tag defines a hyperlink.  A hyperlink (or link) is a word, group of words,or image that you can click on to jump to another document.  When you move the cursor over a link in a Web page, the arrowwill turn into a littlehand.  The most importantattribute of the <a> element is the href attribute, which indicates the link’s destination.  The link address is specified in thehref attribute: Example: <a href="http://www.netultimateschool.com">This is a link</a>  Headings are importantin HTML documents. Headings are defined with the <h1> to <h6> tags. <h1> defines the most important heading. <h6> defines the leastimportantheading. Example <h1>This is a heading</h1> <h2>This is a heading</h2> <h3>This is a heading</h3>  HTML documents aredivided into paragraphs.  Paragraphs aredefined with the <p> tag. Example: <p>Welcome to NetUltimate School</p> Here are some HTML tags.  <b> Defines bold text  <em> Defines emphasized text  <i> Defines a part of text in an alternate voiceor mood  <small> Defines smaller text  <strong> Defines important text  <sub> Defines subscripted text  <sup> Defines superscripted text  <ins> Defines inserted text  <del> Defines deleted text  An unordered liststarts with the <ul> tag. The Output will look like  Coffee  Milk An ordered liststarts with the <ol> tag.  The Output will look like 1.Coffee 2.Milk • Put a pictureon my page • <img src=“Name of your picture.extension” /> – Example: <img src=“me.jpg” width=“25%”/> • The picture MUST be in the same folder as the web page.
  • 5. TO MAKE THE TABLE in my page here are steps:  Start with the table tag. The tabletag looks likethe image below. Then usethe border attribute. For now set itto 1.  Next is the table row tag. As you probably guessed it,it is used to make table rows. The tag looks likethis <tr>  The next step is to use the td tag. TD stands for table data.You use this tag to put in the information that you want to put in the table.  Once I have done that you can add more data or add another row. So far your html should look likesomething likethis. Now I need to have a better way to style my HTML so I used CSS. Here aresome example. body {background-color:yellow;} p {color:blue;} <img src=“ab.jpg"alt=“abimage" width="304“ height="228">
  • 6. Next is aboutthe DATABASE . Databasemanagement system (DBMS) is a collection of interrelated data and a set of programs to access thosedata. , Set of programs to access the data , DBMS contains information about a particular enterprise,DBMS provides an environment that is both convenient and efficient to use. Levels of Abstraction Physical level describes how a record (e.g., customer) is stored. Logical level: describes data stored in database,and the relationshipsamongthe data. type customer = record name : string; street : string; city : integer; end; View level: application programs hidedetailsof data types. Views can also hideinformation (e.g., salary) for security purposes. Instances and Schemas Similar to types and variables in programminglanguages Schema – the logical structureof the database e.g., the databaseconsists of information abouta set of customers and accounts and the relationship between them) Analogous to type information of a variablein a program Physical schema: databasedesign at the physical level Logical schema: databasedesign atthe logical level Instance – the actual content of the databaseata particularpointin time Analogous to the value of a variable Physical Data Independence – the ability to modify the physical schema withoutchangingthe logical schema Applications depend on the logical schema In general, the interfaces between the various levels and components should be well defined so that changes in some parts do not seriously influenceothers. Data Definition Language (DDL) = Specification notation for definingthe database schema. Data Manipulation Language (DML) = Language for accessingand manipulatingthedata organized by the appropriatedata model. DML also known as query language Our Finals is all about SQL SQL: widely used non-procedural language E.g. find the name of the customer with customer-id 192-83-7465 select customer.customer-name from customer where customer.customer-id = ‘192-83-7465’ E.g. find the balances of all accounts held by the customer with customer-id 192-83-7465 select account.balance from depositor, account where depositor.customer-id = ‘192-83-7465’and depositor.account-number = account.account-number
  • 7. UNIVERSAL COLLEGE OF PARAÑAQUE CPTL0201 Fundamentals of Programming $ Database Theory $ Applications Submitted By: Czarina Mae R. Patalod Submitted To: Ms. Ivy Razonales