Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a statement that will assign items Daniel 2 3 , Christina 1 9 , Joanne 2 1 , John 1 8

Write a statement that will assign items "Daniel 23", "Christina 19", "Joanne 21","John 18", "Theresa 19","Lyons 21","Wayne 18","Patcia 18","Andre 21","Andrea 19","Henry 21" to list object stdObj of student's names and ages. Write statements to append "Steven 21","Gloria 19" to stdObj. Write a statement that will replace "Patcia 18" with "Patricia 18". Write a statement that will insert "Emily 18" as the first item in stdObj. Use a loop to display individual items of stdObj, one item per line. Write an expression that will check if "Andre 21" is stdObj or not. Assign Bolean value of the expression to a variable isFound. Write a statement that will assign the sort stdObj to stdObjSorted. Write a program that will assign students' names in stdObj to a list object stdNames and the students' ages to stdAges. The program should calculate and display the average age of students.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Server T-SQL Recipes

Authors: David Dye, Jason Brimhall

4th Edition

1484200616, 9781484200612

More Books

Students also viewed these Databases questions

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago