0
0
Intro to Computingfundamentals~10 mins

Tables, rows, and columns concept in Intro to Computing - Draw & Build Visually

Choose your learning style9 modes available
Draw This - beginner

Draw a simple table with 3 columns labeled 'Name', 'Age', and 'City', and 4 rows of data. Fill the rows with example data such as: Alice, 30, New York; Bob, 25, London; Carol, 28, Paris; Dave, 22, Tokyo.

5 minutes
Hint 1
Hint 2
Hint 3
Grading Criteria
Table has 3 columns with correct labels: Name, Age, City
Table has 4 rows of data below the header
Data in rows matches the example given
Table uses clear borders or lines to separate cells
Solution
+-------+-----+----------+
| Name  | Age | City     |
+-------+-----+----------+
| Alice | 30  | New York |
| Bob   | 25  | London   |
| Carol | 28  | Paris    |
| Dave  | 22  | Tokyo    |
+-------+-----+----------+

This table has 3 columns: Name, Age, and City. Each column label is at the top. There are 4 rows below the header row, each with data for one person. Rows run horizontally, so each row shows all the data for one person. Columns run vertically, so each column shows the same type of data for all people.

Think of the table like a spreadsheet or a grid where columns are categories and rows are records.

Variations - 2 Challenges
[intermediate] Draw a table with 4 columns labeled 'Product', 'Price', 'Quantity', and 'Total'. Include 3 rows of data with example values and calculate the 'Total' as Price multiplied by Quantity.
[advanced] Draw a table with 5 columns: 'Student', 'Math', 'Science', 'English', and 'Average'. Fill 4 rows with student names and their scores. Calculate the Average score for each student.