Intro-PHP-HW.docx CSCI 3343 Initials P a g e 1

Size: px
Start display at page:

Download "Intro-PHP-HW.docx CSCI 3343 Initials P a g e 1"

Transcription

1 Intro-PHP-HW.docx CSCI 3343 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize and present your own logical solution to the problem. No lab is complete until the student submits the signed pledge form associated with that lab. I realize that no coded programs will be graded until I turn in the sign & pledge form associated with that program; any late penalties will continue to compound until the pledge form is submitted. If this lab is a team assignment, both team members may share logic as they program side by side on their own computers. Each person must type all of his/her own code as part of the learning process. Team assignments are never to be You do this portion and I ll do that portion or You do this lab and I ll do the next lab. Some of the lab assignments will have short answer questions. These short answer questions will be spot checked and graded for completion, but not checked for accuracy. I encourage you to get into a study group to help each other prepare for exams, quizzes, etc. Once these labs are graded and returned, I encourage you to compare answers with another class member, in your study group, who has also had the lab graded and returned. I/We realize that the penalty for turning in work that is not my own, or assisting others in doing so, can range from an "F" in the class to dismissal from Trinity University. I realize that it is a violation of academic integrity to share any portion of this lab with any person (outside my 3343 team & professor)! Print Name Time Required =. Hrs. Signature (pledged) Print Name Time Required =. Hrs. Signature (pledged) {Initial/Pledge} I have added the links above to my Main-Menu.php page on my Database Server. DB Introduction To PHP Individual/Team Assignment 35 Points Each Team Member Is To Do All Of Their Own Coding/Typing/Testing Each Person Is To Turn In Their Own Copy Of This Lab Either (1) Write Your Solutions With Pencil (or) (2) Download The Word Document, Copy/Paste Solutions, & Print Your Completed Document Slides & Text 1] PHP is now an acronym for _?_. 2] PHP was created by _?_ in Not on exam. 3] PHP is a server-side S_?_ language designed for web development but also used as a general-purpose programming language

2 Intro-PHP-HW.docx CSCI 3343 Initials P a g e 2 4] PHP is a M_?_ ware language that can be used with both the Apache Web Server and The Internet Information Server. 5] List at least two middleware languages. 6] {T/F} PHP is much slower than Perl and CGI alternatives. 7] {T/F} PHP is open source. 8] PHP tag sets begin with _?_ and end with _?_. 9] {T/F} There can be only one PHP tag set in a single document. 10] The extension on all php files ia _?_. 11] Write the php code to assign Dr.Tom Hicks to the variable Name. 12] PHP uses _?_ {static/dynamic} variable typing. 13]?_ ie the special PHP datatype for an unititalized variable. 14] Write the php code to place your name in a comment. 15] PHP variable x contains some value. Write a single line of PHP code which will display the contents of x in the following format: x = whatever 16] PHP statements end with a(n) _?_. 17] PHP uses two different ways to display output. One is print and the other is _?_. 18] PHP uses two different ways to display output. One is echo and the other is _?_. 19] The PHP symbol for concatenation is _?_. 20] Write a line of code which will display the following in the second biggest and boldest code. Use your name. 21] Write a block of PHP code which will fill variables A with 1, B with 0, and C with -4.

3 Intro-PHP-HW.docx CSCI 3343 Initials P a g e ] Create Page Quadratic.php. Create function Quadratic -> include the code below. This may be a simple function that includes not error checking/processing. Your function Quadratic shall be passed arguments A, B, C, Root1, Root2 <H2> Quadratic2 - Author : Dr. Tom Hicks </H2> <?PHP -?- FUNCTION Quadratic $R1 = 0; $R2 = 0; Quadratic (2, 4, -6, $R1, $R2); print ("A = 2 <BR>"); print("b = 4 <BR>"); print("c = -6 <P>"); print("r1 = ". $R1. "<BR>"); print("r2 = ". $R2. "<BR>");?> to render:

4 Intro-PHP-HW.docx CSCI 3343 Initials P a g e 4 29] {T/F} Suppose that, after rendering the code above, we were to display the source code through the web server; we would be able to see the code in function Quadratic. 30] Write the output from the following code. $Type = gettype(15.75); print ($Type); 31] Write the output from the following code. $Type = gettype(true); print ($Type); 32] Write the output from the following code. $X = 5; $X += 3; $X /= 4; print "X = ". $X. "<BR>"; 33] Write the output from the following code. $X *= 17; $X %= 5; print "X = ". $X. "<BR>"; 34-38] Create Page FirstPrime.php. Create Function FirstPrime -> include the code below. Even though the solution would be a bit crude, I would like you to use a brute-force solution comprised by a series of if then else statements! This time we will do some error processing: This function is to explicitly return a string the string will contain "0" if there is no prime. This function will return "INVALID - No must be greater than 0" if the number is less than 0. This function will return "INVALID - No must be less than 30" if the number is greater than 30. Otherwise, this function is to explicitly return a string containing the lowest prime number of $No (Less Than Or Equal To No). <H2> FirstPrime - Author : Dr. Tom Hicks </H2> <?PHP -Place FUNCTION FirstPrime Here print "First Prime <= 2 = ". FirstPrime(2). "<BR>"; print "First Prime <= 3 = ". FirstPrime(3). "<BR>"; print "First Prime <= 11 = ". FirstPrime(11). "<BR>"; print "First Prime <= 15 = ". FirstPrime(15). "<BR>"; print "First Prime <= 25 = ". FirstPrime(25). "<BR>"; print "First Prime <= 35 = ". FirstPrime(35). "<BR>"; print "First Prime <= -1 = ". FirstPrime(-1). "<BR>";?> Rendered (with your name) should be:

5 Intro-PHP-HW.docx CSCI 3343 Initials P a g e 5

6 Intro-PHP-HW.docx CSCI 3343 Initials P a g e ] Write a block of PHP code which will display the first 40 numbers in the sequence 1, 2, 3, 4. ten to a line. You must use a posttest loop. Include one blank between numbers ] Write a block of PHP code which will display 100 random numbers in the range 1-9 ten to a line. You must use a posttest loop. Include one blank between numbers. Begin with the block of code: 43-44] Write a block of PHP code which will display 100 random numbers in the range ten to a line. You must use a posttest loop. Include one blank between numbers. Begin with the block of code:

