Download presentation
Presentation is loading. Please wait.
Published byLewis Webb Modified over 9 years ago
1
Accenture Delivery Fundamentals 2.0: Java Week 1 Close and Quiz Bowl
ADF Java 2.0: Week 1 Close Faculty Notes: This deck consists of: A brief recap of Week One. A preview of Week Two. The Week One Quizbowl. Participant Notes: N/A Accenture Delivery Fundamentals 2.0: Java Week 1 Close and Quiz Bowl Copyright © Accenture 2012
2
ADF Java 2.0: Week 1 Close Week One Recap (1 of 12) Module 2: Object-Oriented Concepts and Unified Modeling Language In this module we looked at the principles behind the Object-Oriented Methods and their application throughout various phases of the Software Development Life Cycle (SDLC). Faculty Notes: Recap the key modules of Week One with the participants. Participant Notes: N/A 2 Copyright © Accenture 2012
3
ADF Java 2.0: Week 1 Close Week One Recap (2 of 12) Module 3: Introduction to ADS/ADM and Software Analysis, Design and Build Overview In Module Three we explored the Accenture Delivery Suite (ADS), Accenture Delivery Methods (ADM), and the Software Development Life Cycle (SDLC), a step-by-step process followed during systems analysis/design and other stages of Software Development. Faculty Notes: Recap the key modules of Week One with the participants. Participant Notes: N/A 3 Copyright © Accenture 2012
4
ADF Java 2.0: Week 1 Close Week One Recap (3 of 12) Module 4: Programming Languages, Levels and Paradigms In Module Four we took our first look at programming language concepts and terminology including: The advantages of high level programming languages. The differences between compiled and interpreted programming languages. The concepts of Physical Machine and Virtual Machine. Procedural and object-oriented programming paradigms. Faculty Notes: Recap the key modules of Week One with the participants. Participant Notes: N/A 4 Copyright © Accenture 2012
5
ADF Java 2.0: Week 1 Close Week One Recap (4 of 12) Module 5: Software Development Environment and Tools In Module Five we took an overview of the basic tools and the process for the compilation and execution of Java and Web-based programming using Java. We also learned about the Accenture Foundation Platform for Java and set up our development environment. Faculty Notes: Recap the key modules of Week One with the participants. Participant Notes: N/A 5 Copyright © Accenture 2012
6
ADF Java 2.0: Week 1 Close Week One Recap (5 of 12) Module 6: Java Programming Language In this module we focused on the procedural aspects of the Java language. We started with some basic programming concepts and worked towards increasingly complex constructs. Faculty Notes: Recap the key modules of Week One with the participants. Participant Notes: N/A 6 Copyright © Accenture 2012
7
ADF Java 2.0: Week 1 Close Week One Recap (6 of 12) Module 7: Error Handling and Assertions In Module Seven we discussed how errors occur in Java programs, what mechanisms can be introduced to resolve them and how assertions can be used to build more robust code. Faculty Notes: Recap the key modules of Week One with the participants. Participant Notes: N/A 7 Copyright © Accenture 2012
8
ADF Java 2.0: Week 1 Close Week One Recap (7 of 12) Module 8: Reuse Procedural Programming Paradigm In Module Eight we examined the connection between procedural programming concepts and the Java language. We focused on abstract data types, their implementation, and algorithms for searching and sorting data within the structures. Faculty Notes: Recap the key modules of Week One with the participants. Participant Notes: N/A 8 Copyright © Accenture 2012
9
ADF Java 2.0: Week 1 Close Week One Recap (8 of 12) Module 9: Java Programming: Classes and Objects In this module we investigated classes and objects and the basics of Java language. Remember that a class is a template for an object, and we create instances of individual objects. Faculty Notes: Recap the key modules of Week One with the participants. Participant Notes: N/A 9 Copyright © Accenture 2012
10
ADF Java 2.0: Week 1 Close Week One Recap (9 of 12) Module 10: Java Programming: Inheritance In this module we explored the concept of Inheritance which defines a hierarchical parent/child relationship between classes. Inheritance allows you to extend an existing class to make a more specialized class. Faculty Notes: Recap the key modules of Week One with the participants. Participant Notes: N/A 10 Copyright © Accenture 2012
11
ADF Java 2.0: Week 1 Close Week One Recap (10 of 12) Module 11: Java Programming: Polymorphism In Module Eleven we investigated Polymorphism, the ability of methods to behave differently based upon their context. It helps the programmer to have multiple implementations for one interface. Faculty Notes: Recap the key modules of Week One with the participants. Participant Notes: N/A 11 Copyright © Accenture 2012
12
ADF Java 2.0: Week 1 Close Week One Recap (11 of 12) Module 12: Java Programming: Collections In this module we looked at Collections. Collections are objects that group together multiple elements into a single unit, implementing different storage, retrieval, and navigation behaviors. Faculty Notes: Recap the key modules of Week One with the participants. Participant Notes: N/A 12 Copyright © Accenture 2012
13
ADF Java 2.0: Week 1 Close Week One Recap (12 of 12) Module 13: Java Programming: Exception Handling In Module Thirteen we discussed Exception Handling. An exception is an event that happens during program execution preventing the program from continuing normally. Exception handling is the way we manage those conditions. Faculty Notes: Recap the key modules of Week One with the participants. Participant Notes: N/A 13 Copyright © Accenture 2012
14
ADF Java 2.0: Week 1 Close Week Two Preview (1 of 2) Module 14: Reuse - Java OO Programming Paradigm Module 15: Software Testing Overview Module 16: Unit Testing Module 17: Assembly and Production Testing Module 18: Input/Output Module 19: Database Overview Module 20: JDBC Module 21: Introduction to Elements of Enterprise Application Faculty Notes: Briefly run through the agenda for Week Two with the Participants. Participant Notes: N/A Copyright © Accenture 2012
15
Week Two Preview (2 of 2) Module 22: Enterprise Application Patterns
ADF Java 2.0: Week 1 Close Week Two Preview (2 of 2) Module 22: Enterprise Application Patterns Module 23: Web Based Programming Module 24: Web Based Programming XML and XSLT Module 25: Java EE Overview, Servlets and JSP Module 26: Introduction to Spring Module 27: Spring MVC Faculty Notes: Briefly run through the agenda for Week Two with the Participants. Participant Notes: N/A Copyright © Accenture 2012
16
Questions and Comments
ADF Java 2.0: Week 1 Close Questions and Comments Faculty Notes: Ask the participants if they have any questions or comments. Participant Notes: N/A 14 Copyright © Accenture 2012
17
ADF 2.0: Java: Week 1 Quizbowl
Quiz Bowl Rules Each team takes a turn to select a question. Each question is within one of seven categories and has a value of between 100 and 500 points. Once the question is displayed and read by the Quiz Bowl Host, the team has 10 seconds to confer on the answer and provide the team’s response. The Quiz Bowl Host then reveals the correct answer and announces if the team’s response is correct/incorrect. If the team’s response is correct, the team receives the Quiz Bowl question point value. If the team’s response is incorrect, the team receives 0 points. If the team gets the answer correct they have the option of delivering a brief teach back (for 50 points) to the other teams on the subject of the question. Only one teach back per category. The game ends when all of the questions have been answered. The team with the most Quiz Bowl points wins the game. Faculty will play the role of Quiz Bowl Host. Ruling of the Quiz Bowl Host is final. Copyright © Accenture 2012
18
ADF 2.0: Java: Week 1 Quizbowl
OOAD & UML ADS & ADM Concepts Tools Java Basics Classes & Objects More Java! 100 200 300 400 500 ADF 2.0: Java: Week 1 Quizbowl Faculty Notes: There are seven categories of questions (the columns), the numbers represent the points values for each question. 100 being an easy question, 500 being hard. Clicking on each of the numbers on the screen takes you to a question page. Click anywhere on the slide to reveal the answer. From the answer slide, click anywhere on the screen to return to the game board slide. VERY IMPORTANT: Do not use the arrows on your keyboard to navigate. You will end up giving away questions before they are chosen by the learners. Links to questions you have visited will turn white (so you don’t ask them twice). Participant Notes: N/A Copyright © Accenture 2012
19
ADF 2.0: Java: Week 1 Quiz Bowl
OOAD & UML UML is a standard language for specifying, visualizing, constructing, and documenting the components of systems. Is this statement True or False? Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
20
ADF 2.0: Java: Week 1 Quiz Bowl
OOAD & UML UML is a standard language for specifying, visualizing, constructing, and documenting the components of systems. TRUE Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
21
ADF 2.0: Java: Week 1 Quiz Bowl
OOAD & UML Which of the following are types of UML diagram (choose all that apply)? Deployment Use Case Component Abstract Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
22
ADF 2.0: Java: Week 1 Quiz Bowl
OOAD & UML Which of the following are types of UML diagram (choose all that apply)? Deployment Use Case Component Abstract Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
23
ADF 2.0: Java: Week 1 Quiz Bowl
OOAD & UML There are _ Classes and _ Objects in the model shown below. A ____________ is an object of the class Ford. Ford Blue 2011 Malibu Blue 2010 Taurus Chevy Red 2009 Sierra Vehicle GMC Truck Green 2012 Camaro Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
24
ADF 2.0: Java: Week 1 Quiz Bowl
OOAD & UML There are 5 Classes and 4 Objects in the model shown below. A Prius is an object of the class Ford. Ford Blue 2011 Malibu Blue 2010 Prius Chevron Red 2009 Sierra Vehicle GMC Truck Green 2012 Camaro Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
25
ADF 2.0: Java: Week 1 Quiz Bowl
OOAD & UML Composition, Aggregation, and Generalization are aligned to which key OO concept? Encapsulation Inheritance Association Polymorphism Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
26
ADF 2.0: Java: Week 1 Quiz Bowl
OOAD & UML Composition, Aggregation and Generalization are aligned to which key OO concept? Encapsulation Inheritance Association Polymorphism Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
27
ADF 2.0: Java: Week 1 Quiz Bowl
OOAD & UML Which of the following are the advantages of OOAD over SAD (choose all that apply)? Support for concurrency Improved models for reuse Improved predictability Improved problem domain abstraction Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
28
ADF 2.0: Java: Week 1 Quiz Bowl
OOAD & UML Which of the following are the advantages of OOAD over SAD (choose all that apply)? Support for concurrency Improved models for reuse Improved predictability Improved problem domain abstraction Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
29
ADF 2.0: Java: Week 1 Quiz Bowl
ADS & ADM Which of the following best describes ADM? ADM is a well-known process used by companies all over the world. ADM helps to deliver high-value solutions and services. ADM was created especially for Application Designers. Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
30
ADF 2.0: Java: Week 1 Quiz Bowl
ADS & ADM Which of the following best describes ADM? ADM is a well-known process used by companies all over the world. ADM helps to deliver high-value solutions and services. ADM was created especially for Application Designers. Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
31
ADF 2.0: Java: Week 1 Quiz Bowl
ADS & ADM Each stage in the ADM has a complimentary verification/validation phase in V-Model. Is this statement True or False? Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
32
ADF 2.0: Java: Week 1 Quiz Bowl
ADS & ADM Each stage in the ADM has a complimentary verification/validation phase in V-Model. TRUE Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
33
ADF 2.0: Java: Week 1 Quiz Bowl
ADS & ADM Within the Custom Development Methods the horizontal bars within a project are known as ‘Stages of Work’. Is this statement True or False? Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
34
ADF 2.0: Java: Week 1 Quiz Bowl
ADS & ADM Within the Custom Development Methods the horizontal bars within a project are known as ‘Stages of Work’. The horizontal bars are work streams, defined as a domain or area of work. FALSE Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
35
ADF 2.0: Java: Week 1 Quiz Bowl
ADS & ADM ‘Envision and Architect’ relates to which one of the four major areas covered by ADM? Management Methods Strategy & Planning Methods Implementation Methods Operations Methods Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
36
ADF 2.0: Java: Week 1 Quiz Bowl
ADS & ADM ‘Envision and Architect’ relates to which one of the four major areas covered by ADM? Management Methods Strategy & Planning Methods Implementation Methods Operations Methods Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
37
ADF 2.0: Java: Week 1 Quiz Bowl
ADS & ADM What are the four ADS Components (pick two)? ADS Industrialization and Accenture Tools Metrics and ADA ADM and ADT Application Development System and Knowledge Exchange Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
38
ADF 2.0: Java: Week 1 Quiz Bowl
ADS & ADM What are the four ADS Components (pick two)? ADS Industrialization and Accenture Tools Metrics and ADA ADM and ADT Application Development System and Knowledge Exchange Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
39
ADF 2.0: Java: Week 1 Quiz Bowl
Programming Concepts Rules in a programming language that determine the structure of statements and other constructs are known as the program’s ______. language instructions syntax level Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
40
ADF 2.0: Java: Week 1 Quiz Bowl
Programming Concepts Rules in a programming language that determine the structure of statements and other constructs are known as the program’s ______. language instructions syntax level Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
41
ADF 2.0: Java: Week 1 Quiz Bowl
Programming Concepts High level language programs execute more quickly than programs written in low level languages. Is this statement True or False? Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
42
ADF 2.0: Java: Week 1 Quiz Bowl
Programming Concepts High level language programs execute more quickly than programs written in low level languages. Low level languages execute more quickly than high level language programs but take much longer to write and debug. FALSE Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
43
ADF 2.0: Java: Week 1 Quiz Bowl
Programming Concepts The program that translates high level language code into machine readable code is known as the ____________. code reader compiler assembler bytecode generator Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
44
ADF 2.0: Java: Week 1 Quiz Bowl
Programming Concepts The program that translates high level language code into machine readable code is known as the ____________. code reader compiler assembler bytecode generator Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
45
ADF 2.0: Java: Week 1 Quiz Bowl
Programming Concepts The focus of the procedural paradigm is on the ‘why?’ of the problem solution. Is this statement True or False? Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
46
ADF 2.0: Java: Week 1 Quiz Bowl
Programming Concepts The focus of the procedural paradigm is on the ‘why?’ of the problem solution. The procedural paradigm focuses on how a problem is solved; the step by step process (or procedure). FALSE Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
47
ADF 2.0: Java: Week 1 Quiz Bowl
Programming Concepts Which of the following is an advantage of the declarative paradigm? Control of input manipulation Ease of program debugging Separation of problem solution from problem description All are advantages Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
48
ADF 2.0: Java: Week 1 Quiz Bowl
Programming Concepts Which of the following is an advantage of the declarative paradigm? Control of input manipulation Ease of program debugging Separation of problem solution from problem description All are advantages Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
49
ADF 2.0: Java: Week 1 Quiz Bowl
Tools As Java code becomes more complex, testing the code is a critical part of creating effective, well-designed programs. What tool, shipped with Eclipse, is used for testing Java code? JUnit JDK AFP-J Apache Tomcat Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
50
ADF 2.0: Java: Week 1 Quiz Bowl
Tools As Java code becomes more complex, testing the code is a critical part of creating effective, well-designed programs. What tool, shipped with Eclipse, is used for testing Java code? JUnit JDK AFP-J Apache Tomcat Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
51
ADF 2.0: Java: Week 1 Quiz Bowl
Tools If the user only wants to run a Java application, he or she can separately download only the runtime environment (JRE) which, in turn, contains the virtual machine. Is this statement True or False? Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
52
ADF 2.0: Java: Week 1 Quiz Bowl
Tools If the user only wants to run a Java application, he or she can separately download only the runtime environment (JRE) which, in turn, contains the virtual machine. TRUE Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
53
ADF 2.0: Java: Week 1 Quiz Bowl
Tools Accenture uses _______, a powerful end-to end software development platform that provides ‘architecture in a box’ and reduces the development costs by 10-25%. Eclipse JVM Tomcat AFP-J Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
54
ADF 2.0: Java: Week 1 Quiz Bowl
Tools Accenture uses _______, a powerful end-to end software development platform that provides ‘architecture in a box’ and reduces the development costs by 10-25%. Eclipse JVM Tomcat AFP-J Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
55
ADF 2.0: Java: Week 1 Quiz Bowl
Tools Accenture Foundation Platform for Java safeguards against automation of project configuration. Is this statement True or False? Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
56
ADF 2.0: Java: Week 1 Quiz Bowl
Tools Accenture Foundation Platform for Java safeguards against automation of project configuration. FALSE Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
57
ADF 2.0: Java: Week 1 Quiz Bowl
Tools The Java Compiler (Javac) compiles the Java source code into platform-independent byte code. This byte code can be executed on: any machine where servers exist any machine where the runtime environment exists only machines that do not host a runtime environment only machines that do not host a server environment Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
58
ADF 2.0: Java: Week 1 Quiz Bowl
Tools The Java Compiler (Javac) compiles the Java source code into platform-independent byte code. This byte code can be executed on: any machine where servers exist any machine where the runtime environment exists only machines that do not host a runtime environment only machines that do not host a server environment Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
59
ADF 2.0: Java: Week 1 Quiz Bowl
Java Basics Which of the following are key benefits of the Java programming language (choose all that apply)? Java is procedural. Java is portable. Java is secure. Java runs more efficiently on specific computing platforms. Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
60
ADF 2.0: Java: Week 1 Quiz Bowl
Java Basics Which of the following are key benefits of the Java programming language (choose all that apply)? Java is procedural. Java is portable. Java is secure. Java runs more efficiently on specific computing platforms. Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
61
ADF 2.0: Java: Week 1 Quiz Bowl
Java Basics Is the following expression true or false for int currentMonth = 11? currentMonth > 7 && currentMonth < 12 Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
62
ADF 2.0: Java: Week 1 Quiz Bowl
Java Basics Is the following expression true or false for int currentMonth = 11? currentMonth > 7 && currentMonth < 12 TRUE Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
63
ADF 2.0: Java: Week 1 Quiz Bowl
Java Basics Which one of the following is a correct single dimension array declaration? int{} parkingNumber = [1,2,3]; int[] parkingNumber = {1,2,3}; int() parkingNumber = {1,2,3}; int[] parkingNumber = (1,2,3); Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
64
ADF 2.0: Java: Week 1 Quiz Bowl
Java Basics Which one of the following is a correct single dimension array declaration? int{} parkingNumber = [1,2,3]; int[] parkingNumber = {1,2,3}; int() parkingNumber = {1,2,3}; int[] parkingNumber = (1,2,3); Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
65
ADF 2.0: Java: Week 1 Quiz Bowl
Java Basics Which one of the following statements is true about assertions? Assertions should be used as a replacement for validation logic. Assertion statements detect programming logic errors. Assertion statements are used to detect code syntax errors. Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
66
ADF 2.0: Java: Week 1 Quiz Bowl
Java Basics Which one of the following statements is true about assertions? Assertions should be used as a replacement for validation logic. Assert statements detect programming logic errors. Assert statements are used to detect code syntax errors. Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
67
ADF 2.0: Java: Week 1 Quiz Bowl
Java Basics Which of the following are true regarding variables (choose all that apply)? Variables must be declared before they can be used in a program. Declaration provides a consistent starting value for a variable. Variables are distinct from the data contained in the variables. Variable names are case sensitive. Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
68
ADF 2.0: Java: Week 1 Quiz Bowl
Java Basics Which of the following are true regarding variables (choose all that apply)? Variables must be declared before they can be used in a program. Declaration provides a consistent starting value for a variable. Variables are distinct from the data contained in the variables. Variable names are case sensitive. Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
69
ADF 2.0: Java: Week 1 Quiz Bowl
Classes & Objects Local variables are accessible only to the _________ in which they are declared and they must be ___________ before using them. class, declared method, declared class, initialized method, initialized Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
70
ADF 2.0: Java: Week 1 Quiz Bowl
Classes & Objects Local variables are accessible only to the _________ in which they are declared and they must be ___________ before using them. class, declared method, declared class, initialized method, initialized Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
71
ADF 2.0: Java: Week 1 Quiz Bowl
Classes & Objects Which one of the following statements is correct? Methods of a class are shared among all the instances of the class. The method code is loaded in the stack part of memory. Each instance of a class maintains a separate copy of methods. It is mandatory to return a value from a method. Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
72
ADF 2.0: Java: Week 1 Quiz Bowl
Classes & Objects Which one of the following statements is correct? Methods of a class are shared among all the instances of the class. The method code is loaded in the stack part of memory. Each instance of a class maintains a separate copy of methods. It is mandatory to return a value from a method. Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
73
ADF 2.0: Java: Week 1 Quiz Bowl
Classes & Objects What do the values stored in member variables determine? How a class can be accessed How a member (variable or method) can be accessed The state/attributes of objects of those classes The directory path Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
74
ADF 2.0: Java: Week 1 Quiz Bowl
Classes & Objects What do the values stored in member variables determine? How a class can be accessed How a member (variable or method) can be accessed The state/attributes of objects of those classes The directory path Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
75
ADF 2.0: Java: Week 1 Quiz Bowl
Classes & Objects Which of the following statements is/are correct (choose all that apply)? Packages are used to group classes based on functionality. A class may belong to more than one package. A package may have more than one class with the same name. The package structure is representative of the directory structure. Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
76
ADF 2.0: Java: Week 1 Quiz Bowl
Classes & Objects Which of the following statements is/are correct (choose all that apply)? Packages are used to group classes based on functionality. A class may belong to more than one package. A package may have more than one class with the same name. The package structure is representative of the directory structure. Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
77
ADF 2.0: Java: Week 1 Quiz Bowl
Classes & Objects Which of the following statements is/are correct (choose all that apply)? Garbage Collection takes place in the stack and heap parts of memory. Garbage Collection takes place only in the heap part of memory. finalize() is executed automatically when the garbage collector removes an object. Calling finalize() is at the discretion of JVM. Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
78
ADF 2.0: Java: Week 1 Quiz Bowl
Classes & Objects Which of the following statements is/are correct (choose all that apply)? Garbage Collection takes place in the stack and heap parts of memory. Garbage Collection takes place only in the heap part of memory. finalize() is executed automatically when the garbage collector removes an object. Calling finalize() is at the discretion of JVM. Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
79
ADF 2.0: Java: Week 1 Quiz Bowl
More Java! Inheritance is a feature in Java that allows you to extend an existing class to make what? A more specialized class A less specialized class A more specialized object A less specialized object Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
80
ADF 2.0: Java: Week 1 Quiz Bowl
More Java! Inheritance is a feature in Java that allows you to extend an existing class to make what? A more specialized class A less specialized class A more specialized object A less specialized object Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
81
ADF 2.0: Java: Week 1 Quiz Bowl
More Java! The ‘super’ keyword allows a subclass to reference a field or a method that belongs to its immediate what? Parent class Child class Subclass Field class Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
82
ADF 2.0: Java: Week 1 Quiz Bowl
More Java! The ‘super’ keyword allows a subclass to reference a field or a method that belongs to its immediate what? Parent class Child class Subclass Field class Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
83
ADF 2.0: Java: Week 1 Quiz Bowl
More Java! Select all the valid declarations for a class. class Car extends Vehicle, Object class Car extends Vehicle, extends Object class Car extends Vehicle class Car extends Vehicle and Object Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
84
ADF 2.0: Java: Week 1 Quiz Bowl
More Java! Select all the valid declarations for a class. class Car extends Vehicle, Object class Car extends Vehicle, extends Object class Car extends Vehicle class Car extends Vehicle and Object Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
85
ADF 2.0: Java: Week 1 Quiz Bowl
More Java! Arrays do not provide the option to store different types of data. For example, unique data, key-value pairs. What is used to overcome these limitations? Open framework Collections framework Closed framework Middle framework Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
86
ADF 2.0: Java: Week 1 Quiz Bowl
More Java! Arrays do not provide the option to store different types of data. For example, unique data, key-value pairs. What is used to overcome these limitations? Open framework Collections framework Closed framework Middle framework Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
87
ADF 2.0: Java: Week 1 Quiz Bowl
More Java! Which two of the following are ways you can handle exceptions: Catch them and write code to take action (using try-catch-finally). Catch them and write code to take shut down (using find-catch-end). Throw them back up in the hierarchy (using throws). Throw them down the hierarchy (using downs). Click anywhere on this slide to reveal the answer. Copyright © Accenture 2012
88
ADF 2.0: Java: Week 1 Quiz Bowl
More Java! Which two of the following are ways you can handle exceptions: Catch them and write code to take action (using try-catch-finally). Catch them and write code to take shut down (using find-catch-end). Throw them back up in the hierarchy (using throws). Throw them down the hierarchy (using downs). Click anywhere on this slide to return to the game board. Copyright © Accenture 2012
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.