introduction to video game programming (vgp) mr. shultz
TRANSCRIPT
Introduction to Video Game Programming (VGP)
Mr. Shultz
Today’s Bell-Ringer and ObjectivesBell-Ringer1. What is your HCS computer login username?2. How many bytes are there in a Gigabyte?3. How many Gigabytes are there in a Terabyte? Objectives• Given the FBLA web site, TSW correctly identify
the purposes and goals of the student organization with no errors. (BUS6640.030)
Bell-Ringer
1. What is your HCS computer login username?
first letter of first name last name three numbers (usually 001) Example: sshultz001
Bell-Ringer
2. How many bytes are there in a Gigabyte?
1,000,000,000One Billion
Bell-Ringer
3. How many Gigabytes are there in a Terabyte?
1,000 Gigabyte = One Billion Terabyte = One Trillion
Today
Take VGP Pre-Test Part 2 5 minute limit
Computer Math Worksheet Complete Algorithm Lesson Complete “About FBLA”
worksheet
VGP Pre-Test Part 2
Alternate sitting at tables and computers
Do NOT write on instruction sheet Use provided notebook paper 5 minute limit NO TALKING
VGP Pre-Test Part 2
People sitting at computers move back to tables
Everyone hold up your paper Who got it right? Why did some get it wrong?
Computer Math
Prefixes:K = kilo = 1,000 (thousand)M = mega = 1,000,000 (million)G = giga = 1,000,000,000 (billion)T = tera = 1,000,000,000,000
(trillion)
Computer Math
CPU SpeedsMeasured in Hz (hertz)
Means cycles per second
The more cycles it can process, the faster it can run
Computer Math
1a. If a CPU is rated at 500 MHz, how many cycles can it process in a second?
500 times M (1,000,000) =
500,000,000 (500 million)
Computer Math
1b. If a CPU is rated at 1 GHz, how many cycles can it process in a second?
1 times G (1,000,000,000) =
1,000,000,000 (1 billion)
Computer Math
1c. If a CPU is rated at 950 MHz, how many cycles can it process in a second?
950 times M (1,000,000) =
950,000,000 (950 million)
Computer Math
1d. If a CPU is rated at 1.1 GHz, how many cycles can it process in a second?
1.1 times G (1,000,000,000) =
1,100,000,000 (1.1 billion)
Computer Math
1e. Which CPU is faster, one rated at 1.1 GHz, or one rated at 950 MHz?
1.1 GHz = 1,100,000,000950 MHz = 950,000,000
Computer Math
Hard Drive CapacityMeasured in B (bytes)
Means pieces of dataMore bytes on the hard
drive = more data you can store
Computer Math
2a. If a hard drive holds 200 GB, how many pieces of data can it store?
200 times G (1,000,000,000) =
200,000,000,000 (200 billion)
Computer Math
2b. If a hard drive holds 1TB, how many pieces of data can it store?
1 times T (1,000,000,000,000) =
1,000,000,000,000 (1 trillion)
Computer Math
2c. If a hard drive holds 750 GB, how many pieces of data can it store?
750 times G (1,000,000,000) =
750,000,000,000 (750 billion)
Computer Math
2d. You need to have a total of 1TB of storage, and you already have a hard drive that holds 750GB. What is the smallest hard drive you can add and have 1TB of storage?
1TB (1,000,000,000,000) minus750GB (750,000,000,000) =250GB (250,000,000,000)
Algorithm Lesson
What is an Algorithm?An ordered sequenceUnambiguous and well-
defined instructionsPerforms some taskHalts in finite time
Algorithm Lesson
Go to mrshultz.com Click on Algorithm Lesson link Complete the Algorithm
worksheet
FBLA Go to mrshultz.com Click on VGP Click on the FBLA national web
site link Complete “About FBLA”
Worksheet
Click on “About FBLA-PBL”.
Today
Complete Algorithm Lesson Complete “About FBLA”
worksheet
Introduction to Video Game Programming (VGP)
Mr. Shultz