7 Intro-PHP-HW.docx CSCI 3343 Initials P a g e ] Write a block of PHP code which will display the first 30 numbers in the sequence -2. 1, 4, 7,... eight to a line You must use a posttest loop. Include one blank between numbers. Begin with the block of code: 47-48] Write a block of PHP code which will display the first 30 numbers in the sequence 4, 9, 14, 19,... You must use a posttest loop. Include one blank between numbers ] Look up the PHP command to set the seed of the random number generator srand in the space below, describe what srand does,

8 Intro-PHP-HW.docx CSCI 3343 Initials P a g e ] Create Page RandomNo.php. Create Function RandNo -> include the code below. RandNo will be passed integers Low & High. Explicitly return a random number in the range Low <= X <= High. Explicitly Return "INVALID if Low > High. <H2> RandNo - Author : Dr. Tom Hicks <pre> <?PHP --- function RandNo --- for ($Pos = 1; $Pos <= 100; $Pos ++) { printf ("%5d", RandNo (5,10)); if ($Pos % 10 == 0) print "<BR>"; } print "<P>". RandNo (7,3). "<P>";?> </pre></h2> you should get the output : 55-56] Write a block of PHP code which will display the first 40 numbers in the sequence 1, 2, 3, 4. ten to a line in an 8 character field. You must use a posttest loop. <pre><?php

9 Intro-PHP-HW.docx CSCI 3343 Initials P a g e ] Write a block of PHP code which will display 100 random numbers in the range 1-9 ten to a line in an eight character field. You must use a pretest loop. Use function RandNo. Begin with the block of code: <pre><?php 59-60] Write a block of PHP code which will display 100 random numbers in the range ten to a line in a ten character field. You must use a pretest loop. Begin with the block of code: <pre><?php 61-62] Write a block of PHP code which will display the first 30 numbers in the sequence -2. 1, 4, 7,... eight to a line You must use a pretest loop. Include one blank between numbers. Begin with the block of code: <pre><?php

10 Intro-PHP-HW.docx CSCI 3343 Initials P a g e ] Write a block of PHP code which will display the first 30 numbers in the sequence 4, 9, 14, 19,... You must use a pretest loop. Include one blank between numbers ] Write a block of PHP code which will display the first 40 numbers in the sequence 1, 2, 3, 4. ten to a line. You must use a fixed repetition loop. Include one blank between numbers ] Write a block of PHP code which will display 100 random numbers in the range 1-9 ten to a line. You must use a fixed repetition loop. Include one blank between numbers. Use function RandNo. Begin with the block of code:

11 Intro-PHP-HW.docx CSCI 3343 Initials P a g e ] Write a block of PHP code which will display 100 random numbers in the range ten to a line in a 5 character field. You must use a fixed repetition loop. Use function RandNo. Begin with the block of code: 71-72] Write a block of PHP code which will display the first 30 numbers in the sequence -2. 1, 4, 7,... eight to a line You must use a fixed repetition loop. Include one blank between numbers ] Write a block of PHP code which will display the first 30 numbers in the sequence 4, 9, 14, 19,... You must use a fixed repetition loop. Include one blank between numbers. 75] Write one line of PHP code to create an array, called Faculty, and fill it with Hicks, Myers, Massingill, & Lewis. 76] Write a block of PHP code which will display the number of elements in array Faculty as illustrated below:

12 Intro-PHP-HW.docx CSCI 3343 Initials P a g e ] Write a block of PHP code which contains a for loop which will display the elements of Faculty as illustrated below: 79-80] Write a block of PHP code which contains a foreach loop which will display the elements of Faculty as illustrated below: 81-82] Write the output from the following block of PHP code: $Staff[0] = "Tom"; $Staff[2] = "Dick"; $Staff[1] = "Harry"; foreach ($Staff As $Staffer) print $Staffer. ", "; 83-84] Write the output from the following block of PHP code: $Staff[0] = "Tom"; $Staff[2] = "Dick"; $Staff[1] = "Harry"; for ($pos = 0; $pos < count($staff); $pos ++) print $Staff[$pos]. ", "; 85-86] Write the output from the following block of PHP code: $Nos = Array(3, 4, 8, 1, 2, 7, 6, 5); ASort($Nos); foreach ($Nos As $No) print $No. ", ";

13 Intro-PHP-HW.docx CSCI 3343 Initials P a g e ] Write the output from the following block of PHP code: $Folks = Array("Jane", "Ann", "Tony", "Jill", "Karen"); ASort($Folks); foreach ($Folks As $Folk) print $Folk. ", "; Video & Internet #7 5 Points SQL Basic Select Statement (10 Min) 1] Watch the video above. 2] Write a query that will display the name of the student and the major for which they apply. Display them alphabetically by sname. 3] Write a query that will display the name of the sid, sname, GPA, cname, and enrollment for all students. Display them alphabetically by sname.

14 Intro-PHP-HW.docx CSCI 3343 Initials P a g e 14 Video & Internet #8 3 Points SQL Null Values (4 Min) 1] Watch the video above. 2] Why does the query SELECT sid, sname, GPA FROM Student WHERE (GPA > 3.5) OR (GPA <= 3.5) Not get all of the students in the database? Don't get Kevin or Laurie. 3] What could you add to the query, above, to get all folks? SELECT sid, sname, GPA FROM Student WHERE (GPA > 3.5) OR (GPA <= 3.5) OR 4] When a query includes SELECT count(gpa), those with NULL GPA's _?_ {Would/Would Not} be included. What To Turn In 1] All pages of this lab with questions completed No Lab Is Complete Until Both Are Complete ] You sign & submit the Pledge form at the top of this lab!. No Lab Will Be Considered Complete until this is done. Late penalties will continue to accrue until the pledge form is submitted. a) Sign & Pledge b) Record the amount of time you think you spent on this lab c) Staple all pages of this lab. Fold in half length-wise (like a hot-dog). Put your name on the outside. Place it on the professor desk before the beginning of lecture on the day it is due. The penalty for late homework will not exceed 25% off per day. d) Short answer questions must be hand written, unless the professor has granted an exception for physical reasons. 2] Place all programming code associated with this program, if any, in the Professor s Code Drop Box or on the Virtual System as directed. I do not accept programs by mail; do not submit labs via !

15 Intro-PHP-HW.docx CSCI 3343 Initials P a g e 15

Intro To HTML & Web & Relational Queries Individual Assignment 30 Points

Intro To HTML & Web & Relational Queries Individual Assignment 30 Points If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize and present your own logical solution to the

More information

Chapter 11-B Homework ScalaFX & Eclipse Individual Assignment 25 Points

Chapter 11-B Homework ScalaFX & Eclipse Individual Assignment 25 Points If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize and present your own logical solution to the

More information

Server 2 - MySQL #1 Lab

Server 2 - MySQL #1 Lab Server-Configuration-2-MySQL-1-HW.docx CSCI 2320 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax,

More information

DB-Queries-1 - REVIEW Individual 20 Points

DB-Queries-1 - REVIEW Individual 20 Points DB-Queries-1.docx CSCI 2320 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize

More information

Server-Configuration-2-MySQL-1-HW.docx CSCI 3343 Initials P a g e 1

Server-Configuration-2-MySQL-1-HW.docx CSCI 3343 Initials P a g e 1 Server-Configuration-2-MySQL-1-HW.docx CSCI 3343 Initials P a g e 1 The short answer questions will be spot checked and graded for completion, but not checked for accuracy. I encourage you to form a study

More information

PCS1-Ch-3B-Basic-Loops-HW CSCI 1320 Initials P a g e 1

PCS1-Ch-3B-Basic-Loops-HW CSCI 1320 Initials P a g e 1 PCS1-Ch-3B-Basic-Loops-HW CSCI 1320 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must

More information

Chapter 11-D Homework ScalaFX & Eclipse Individual Assignment 10 Points

Chapter 11-D Homework ScalaFX & Eclipse Individual Assignment 10 Points If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize and present your own logical solution to the

More information

OOP- 5 Stacks Individual Assignment 35 Points

OOP- 5 Stacks Individual Assignment 35 Points OOP-5-Stacks-HW.docx CSCI 2320 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize

More information

Chapter 4C Homework Functions III Individual Assignment 30 Points Questions 6 Points Script 24 Points

Chapter 4C Homework Functions III Individual Assignment 30 Points Questions 6 Points Script 24 Points PCS1-Ch-4C-Functions-3-HW.docx CSCI 1320 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but

More information

OOP- 4 Templates & Memory Management Print Only Pages 1-5 Individual Assignment Answers To Questions 10 Points - Program 15 Points

OOP- 4 Templates & Memory Management Print Only Pages 1-5 Individual Assignment Answers To Questions 10 Points - Program 15 Points OOP-4-Templates-Memory-Management-HW.docx CSCI 2320 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax,

More information

OOP-15-AVL Final Project-1-HW Individual Assignment 70 Points

OOP-15-AVL Final Project-1-HW Individual Assignment 70 Points OOP-15-AVL Final Project-1-HW.docx CSCI 2320 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax,

More information

Design Relationships, Indexes, Queries, & More (Individual/Team Of 2) Assignment 20 USE PENCIL

Design Relationships, Indexes, Queries, & More (Individual/Team Of 2) Assignment 20 USE PENCIL Relationships-1-HW.docx CSCI 3321 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must

More information

OOP-8-DLList-1-HW.docx CSCI 2320 Initials Page 1

OOP-8-DLList-1-HW.docx CSCI 2320 Initials Page 1 OOP-8-DLList-1-HW.docx CSCI 2320 Initials Page 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize

More information

OOP-10 BTree & B+Tree Individual Assignment 15 Points

OOP-10 BTree & B+Tree Individual Assignment 15 Points OOP-10-B+Tree-HW CSCI 2320 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize

More information

OOP- 6 Direct Access Files & Software Engineering Individual Assignment

OOP- 6 Direct Access Files & Software Engineering Individual Assignment OOP-6-DA-Files-SE-HW.docx CSCI 2320 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must

More information

Business Router II Lab

Business Router II Lab Business-Router-1-Lab.doc 1 CSCI 3342 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize and

More information

Cisco Switch Lab II (1-3 Persons) Individual/Team Lab 35 Points

Cisco Switch Lab II (1-3 Persons) Individual/Team Lab 35 Points All of the work in this project is my own! I have not left copies of my code in public folders on university computers. I have not given any of this project to others. I will not give any portion of this

More information

Clean Up Team Lab 10 Points. Cisco Switch Lab I Individual Lab 25 Points

Clean Up Team Lab 10 Points. Cisco Switch Lab I Individual Lab 25 Points All of the work in this project is my own! I have not left copies of my code in public folders on university computers. I have not given any of this project to others. I will not give any portion of this

More information

Linux Command Homework Individual/Team (1-2 Persons) Homework Assignment Turn In One Copy Per Person 5 Points

Linux Command Homework Individual/Team (1-2 Persons) Homework Assignment Turn In One Copy Per Person 5 Points All of the work in this project is my own! I have not left copies of my code in public folders on university computers. I have not given any of this project to others. I will not give any portion of this

More information

OOP-1-Review-HW-(Part B).docx CSCI 2320 Initials P a g e 1. Print Name Time Required =. Hrs. Signature (pledged) Static Array Review

OOP-1-Review-HW-(Part B).docx CSCI 2320 Initials P a g e 1. Print Name Time Required =. Hrs. Signature (pledged) Static Array Review OOP-1-Review-HW-(Part B).docx CSCI 2320 Initials P a g e 1 Print Name Time Required =. Hrs. Signature (pledged) Static Array Review 1] Write the line of C/C++ code to create an array, called Nos1, which

More information

Function Terminology

