Search Header Logo
07-01-Programming Fundamentals

07-01-Programming Fundamentals

Assessment

Presentation

Computers

10th Grade

Medium

Created by

Keith Gage

Used 3+ times

FREE Resource

35 Slides • 30 Questions

1

07-01-Programming Fundamentals

by Keith Gage

2

media

3

media

4

media

5

Open Ended

List as many data types as you can

6

Open Ended

List as many arithmetic operators you can

7

media

8

media

9

media

10

Fill in the Blanks

numberofstudents = numberofstudents+1

What is the data type likely to be?

Type answer...

11

Fill in the Blanks

areaofcircle = 3.142 * radius ^ 2

What is the data type likely to be?

Type answer...

12

Fill in the Blanks

answer = 'Y'

What is the data type likely to be?

Type answer...

13

Fill in the Blanks

studentName = 'Apostolos'

What is the data type likely to be?

Type answer...

14

media

15

media

16

Open Ended

Question image

Name things that are 'constant' in the world

17

media

18

Open Ended

Why would you think about declaring a

variable as a constant?

What is the point?

19

Open Ended

Can a constant ever change?

When can it change if it can?

20

media

21

media

22

media

23

media

24

Fill in the Blanks

weeks = 31 DIV 7

What is weeks equal to?

Type answer...

25

Fill in the Blanks

daysleft = 31 MOD 7

What is the value of daysleft?

Type answer...

26

media

27

media

28

​Task

Complete Task 1 on ​Worksheet 1

Extension

​Once you have completed this, open repl.it and create a program try to use DIV and MOD. Create a quiz to see if the user can guess the result of the calculation above

29

​Programming Task

​Once you have completed this, open repl.it and create a program try to use DIV and MOD. You might create a quiz to see if the user can guess the result of the calculation above

30

media

31

Fill in the Blanks

What command converts a string to an integer?

Type answer...

32

Fill in the Blanks

What command converts a string to a floating point number or a float?

Guess if you don't know

Type answer...

33

Fill in the Blanks

What command converts a integer to an string

Hint: It is only 3 letters long

Type answer...

34

Fill in the Blanks

What command converts an ASCII number to a character?

Hint: It is only 3 letters long

Type answer...

35

media

36

media

37

Open Ended

What does concatenate mean?

38

Open Ended

How do we concatenate the following, so that c

is the concatenation of the two variables

a = "Johnny"

b = "Chenn"

39

media

40

Fill in the Blanks

x = "6" + "3"

What is x?

Type answer...

41

media

42

media

43

Fill in the Blanks

ZooName = "London Zoo"

print(ZooName)

What is displayed?

Type answer...

44

Fill in the Blanks

ZooName = "London Zoo"

print(word.length)

What is displayed?

Type answer...

45

Fill in the Blanks

ZooName = "London Zoo"

print(ZooName.substring(1,4))

What is displayed?

Type answer...

46

Fill in the Blanks

ZooName = "London Zoo"

print(ZooName.left(8))

What is displayed?

Type answer...

47

Fill in the Blanks

ZooName = "London Zoo"

print(ZooName.right(5))

What is displayed?

Type answer...

48

media

49

media

50

media

51

Open Ended

Question image

What is the output from this program?

52

Fill in the Blanks

media image

What does b equal?

Type answer...

53

Fill in the Blanks

media image

What does c equal?

Type answer...

54

media

55

media

56

​Task

Task 2 and 3 from the worksheet

Use PowerPoint where things get more tricky ​

57

​Task

Programming tasks 1 on Teams

58

​Task

Programming tasks 2 on Teams

59

media

60

Open Ended

Enter 5 different data types

61

Open Ended

Enter 4 arithmetic operators

62

Open Ended

Enter 3 functions for casting/conversion

63

Open Ended

Enter 2 functions for integer division and remainder

64

media

65

media
pattern-tertiary

07-01-Programming Fundamentals

by Keith Gage

Show answer

Auto Play

Slide 1 / 65

SLIDE