Fill in the Blanks

April 17th, 2010

Fill in the blanks of Katy Perry’s music:

1. W_ _ _ i _ g   _ _   _n   _e_ _s

2. _ _t   _    _o_ _

3. T_ _ _ k _ n _   _ _   _o_

4. _r  _ _   _ a _

5. I  _ _ _ _ _ _  a   _ _ r _

Instructions to T4A

January 29th, 2010

Because of unforeseen circumstances, I will be unable to meet you again tomorrow. We will be having a makeup class next week, and I’ll make sure to meet the class next Saturday.

For now, please study Assembly Language.
1) Click here for the Art of Assembly Language. Read Chapters 1-17. Chapters 1-4 are easy reading. Although the handout is long, I suggest you allot time to read this.
2) To test your Assembly Codes, download and install an 8086 emulator from this page or download it here directly.

Our makeup class will be on Wednesday afternoon or Thursday afternoon, and of course, we’ll meet on Saturday morning.

Prepare for an exercise on our makeup class, to be followed by lecture, then a short quiz. Make sure you know how an assembly program or code works before coming to class.

O4A Second Quiz

January 2nd, 2010

You can use the Internet and your existing files for this quiz. The only exception is that you may not ask your classmates.

Follow the directions carefully.

  1. Create three files namely : LastName_input.php, LastName_output.php, and LastName_style.css (replace LastName with your last name).
  2. Get 6 pictures from the Internet — 3 pictures of a Male Person (young, adult, and very old) and 3 pictures/images of a Female Person (young, adult, and very old). If you can, choose small images with small file sizes (less than 100KB). Rename the images in your own convention. You may choose two persons for male and female, or different persons per picture. It depends on your Google skills.
  3. Now, design your first website. Invent your own website title.
  4. First, your website should ask the user 3 information – Name, Age, and Gender.
  5. Upon clicking “Submit”, your user is redirected to another page, with the input name shown somewhere. If the user has inputted Male as their gender, the page should display a picture of a man. What the man looks like depend on his age.
    Young is between 0 and 14
    Adult is between 15 and 39
    Old is between 40 and infinity
    The same age rule applies for the woman.
  6. Requirements: Both input and output pages should have corresponding titles and/or headers. Other elements that can make your website look pleasing is a plus. Be creative with your titles and the other elements of your website.
  7. As you have guessed, you can use the CSS file to style the look of your website. Both php files should use the same CSS file.
  8. After you are done, zip the three files and 6 images into one file, with the filename LastName_O4AQuiz2.zip. Send it to rommel.cantos@dlsl.edu.ph with the subject “O4A Quiz 2″

Allowed Time : 2 hours
Grading System :
- 8 points Input File
- 12 points Output File
- 5 points Style

Congrats! You have just submitted your very first website.

O4A CSS Sample

December 16th, 2009

1. Create a file index.php

<html>
<body>

<link rel=”stylesheet” type=”text/css” href=”style.css” media=”screen” />

<div id=”wrapper”>

 <div id=”page”>

  <div id=”header”>
   <h1>I am but a fool.</h1>

   <p>I didn’t know PHP is this easy.</p>
  </div>

 </div>
</div>
</body>
</html>
2. Create another file style.css

<style type=”text/css”>

body  {
 color:#333;
 background:#EEE;
 text-align:center;
}

h1 {
 color:#222;
}

#wrapper {       
 margin: 0 auto;
 width: 960px;
 text-align:left;
}

#page {
 width: 960px;
 background-color: #DDD;
 margin: 1px auto;
 border: 2px solid #00CC00;
}

#header {
 padding: 10px;
}

</style>

T4A ECEELEC Quiz 1

December 11th, 2009

Right click the link below and then “Save as..” Rename it as your “Last Name, First Name.doc”. Submit before 10:30AM today. Late submissions will not be accepted.

Download Quiz 1

First Quiz – O4A

December 2nd, 2009

Click here to go to the Test Form.

1. If you can, bring old rechargeable AA batteries next week.

2. Assignment, read the Rest of the Basic Tutorial for PHP.

3. Classroom next week will be announced thru email.

Nov 28 Seatwork for T4A

November 27th, 2009

1. Fill-up the student information sheet by first clicking on the link below. Do this before 8:30 am today. This will serve as the attendance sheet. Answer all fields as necessary.
T4A Student Information Sheet

2. Make a 2 page .DOC technical report (Arial, single spaced, font size 11) answering the ff. questions. Submission is thru e-mail at rommel.cantos@dlsl.edu.ph. Deadline : Today, Nov 28, 11 AM

Send the e-mail using your DLSL E-mail Accounts.

Question 1: What is Computer Architecture? How is it relevant to ECE Students like you?

Question 2: What are the Logic Gate operations that you know? Give all with a description of the output.

Question 3: Give the basic parts of a CPU. What is an instruction set? What is addressing?

Remember : No copy-pasting from the Internet. You can do research from the library. Work on your own, and please submit before 11AM today.

DLSL E-Mails and Attendance for Today

November 18th, 2009

Attendance Form

Assigment for November 25

Hi O4A,

As you know, PHP is a server-side scripting language. This means your PHP codes will not work on your local computer as-is. You need an emulator that you can run on your laptop or desktop to “emulate” the web server. One of these emulators is call xampp.

1) Go to the Xampp website, download, install and run it on your laptop or desktop at home. Make sure you know how to install and run XAMPP next week in class.

http://www.apachefriends.org/en/xampp.html

2) We only meet one day a week, so I need you to be prepared with every class. For our discussion next week, try to practice the simple PHP codes on the w3c website ( http://www.w3schools.com/PHP/DEfaULT.asP ). Remember, you need to run XAMPP first before accessing your PHP files from the browser.

3) Also, be ready with our first graded seatwork/exercise.
Sources:

http://en.wikipedia.org/wiki/PHP

http://phpwiki.sourceforge.net/

Thanks,
Rommel Cantos

04A – COMPROG5 – Web Design and Programming

September 16th, 2009

Instructor : Engr. Rommel Cantos
CS/ECE Department, De La Salle Lipa

Please click on the link and fill out all necessary info.

Student Information Sheet

Flowgram/Web 2

March 19th, 2009

If you want to have the internetin one page, go to flowgram.com.