Function Terminology OOP-1-Review-HW-(Part C).docx CSCI 2320 Initials P a g e 1 Print Name Time Required =. Hrs. Signature (pledged) Function Terminology 1] A C_?_ is a Value that cannot be altered by the program during normal

More information

Simple Router Configuration Router Lab 10 Points Networking & Data Communications

Simple Router Configuration Router Lab 10 Points Networking & Data Communications DCN-Router-Configuration-HW.doc 1 CSCI 3342 You must do at least 90% of this homework without the assistance of anyone else. Once you have 90% or more of the homework completed, you may double check your

More information

Big Data NoSQL Databases Individual Assignment 20 Points

Big Data NoSQL Databases Individual Assignment 20 Points If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize and present your own logical solution to the

More information

PHP & MySQL Database. Database Systems CSCI Dr. Tom Hicks Computer Science Department

PHP & MySQL Database. Database Systems CSCI Dr. Tom Hicks Computer Science Department PHP & MySQL Database Database Systems CSCI-3343 Dr. Tom Hicks Computer Science Department 1 WWW Organization It Is A Good Idea To Create A Folder For Each Web Page Place Most Items, On Page, In That Folder!

More information

NoSQL Databases & Big Data Individual Assignment 50 Points

NoSQL Databases & Big Data Individual Assignment 50 Points If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize and present your own logical solution to the

More information

The American University in Cairo Computer Science & Engineering Department CSCE Dr. KHALIL Exam II Spring 2010

The American University in Cairo Computer Science & Engineering Department CSCE Dr. KHALIL Exam II Spring 2010 The American University in Cairo Computer Science & Engineering Department CSCE 106-08 Dr. KHALIL Exam II Spring 2010 Last Name :... ID:... First Name:... Form - I EXAMINATION INSTRUCTIONS * Do not turn

More information

Lecture 12. PHP. cp476 PHP

Lecture 12. PHP. cp476 PHP Lecture 12. PHP 1. Origins of PHP 2. Overview of PHP 3. General Syntactic Characteristics 4. Primitives, Operations, and Expressions 5. Control Statements 6. Arrays 7. User-Defined Functions 8. Objects

More information

Score. 1 (10) 2 (10) 3 (8) 4 (13) 5 (9) Total (50)

Score. 1 (10) 2 (10) 3 (8) 4 (13) 5 (9) Total (50) Student number: Signature: UNIVERSITY OF VICTORIA Faculty of Engineering Department of Computer Science CSC 370 (Database Systems) Instructor: Daniel M. German Midterm 18 June 2003 Duration: 75 minutes

More information

Database Programming - Section 16. Instructor Guide

Database Programming - Section 16. Instructor Guide Database Programming - Section 16 Instructor Guide Table of Contents...1 Lesson 1 - Final Exam Preparation...1 What Will I Learn?...2 Why Learn It?...3 Tell Me / Show Me...4 Try It / Solve It...5 Lesson

More information

B. V. Patel Institute of BMC & IT 2014

B. V. Patel Institute of BMC & IT 2014 Unit 1: Introduction Short Questions: 1. What are the rules for writing PHP code block? 2. Explain comments in your program. What is the purpose of comments in your program. 3. How to declare and use constants

More information

Chapter 4 Homework Individual/Team (1-2 Persons) Assignment 15 Points

Chapter 4 Homework Individual/Team (1-2 Persons) Assignment 15 Points All of the work in this project is my own! I have not left copies of my code in public folders on university computers. I have not given any of this project to others. I will not give any portion of this

More information

Department of Electrical Engineering and Computer Sciences Fall 2000 Instructor: Dan Garcia CS 3 Final Exam

Department of Electrical Engineering and Computer Sciences Fall 2000 Instructor: Dan Garcia CS 3 Final Exam University of California, Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences Fall 2000 Instructor: Dan Garcia 2000-12-15 CS 3 Final Exam Last name First name SID

More information

INFS 2150 (Section A) Fall 2018

INFS 2150 (Section A) Fall 2018 INFS 2150 (Section A) Fall 2018 Introduction to Web Development Class meets TUE & THU: 12:30am-1:45pm: in Wheatley 114 Instructor: Peter Y. Wu Office: Wheatley 309 Office Hours: Tuesday 9:00 am-12:00 noon;

More information

KOMAR UNIVERSITY OF SCIENCE AND TECHNOLOGY (KUST)

KOMAR UNIVERSITY OF SCIENCE AND TECHNOLOGY (KUST) Programming Concepts & Algorithms Course Syllabus Course Title Course Code Computer Department Pre-requisites Course Code Course Instructor Programming Concepts & Algorithms + lab CPE 405C Computer Department

More information

Remaining Enhanced Labs

Remaining Enhanced Labs Here are some announcements regarding the end of the semester, and the specifications for the last Enhanced Labs. Don t forget that you need to take the Common Final Examination on Saturday, May 5, from

More information

BCIS 3630 Dr. GUYNES FALL 2014 MONDAY SECTION

BCIS 3630 Dr. GUYNES FALL 2014 MONDAY SECTION GUYNES s CLASS RULES During the lecture portion of the class [the first 2 hours], all laptops, all cellphones, all Ipads, all PDAs, etc. must be turned off and put away. They cannot be on the desktop,

More information

1 (10) 2 (8) 3 (12) 4 (14) 5 (6) Total (50)

1 (10) 2 (8) 3 (12) 4 (14) 5 (6) Total (50) Student number: Signature: UNIVERSITY OF VICTORIA Faculty of Engineering Department of Computer Science CSC 370 (Database Systems) Instructor: Daniel M. German Midterm Oct 21, 2004 Duration: 60 minutes

More information

B. V. Patel Institute of Business Management, Computer and Information Technology

B. V. Patel Institute of Business Management, Computer and Information Technology Composition of CIE for Theory: B.C.A (5 th Semester) 030010501- Basics of Web Development using ASP.NET Assessment Policy Assessment Code Assessment Type Duration of each Occurrence Each of marks Weightage

More information

CS157a Fall 2018 Sec3 Home Page/Syllabus

CS157a Fall 2018 Sec3 Home Page/Syllabus CS157a Fall 2018 Sec3 Home Page/Syllabus Introduction to Database Management Systems Instructor: Chris Pollett Office: MH 214 Phone Number: (408) 924 5145 Email: chris@pollett.org Office Hours: MW 4:30-5:45pm

More information

Lecture 7 Tao Wang 1

Lecture 7 Tao Wang 1 Lecture 7 Tao Wang 1 Objectives In this chapter, you will learn about: Interactive loop break and continue do-while for loop Common programming errors Scientists, Third Edition 2 while Loops while statement

More information

CSCI 6312 Advanced Internet Programming

CSCI 6312 Advanced Internet Programming CSCI 6312 Advanced Internet Programming Section 01, Spring 2018, W, 5:55pm - 8:25pm Instructor: Emmett Tomai Office: ENGR 3.2100 Phone: 665-7229 Email: emmett.tomai@utrgv.edu Office hours: W 1 3pm, TR

More information

CS 3030 Scripting Languages Syllabus

CS 3030 Scripting Languages Syllabus General Information CS 3030 Scripting Languages Semester: Summer 2013 Textbook: Location: Instructor Info: Website: None. We will use freely available resources from the Internet. Online Ted Cowan tedcowan@weber.edu

More information

You must pass the final exam to pass the course.

You must pass the final exam to pass the course. Computer Science Technology Department Houston Community College System Department Website: http://csci.hccs.cc.tx.us CRN: 46876 978-1-4239-0146-4 1-4239-0146-0 Semester: Fall 2010 Campus and Room: Stafford

More information

Question Possible Points Earned Points Graded By GUI 22 SQL 24 XML 20 Multiple Choice 14 Total Points 80

Question Possible Points Earned Points Graded By GUI 22 SQL 24 XML 20 Multiple Choice 14 Total Points 80 CS 1803 Spring 2011 Exam 3 KEY Name: Section: Grading TA: Integrity: By taking this exam, you pledge that this is your work and you have neither given nor received inappropriate help during the taking

More information

CS Final Exam Review Suggestions - Spring 2018

CS Final Exam Review Suggestions - Spring 2018 CS 328 - Final Exam Review Suggestions p. 1 CS 328 - Final Exam Review Suggestions - Spring 2018 last modified: 2018-05-03 Based on suggestions from Prof. Deb Pires from UCLA: Because of the research-supported

More information

Updated: 2/14/2017 Page 1 of 6

Updated: 2/14/2017 Page 1 of 6 MASTER SYLLABUS 2017-2018 A. Academic Division: Business, Industry, and Technology B. Discipline: Engineering Technology C. Course Number and Title: ENGR1910 Engineering Programming D. Course Coordinator:

More information

Course and Contact Information. Course Description. Course Objectives

Course and Contact Information. Course Description. Course Objectives San Jose State University College of Science Department of Computer Science CS157A, Introduction to Database Management Systems, Sections 1 and 2, Fall2017 Course and Contact Information Instructor: Dr.

More information

CS 374 Fall 2014 Homework 2 Due Tuesday, September 16, 2014 at noon

CS 374 Fall 2014 Homework 2 Due Tuesday, September 16, 2014 at noon CS 374 Fall 2014 Homework 2 Due Tuesday, September 16, 2014 at noon Groups of up to three students may submit common solutions for each problem in this homework and in all future homeworks You are responsible

More information

CPS352 - DATABASE SYSTEMS. Professor: Russell C. Bjork Spring semester, Office: KOSC 242 x4377

CPS352 - DATABASE SYSTEMS. Professor: Russell C. Bjork Spring semester, Office: KOSC 242 x4377 CPS352 - DATABASE SYSTEMS Professor: Russell C. Bjork Spring semester, 2016-2017 Office: KOSC 242 x4377 MWF 3:20-4:20 pm KOSC 126 russell.bjork@gordon.edu Hours: MWF 2:10-3:10 pm; Tu 9:00 am - noon and

More information

Computer Science Department

Computer Science Department California State University, Dominguez Hills Computer Science Department Syllabus CS255 Dynamic Web Programming Dr. Jason Isaac Halasa Office Hours: MW 12:45-2:30 and 3:45-5:30 and by Appointment Office

More information

BIOL 204. Human Anatomy

BIOL 204. Human Anatomy BIOL 204 Human Anatomy Instructor: Ms. Susan Moss, Associate Professor of Biology Office Phone Number: 760-355-5760 Email: susan.moss@imperial.edu Prerequisite Completion of MATH 090 and BIOL 100 or BIOL

More information

Lab Manual. Program Design and File Structures (P): IT-219

Lab Manual. Program Design and File Structures (P): IT-219 Lab Manual Program Design and File Structures (P): IT-219 Lab Instructions Several practicals / programs? Whether an experiment contains one or several practicals /programs One practical / program Lab

More information

Database Systems ( 資料庫系統 ) Practicum in Database Systems ( 資料庫系統實驗 ) 9/20 & 9/21, 2006 Lecture #1

Database Systems ( 資料庫系統 ) Practicum in Database Systems ( 資料庫系統實驗 ) 9/20 & 9/21, 2006 Lecture #1 Database Systems ( 資料庫系統 ) Practicum in Database Systems ( 資料庫系統實驗 ) 9/20 & 9/21, 2006 Lecture #1 1 Course Goals First course in database systems. Main Course (3 units) - Learn Use a relational database

More information

Functions & Memory Maps Review C Programming Language

Functions & Memory Maps Review C Programming Language Functions & Memory Maps Review C Programming Language Data Abstractions CSCI-2320 Dr. Tom Hicks Computer Science Department Constants c 2 What Is A Constant? Constant a Value that cannot be altered by

More information

Course and Contact Information. Course Description. Course Objectives

Course and Contact Information. Course Description. Course Objectives San Jose State University College of Science Department of Computer Science CS157A, Introduction to Database Management Systems, Sections 1 and 2, Fall2016 Course and Contact Information Instructor: Dr.

More information

MWF 9:00-9:50AM & 12:00-12:50PM (ET)

MWF 9:00-9:50AM & 12:00-12:50PM (ET) Department of Mathematics and Computer Science Adelphi University Fall 2013 0145-443-001 Database Management Systems Dr. R. M. Siegfried 214 Post Hall (516)877-4482 siegfrie@adelphi.edu Office Hours Course

More information

CS 2316 Exam 4 Fall 2011

CS 2316 Exam 4 Fall 2011 CS 2316 Exam 4 Fall 2011 Name : Grading TA: Integrity: By taking this exam, you pledge that this is your work and you have neither given nor received inappropriate help during the taking of this exam in

More information

SQL: Part II. Announcements (September 18) Incomplete information. CPS 116 Introduction to Database Systems. Homework #1 due today (11:59pm)

SQL: Part II. Announcements (September 18) Incomplete information. CPS 116 Introduction to Database Systems. Homework #1 due today (11:59pm) SQL: Part II CPS 116 Introduction to Database Systems Announcements (September 18) 2 Homework #1 due today (11:59pm) Submit in class, slide underneath my office door Sample solution available Thursday

More information

Intensive Introduction to Computer Science. Course Overview Programming in Scratch

Intensive Introduction to Computer Science. Course Overview Programming in Scratch Unit 1, Part 1 Intensive Introduction to Computer Science Course Overview Programming in Scratch Computer Science S-111 Harvard University David G. Sullivan, Ph.D. Welcome to CS S-111! Computer science

More information

Architecture Diagrams

Architecture Diagrams Intro To Design 2 Architecture Diagrams Software Engineering CSCI-3321 Dr. Tom Hicks Computer Science Department 1 "Good Design Is Good Design" 2 Select A Team Recorder Take Really Good Notes During Lectures

More information

Rochester Institute of Technology Golisano College of Computing and Information Sciences Department of Information Sciences and Technologies

Rochester Institute of Technology Golisano College of Computing and Information Sciences Department of Information Sciences and Technologies Rochester Institute of Technology Golisano College of Computing and Information Sciences Department of Information Sciences and Technologies 4002-360.01 ~ Introduction to Database & Data Modeling ~ Spring

More information

The American University in Cairo Department of Computer Science & Engineering CSCI &09 Dr. KHALIL Exam-I Fall 2011

The American University in Cairo Department of Computer Science & Engineering CSCI &09 Dr. KHALIL Exam-I Fall 2011 The American University in Cairo Department of Computer Science & Engineering CSCI 106-07&09 Dr. KHALIL Exam-I Fall 2011 Last Name :... ID:... First Name:... Form I Section No.: EXAMINATION INSTRUCTIONS

More information

Welcome to CS61A! Last modified: Thu Jan 23 03:58: CS61A: Lecture #1 1

Welcome to CS61A! Last modified: Thu Jan 23 03:58: CS61A: Lecture #1 1 Welcome to CS61A! This is a course about programming, which is the art and science of constructing artifacts ( programs ) that perform computations or interact with the physical world. To do this, we have

More information

DR B.R.AMBEDKAR UNIVERSITY B.Sc.(Computer Science): III Year THEORY PAPER IV (Elective 4) PHP, MySQL and Apache

DR B.R.AMBEDKAR UNIVERSITY B.Sc.(Computer Science): III Year THEORY PAPER IV (Elective 4) PHP, MySQL and Apache DR B.R.AMBEDKAR UNIVERSITY B.Sc.(Computer Science): III Year THEORY PAPER IV (Elective 4) PHP, MySQL and Apache 90 hrs (3 hrs/ week) Unit-1 : Installing and Configuring MySQL, Apache and PHP 20 hrs Installing

More information

CSCI-1200 Data Structures Spring 2017 Lecture 5 Pointers, Arrays, Pointer Arithmetic

CSCI-1200 Data Structures Spring 2017 Lecture 5 Pointers, Arrays, Pointer Arithmetic CSCI-1200 Data Structures Spring 2017 Lecture 5 Pointers, Arrays, Pointer Arithmetic Announcements Submitty iclicker registration is still open. Even if you already registered on the iclicker website,

More information

IST659 Spring 2016 Huang Syllabus Data Administration Concepts and Database Management

IST659 Spring 2016 Huang Syllabus Data Administration Concepts and Database Management School of Information Studies, Syracuse University IST 659 1 IST659 Spring 2016 Huang Syllabus Data Administration Concepts and Database Management Last Updated November 17th This version overwrites all

More information

ABRIDGED BIOL 204 PM (20042) Human Anatomy. Lecture: Tuesday & Thursday 2:00 3:05 room 2726 Lab/Study Period: Tuesday & Thursday 3:35 6:25 room 2736

ABRIDGED BIOL 204 PM (20042) Human Anatomy. Lecture: Tuesday & Thursday 2:00 3:05 room 2726 Lab/Study Period: Tuesday & Thursday 3:35 6:25 room 2736 ABRIDGED BIOL 204 PM (20042) Human Anatomy Spring 2016 4 Credits Instructor: Ms. Susan Moss, Associate Professor of Biology susan.moss@imperial.edu Lecture: Tuesday & Thursday 2:00 3:05 room 2726 Lab/Study

More information

Read this before starting!

Read this before starting! Portion of test Points possible Written: 60 Code Modification: 20 Debug/Coding: 20 Total: 100 Points missed Points correct Student's Name: East Tennessee State University Department of Computer and Information

More information

CS 241 Data Organization using C

CS 241 Data Organization using C CS 241 Data Organization using C Fall 2018 Instructor Name: Dr. Marie Vasek Contact: Private message me on the course Piazza page. Office: Farris 2120 Office Hours: Tuesday 2-4pm and Thursday 9:30-11am

More information

Central Washington University Department of Computer Science Course Syllabus

Central Washington University Department of Computer Science Course Syllabus Central Washington University Department of Computer Science Course Syllabus CS 110: Programming Fundamentals I December 27, 2015 1 Course Information Course Information Lecture: Mo,Tu,We: 10:00AM - 10:50AM,

More information

