Computer Network 04 quiz
1. How is the decimal number 10 represented in hexadecimal? A. A 2. How is the decimal value 10 represented in binary? A. 1010 3. How many bits are present in a MAC address? A. 48 4. How many devices…
1. How is the decimal number 10 represented in hexadecimal? A. A 2. How is the decimal value 10 represented in binary? A. 1010 3. How many bits are present in a MAC address? A. 48 4. How many devices…
1.The __________ approach shifted the emphasis from structure, power, and individualization to individual needs and human relationships.A) human relations 2.Becca’s team spends hours trying to collaborate to come up with a solution to their conflict, and some members even tried…
LAB 1 1) 2) 3) 4) 5) 6) LAB-2 1) 2) 3) 4) 5) LAB-3 1)CREATE INDEX upper_ix ON EMPLOYEE_REC (UPPER(Lname)); 2)SELECT Fname, LnameFROM EMPLOYEE_RECWHERE UPPER(Lname)= “SMITH”; Other Links: Statistics Quiz Networking Quiz See other websites for quiz: Check on…
LAB-1 1. 2SELECT COUNT(DISTINCT Dnumber)FROM EMPLOYEE_REC E, EMPLOYEE_DEPARTMENT DWHERE D.Dnumber = E.Dno and E.Salary > 40000; 3SELECT COUNT(*)FROM EMPLOYEE_RECWHERE EMPLOYEE_REC.Dno NOT IN (SELECT EMPLOYEE_DEPARTMENT.DnumberFROM EMPLOYEE_DEPARTMENTWHERE Zipcode =30332); 4SELECT City FROM EMP_CUSTOMERSINTERSECTSELECT City FROM EMP_SUPPLIERSORDER BY City; LAB-2 1 2 LAB-3…
Lesson – 7 Labs 1. interface Shape{ public void draw(); } class Circle implements Shape{ public void draw(){ System.out.println(“Drawing a circle”); } } class Square implements Shape{ public void draw(){ System.out.println(“Drawing a square”); } } public class Demo{ public static…
1. What is the result of the following code? 1. interface Climb { 2. boolean isTooHigh(int height, int limit); 3. } 4. 5. public class Climber { 6. public static void main(String[] args) { 7. check((h, m) -> h.append(m).isEmpty(), 5); 8. } 9. private static void check(Climb climb, int…
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 ” +…
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…
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…
1. Which of the following can fill in the blank in this code to make it compile? public class Ant { _______ void method() {} } Each correct answer represents a complete solution. Choose all that apply. A) Final Private 2. Which…