Need Help ?

Home >> Essays >> Other >> CSC680 Database Web Interface Midterm Exam First Name Marcus Last Name Moody ID# 041410203 Email Address m.moody0203@student.nu.edu Table of Contents TOC \o "1-3" \h \z \u How to submit PAGE

CSC680 Database Web Interface Midterm Exam First Name Marcus Last Name Moody ID# 041410203 Email Address m.moody0203@student.nu.edu Table of Contents TOC \o "1-3" \h \z \u How to submit PAGE ...



CSC680 Database Web Interface
Midterm Exam
First Name Marcus
Last Name Moody
ID# 041410203
Email Address m.moody0203@student.nu.edu
Table of Contents
TOC \o "1-3" \h \z \u How to submit PAGEREF _Toc66526401 \h 1P1 – Loop and Table (50 Points) PAGEREF _Toc66526402 \h 2P1 – Part 1 (35 points) PAGEREF _Toc66526403 \h 2P1 – Part 2 (15 points) PAGEREF _Toc66526404 \h 2P2 – Database (15 Points) PAGEREF _Toc66526405 \h 3P2-1 (7 points) PAGEREF _Toc66526406 \h 4P2-2 (4 points) PAGEREF _Toc66526407 \h 4P3-3 (4 points) PAGEREF _Toc66526408 \h 4Problem 3 – (35 Points) PAGEREF _Toc66526409 \h 5Problem 3 - Part 1 (30 Points) PAGEREF _Toc66526410 \h 5Problem 3 - Part 2 (5 Points) PAGEREF _Toc66526411 \h 6
How to submitAfter filling all the parts in this file, please follow the following steps.
Add your name and ID to the first page.
Save the file in the original format (Docx or Doc)
(please do not convert to other file formats e.g. PDF, ZIP, RAR, …).
Rename the file as
YOUR First Name– YOUR Last Name–ID.docx
Example: John-Smith-234566435.docx
Upload and submit your file (only via Blackboard).
Note: For each problem the final result should be shown in the given boxes. 15% of the points for each problem is for showing the final result.
You can use Print Screen, or Snipping Tools in Windows or any other preferred tool/approach to take a screenshot of the final result and paste it into the orange (The run Result) boxes.
P1 – Loop and Table (50 Points)P1 – Part 1 (35 points)Run a loop for 7 iterations starting from 1 and ending at 7 (step size: 1) and print 2n (2 to the power of n) in the following table format.
n 2n
1 2
2 4
3 8
4 16
5 32
6 64
7 128
Hint: You can use pow(a,b) function or a**b operator to calculate ab.
Your PHP Code
-- Copy and paste your PHP code here
Run the code and insert the result in the following box.
The run result
Copy and paste the result here (e.g. the screen shot of the result you get by running the

This is a preview of the full document

Get Full Access
Get Help With Your Essay
Document Details
Word Count: 945
Page Count: 6
Level:AS and A Level
Subject:Other
WhatsApp