CPS352 - DATABASE SYSTEMS. Professor: Russell C. Bjork Spring semester, Office: KOSC 242 x4377

CPS352 - DATABASE SYSTEMS. Professor: Russell C. Bjork Spring semester, Office: KOSC 242 x4377 CATALOG DESCRIPTION: CPS352 - DATABASE SYSTEMS Professor: Russell C. Bjork Spring semester, 2018-2019 Office: KOSC 242 x4377 MWF 11:25-12;25 Jenks 120 russell.bjork@gordon.edu Hours: MWF 2:10-3:10 pm;

More information

CSCI 1100L: Topics in Computing Lab Lab 07: Microsoft Access (Databases) Part I: Movie review database.

CSCI 1100L: Topics in Computing Lab Lab 07: Microsoft Access (Databases) Part I: Movie review database. CSCI 1100L: Topics in Computing Lab Lab 07: Microsoft Access (Databases) Purpose: The purpose of this lab is to introduce you to the basics of creating a database and writing SQL (Structured Query Language)

More information

MGMT 4336 Networks & Data Communication Section D10

MGMT 4336 Networks & Data Communication Section D10 MGMT 4336 Networks & Data Communication Section D10 Course Description/Overview A first course in data communications and networking. Topics include: IP networks and services, comparative network configurations

More information

CSCI 528: OBJECT ORIENTED PROGRAMMING, Fall 2015

CSCI 528: OBJECT ORIENTED PROGRAMMING, Fall 2015 CSCI 528: OBJECT ORIENTED PROGRAMMING, Fall 2015 INSTRUCTOR: Dr. Ray Maleh Adjunct Professor, Department of Computer Science Office: TBD Email: Ray_Maleh@tamuc.edu Office Hours: Mondays 7:10 PM 8:10 PM,

More information

Server Component of the Chat Room Lab

Server Component of the Chat Room Lab Chat Room Server Dr. Tom Hicks - Trinity University Page 1 of 41 Server Component of the Chat Room Lab This lab is designed to show students how they may can do socket programming in a step by step process

More information

HTML Forms & PHP. Database Systems CSCI Dr. Tom Hicks Computer Science Department

HTML Forms & PHP. Database Systems CSCI Dr. Tom Hicks Computer Science Department HTML Forms & PHP Database Systems CSCI-3343 Dr. Tom Hicks Computer Science Department Create Page Faculty-Add.php AddFaculty Page Create page Faculty-Add.php It will be blank for the moment. We are going

More information

SQL - Lecture 3 (Aggregation, etc.)

SQL - Lecture 3 (Aggregation, etc.) SQL - Lecture 3 (Aggregation, etc.) INFS 614 INFS614 1 Example Instances S1 S2 R1 sid bid day 22 101 10/10/96 58 103 11/12/96 sid sname rating age 22 dustin 7 45.0 31 lubber 8 55.5 58 rusty 10 35.0 sid

More information

San José State University Computer Science Department CS157A: Introduction to Database Management Systems Sections 5 and 6, Fall 2015

San José State University Computer Science Department CS157A: Introduction to Database Management Systems Sections 5 and 6, Fall 2015 San José State University Computer Science Department CS157A: Introduction to Database Management Systems Sections 5 and 6, Fall 2015 Course and Contact Information Instructor: Ron Gutman Office Location:

More information

THE TEN COMANDMENTS OF ALGEBRA

THE TEN COMANDMENTS OF ALGEBRA THE TEN COMANDMENTS OF ALGEBRA 1) 2) 3) 4) 5) 6) Thou shall not forget thy pencil. Thou shall practice algebra daily. Thou shall take algebra notes daily. Thou shall participate in algebra activities.

More information

RECOMMENDATION. Don't Write Entire Programs Unless You Want To Spend 3-10 Times As Long Doing Labs! Write 1 Function - Test That Function!

RECOMMENDATION. Don't Write Entire Programs Unless You Want To Spend 3-10 Times As Long Doing Labs! Write 1 Function - Test That Function! 1 RECOMMENDATION Don't Write Entire Programs Unless You Want To Spend 3-10 Times As Long Doing Labs! Write 1 Function - Test That Function! 2 3 Copy Project Folder There will be a number of times when

More information

Announcements. 1. Forms to return today after class:

Announcements. 1. Forms to return today after class: Announcements Handouts (3) to pick up 1. Forms to return today after class: Pretest (take during class later) Laptop information form (fill out during class later) Academic honesty form (must sign) 2.

More information

Your (printed!) Name: CS 1803 Exam 3. Grading TA / Section: Monday, Nov. 22th, 2010

Your (printed!) Name: CS 1803 Exam 3. Grading TA / Section: Monday, Nov. 22th, 2010 Your (printed!) Name: CS 1803 Exam 3 Grading TA / Section: Monday, Nov. 22th, 2010 INTEGRITY: By taking this exam, you pledge that this is your work and you have neither given nor received inappropriate

More information

Introduction to Data Structures

Introduction to Data Structures 15-121 Introduction to Data Structures Lecture #1 Introduction 28 August 2019 Margaret Reid-Miller Today Course Administration Overview of Course A (very basic) Java introduction Course website: www.cs.cmu.edu/~mrmiller/15-121

More information

Announcements (September 18) SQL: Part II. Solution 1. Incomplete information. Solution 3? Solution 2. Homework #1 due today (11:59pm)

Announcements (September 18) SQL: Part II. Solution 1. Incomplete information. Solution 3? Solution 2. Homework #1 due today (11:59pm) Announcements (September 18) 2 SQL: Part II Homework #1 due today (11:59pm) Submit in class, slide underneath my office door Sample solution available Thursday Homework #2 assigned today CPS 116 Introduction

More information

COS 226 Midterm Exam, Spring 2009

COS 226 Midterm Exam, Spring 2009 NAME: login ID: precept: COS 226 Midterm Exam, Spring 2009 This test is 10 questions, weighted as indicated. The exam is closed book, except that you are allowed to use a one page cheatsheet. No calculators

More information

CS 3030 Scripting Languages Syllabus

