INF503 WEEK2 LAB SOLUTIONS

1. CREATE TABLE EMPLOYEE_UC(Ssn VARCHAR(5) NOT NULL PRIMARY KEY,Fname VARCHAR(15) NOT NULL,Minit VARCHAR(15) NOT NULL,Lname VARCHAR(15) NOT NULL,Bdate DATE,Address VARCHAR(30),Gender CHAR,Salary Decimal(10,2),Age INT); 2. CREATE TABLE DEPARTMENT_UC(Dptname VARCHAR(15),Dptnmbr INT NOT NULL PRIMARY KEY,Mgr_ssn CHAR(9),Mgr_start_date DATE,Mgr_last_date DATE,Ssn VARCHAR(5) FOREIGN KEY REFERENCES…

IS5103 WEEK4 LESSON 7 QUIZ

1. Which of the following statements can be inserted in the blank line sothat the code will compile successfully? interface CanHop {}public class Frog implements CanHop {public static void main(String[] args) {_ frog = new TurtleFrog();}}class BrazilianHornedFrog extends Frog {}class…

IS5103 WEEK5 LAB SOLUTIONS

Lesson – 9 1. import java.util.*; import java.util.ArrayList;  import java.util.Collection;  public class Demo{      public static void main(String[] args){          Collection<String> city = new ArrayList<>();         city.add(“Chicago”);         city.add(“Boston”);         city.add(“Austin”);         city.add(“Seattle”);         city.add(“Nashville”);         city.remove(“Austin”); city.remove(“Chicago”); System.out.print(city);    …

IS5103 WEEK 3 QUIZ

Lesson-5      public int add(int x, int y){     int sum = x + y;     return sum; }     public static void main(String args[]){         Addition obj = new Addition();         int sum = obj.add(10, 20);         System.out.println(“The sum of 10 and 20 is ” +…

IS5103 Post Assessment

1.How many of the following lines contain a compiler error?long min1 = 123.0, max1 = 987L;final long min2 = 1_2_3, max2 = 9 _ 8 _ 7;long min3 = 123, int max3 = 987;long min4 = 123L, max4 = 987;long…

GE5103 WEEK5 10 QUIZ

1.You are a team facilitator mentoring a junior team member. You are showing this team member a chart that shows what user stories are yet to start, what has been started, and what has been finished. What chart are you…

IS5103 LESSON 6 QUIZ

1.  Which of the following statements can be inserted in the blank so that  the code will compile successfully? abstract class Snake {} class Cobra extends Snake {} class GardenSnake extends Cobra {} public class SnakeHandler { private Snake snakey; public void setSnake(Snake mySnake) { this.snakey…

GE5103 WEEK5 11QUIZ

1. Match the terms on the left to the scenarios on the right. A). 2. You notice that one of the machines on the production line is working inefficiently and has produced several defects. Some of the defects need to…

IS5403 WEEK3 QUIZ

Other Links: Statistics Quiz Networking Quiz See other websites for quiz: Check on QUIZLET Check on CHEGG