CS 3030 Scripting Languages Syllabus General Information CS 3030 Scripting Languages Semester: Fall 2017 Textbook: Location: Instructor Info: None. We will use freely available resources from the Internet. Online Ted Cowan tedcowan@weber.edu

More information

IST659 Fall 2018 M004 Class Syllabus. Data Administration Concepts and Database Management

IST659 Fall 2018 M004 Class Syllabus. Data Administration Concepts and Database Management 1 IST659 Fall 2018 M004 Class Syllabus Data Administration Concepts and Instructor Hernando A Hoyos Phone 347-806-0136 Office Heroy Geology Building Rm#113 E-mail hahoyos@syr.edu Office Hours Tue: 5:00pm-7:45pm

More information

EECE.2160: ECE Application Programming Spring 2019

EECE.2160: ECE Application Programming Spring 2019 Course Meetings Section 201: MWF 8-8:50, Kitson 305 Section 202: MWF 12-12:50, Kitson 305 Course Website Main page: http://mjgeiger.github.io/eece2160/sp19/ Schedule: http://mjgeiger.github.io/eece2160/sp19/schedule.htm

More information

CS 6371: Advanced Programming Languages

CS 6371: Advanced Programming Languages CS 6371: Advanced Programming Languages Dr. Kevin Hamlen Spring 2017 Fill out, sign, and return prereq forms: Course number: CS 6371 Section: 1 Prerequisites: CS 5343: Algorithm Analysis & Data Structures

More information

Lecture 2 08/26/15. CMPSC431W: Database Management Systems. Instructor: Yu- San Lin

Lecture 2 08/26/15. CMPSC431W: Database Management Systems. Instructor: Yu- San Lin CMPSC431W: Database Management Systems Lecture 2 08/26/15 Instructor: Yu- San Lin yusan@psu.edu Course Website: hcp://www.cse.psu.edu/~yul189/cmpsc431w Slides based on McGraw- Hill & Dr. Wang- Chien Lee

More information

SYLLABUS. Departmental Syllabus

SYLLABUS. Departmental Syllabus SYLLABUS DATE OF LAST REVIEW: 02/2013 CIP CODE: 11.0901 SEMESTER: COURSE TITLE: COURSE NUMBER: SQL Server CIST-0226 CREDIT HOURS: 4 INSTRUCTOR: OFFICE LOCATION: OFFICE HOURS: TELEPHONE: EMAIL: PREREQUISITE(S):

More information

Relational Algebra for sets Introduction to relational algebra for bags

Relational Algebra for sets Introduction to relational algebra for bags Relational Algebra for sets Introduction to relational algebra for bags Thursday, September 27, 2012 1 1 Terminology for Relational Databases Slide repeated from Lecture 1... Account Number Owner Balance

More information

BRAZOSPORT COLLEGE LAKE JACKSON, TEXAS SYLLABUS COSC 1320: INTRODUCTION TO C++ PROGRAMMING COMPUTER TECHNOLOGY & OFFICE ADMINISTRATION DEPARTMENT

BRAZOSPORT COLLEGE LAKE JACKSON, TEXAS SYLLABUS COSC 1320: INTRODUCTION TO C++ PROGRAMMING COMPUTER TECHNOLOGY & OFFICE ADMINISTRATION DEPARTMENT BRAZOSPORT COLLEGE LAKE JACKSON, TEXAS SYLLABUS COSC 1320: INTRODUCTION TO C++ PROGRAMMING COMPUTER TECHNOLOGY & OFFICE ADMINISTRATION DEPARTMENT CATALOG DESCRIPTION COSC 1320 Introduction to C++ Programming.

More information

Web Development - Fundamentals Academic Year

Web Development - Fundamentals Academic Year School of Business, IT & Management Web Development - Fundamentals 08-9 Academic Year Program BITM-Computer Foundations Certificate BITM-Computer Programmer Analyst Advanced Diploma BITM-Computer Programmer

More information

Hello everyone! Page 1. Your folder should look like this. To start with Run your XAMPP app and start your Apache and MySQL.

Hello everyone! Page 1. Your folder should look like this. To start with Run your XAMPP app and start your Apache and MySQL. Hello everyone! Welcome to our PHP + MySQL (Easy to learn) E.T.L. free online course Hope you have installed your XAMPP? And you have created your forms inside the studio file in the htdocs folder using

More information

Announcements. Relational Model & Algebra. Example. Relational data model. Example. Schema versus instance. Lecture notes

Announcements. Relational Model & Algebra. Example. Relational data model. Example. Schema versus instance. Lecture notes Announcements Relational Model & Algebra CPS 216 Advanced Database Systems Lecture notes Notes version (incomplete) available in the morning on the day of lecture Slides version (complete) available after

More information

CSE 336. Introduction to Programming. for Electronic Commerce. Why You Need CSE336

CSE 336. Introduction to Programming. for Electronic Commerce. Why You Need CSE336 CSE 336 Introduction to Programming for Electronic Commerce Why You Need CSE336 Concepts like bits and bytes, domain names, ISPs, IPAs, RPCs, P2P protocols, infinite loops, and cloud computing are strictly

More information

Course and Contact Information. Catalog Description. Course Objectives

Course and Contact Information. Catalog Description. Course Objectives San Jose State University College of Science Department of Computer Science CS157A, Introduction to Database Management Systems, Sections 1 and 2, Fall2015 Course and Contact Information Instructor: Dr.

More information

Database Programming Project Proposals

Database Programming Project Proposals Database Programming Project Proposals Zhizhang Shen Dept. of Computer Science and Technology Plymouth State University August 15, 2017 Abstract This is PartIII of the lab notes prepared for the students

More information

HTML Forms & PHP & MySQL Database. Database Systems CSCI-3343 Dr. Tom Hicks Computer Science Department

HTML Forms & PHP & MySQL Database. Database Systems CSCI-3343 Dr. Tom Hicks Computer Science Department HTML Forms & PHP & MySQL Database Database Systems CSCI-3343 Dr. Tom Hicks Computer Science Department 1 Import Database University1 with MySQL Workbench 2 It Should Have 3 Tables 3 Create Folders 4 Create

More information