Showing posts with label Aspire quiz answers. Show all posts
Showing posts with label Aspire quiz answers. Show all posts

Saturday, 2 June 2012

Study materials



Following are the links to enrich urself in UNIX


To learn the basic visit http://www.ida.liu.se/~TDDI05/labs/LXB%20-%20Linux%20Basics.pdf

To learn more about ls output check out, http://en.wikipedia.org/wiki/Ls#Sample_usage

To learn more about pipeline go to http://en.wikipedia.org/wiki/Pipeline_(Unix)

For a Unix Command Sheet ,Check out http://www.tuxfiles.org/linuxhelp/linuxcommands.html

Also Check http://www.pixelbeat.org/cmdline.html


Also refer this http://ebfa7577.linkbucks.com


TRY OUT THESE QUIZZES:
http://networking.ringofsaturn.com/Tools/quizzes.cgi?Action=Take&Quizid=3
http://www.ch.embnet.org/CoursEMBnet/Exercises/Quiz/quix1.html

U can evaluate urself  by doing EXAM in the following section: http://www.cs.wichita.edu/~chang/lecture/cs497c/
http://courses.cs.vt.edu/~cs2204/fall2001/quizzes.html

And to cover Java Basics,  http://greenteapress.com/thinkapjava/thinkapjava.pdf

Friday, 4 May 2012

INTRODUCTION TO JAVA BASICS


Question 1 of 10    10.0 Points
Among the following options, choose the four options that describe the appropriate default values for array elements of the types indicated?

1. int -> 0
2. String -> "null"
3. Dog -> null
4. char -> '\u0000'
5. float -> 0.0f
6.boolean -> true

    A. 1, 2, 3, 4  
   

    B. 2, 4, 5, 6  
   

    C. 3, 4, 5, 6  
   

    D. 1, 3, 4, 5  

Answer Key: D
Feedback: (1), (3), (4), (5) are the correct statements.

(2) is wrong because the default value for a String (and any other object reference) is null, with no quotes.

(6)is wrong because the default value for boolean elements is false.




Question 2 of 10    10.0 Points
Which option among the following lists only Java programming language keywords?

    A. goto, instanceof, native, finally, default, throws  
   

    B. byte, break, assert, switch, include  
   

    C. try, virtual, throw, final, volatile, transient  
   

    D. strictfp, constant, super, implements, do  
   

    E. class, if, void, long, Int, continue  

Answer Key: A
Feedback: All the words in  goto, instanceof, native, finally, default, throws are among the 49 Java keywords. Although goto reserved as a keyword in Java, goto is not used and has no function.

class, if, void, long, Int, continue  is wrong because the keyword for the primitive int starts with a lowercase i.

try, virtual, throw, final, volatile, transient  is wrong because "virtual" is a keyword in C++, but not Java.

strictfp, constant, super, implements, do  is wrong because "constant" is not a keyword. Constants in Java are marked static and final.
byte, break, assert, switch, include  is wrong because "include" is a keyword in C, but not in Java.



Question 3 of 10    10.0 Points
Which of the following options would legally declare, construct, and initialize an array?

    A. int [] myList = {"1", "2", "3"};  
   

    B. int myList [] = {4, 3, 7};  
   

    C. int [] myList = (5, 8, 2);  
   

    D. int myList [] [] = {4,9,7,0};  

Answer Key: B
Feedback: The only legal array declaration and assignment statement is int myList [] = {4, 3, 7};

int [] myList = {"1", "2", "3"};
is wrong because it initializes an int array with String literals.

int [] myList = (5, 8, 2);is wrong because it use something other than curly braces for the initialization.

int myList [] [] = {4,9,7,0};
is wrong because it provides initial values for only one dimension, although the declared array is a two-dimensional array.




Question 4 of 10    10.0 Points
You want subclasses in any package to have access to members of a superclass. Which is the most restrictive access that accomplishes this objective


    A. private  
   

    B. transient  
   

    C. public  
   

    D. protected  

Answer Key: C
Feedback: Access modifiers dictate which classes, not which instances, may access features.

Methods and variables are collectively known as members. Method and variable members are given access control in exactly the same way.

private makes a member accessible only from within its own class

protected makes a member accessible only to classes in the same package or subclass of the class

default access is very similar to protected (make sure you spot the difference) default access makes a member accessible only to classes in the same package.

public means that all other classes regardless of the package that they belong to, can access the member (assuming the class itself is visible)

final makes it impossible to extend a class, when applied to a method it prevents a method from being overridden in a subclass, when applied to a variable it makes it impossible to reinitialise a variable once it has been initialised

abstract declares a method that has not been implemented.

transient indicates that a variable is not part of the persistent state of an object.

volatile indicates that a thread must reconcile its working copy of the field with the master copy every time it accesses the variable.

After examining the above it should be obvious that the access modifier that provides the most restrictions for methods to be accessed from the subclasses of the class from another package is protected. public is also a contender but protected is more restrictive, private would be the answer if the constraint was the "same package" instead of "any package" in other words the subclasses clause in the question eliminates default.






Question 5 of 10    10.0 Points
interface Base
{
boolean m1 ();
byte m2(short s);
}

1.interface Base2 implements Base {}
2.abstract class Class2 extends Base
{ public boolean m1(){ return true; }}
3.abstract class Class2 implements Base {}
4.abstract class Class2 implements Base
{ public boolean m1(){ return (7 > 4); }}
5.abstract class Class2 implements Base
{ protected boolean m1(){ return (5 > 7) }}

    A. 3 and 4  
   

    B. 1 and 5  
   

    C. 1 and 2  
   

    D. 2 and 3  

Answer Key: A
Feedback: 3) is correct because an abstract class doesn't have to implement any or all of its interface's methods. (4) is correct because the method is correctly implemented ((7 > 4) is a boolean).
(1) is incorrect because interfaces don't implement anything. (2) is incorrect because classes don't extend interfaces. (5) is incorrect because interface methods are implicitly public, so the methods being implemented must be public.



Question 6 of 10    10.0 Points
Among the 6 options provided below, which three form part of correct array declarations?

1.public int a [ ]
2.static int [ ] a
3.public [ ] int a
4.private int a [3]
5.private int [3] a [ ]
6.public final int [ ] a

    A. 2, 4, 5  
   

    B. 1, 3, 4  
   

    C. 2, 5, 6  
   

    D. 1, 2, 6  

Answer Key: D
Feedback: (1), (2) and (6) are valid array declarations.

Option (3) is not a correct array declaration. The compiler complains with: illegal start of type. The brackets are in the wrong place. The following would work: public int[ ] a

Option (4) is not a correct array declaration. The compiler complains with: ']' expected. A closing bracket is expected in place of the 3. The following works: private int a []

Option (5) is not a correct array declaration. The compiler complains with 2 errors:

']' expected. A closing bracket is expected in place of the 3 and

<identifier> expected A variable name is expected after a[ ] .




Question 7 of 10    10.0 Points
Which of the following is/are legal method declarations?
1.protected abstract void m1();
2.static final void m1(){}
3.synchronized public final void m1() {}
4.private native void m1();

    A. All of them are legal declarations.  
   

    B. 1 and 3  
   

    C. 2 and 4  
   

    D. 1 only  

Answer Key: A
Feedback: All the given statements are legal declarations.




Question 8 of 10    10.0 Points
Which three among the following are valid method signatures in an interface?

1.private int getArea();
2.public float getVol(float x);
3.public void main(String [] args);
4.public static void main(String [] args);
5.boolean setFlag(Boolean [] test);

    A. 3, 4, and 5  
   

    B. 2 and 4  
   

    C. 1 and 2  
   

    D. 2, 3 and 5  
Answer Key: D
Feedback: (2), (3), and (5). These are all valid interface method signatures.

(1), is incorrect because an interface method must be public; if it is not explicitly declared public it will be made public implicitly. (4) is incorrect because interface methods cannot be static.




Question 9 of 10    10.0 Points
Which option among the following creates an instance of an array?

    A. int[ ] ia = new int[15];  
   

    B. int ia[ ] [ ] = { 4, 5, 6 }, { 1,2,3 };  
   

    C. char[ ] ca = "Some String";  
   

    D. float fa = new float[20];  

Answer Key: A
Feedback: int[ ] ia = new int[15];
is correct. It uses correct array declaration and correct array construction.

float fa = new float[20]; is incorrect. It generates a compiler error: incompatible types because the array variable declaration is not correct. The array construction expects a reference type, but it is supplied with a primitive type in the declaration.

char[ ] ca = "Some String";
is incorrect. It generates a compiler error: incompatible types because a string literal is not assignable to a character type variable.

int ia[ ] [ ] = { 4, 5, 6 }, { 1,2,3 }; is wrong, it generates a compiler error <identifier> expected. The compiler thinks that you are trying to create two arrays because there are two array initialisers to the right of the equals, whereas your intention was to create a 3 x 3 two-dimensional array.



Question 10 of 10    10.0 Points
Which of the following class level (nonlocal) variable declarations will not compile?

    A. volatile int d;  
   

    B. private synchronized int e;  
   

    C. protected int a;  
   

    D. transient int b = 3;  

Answer Key: B
Feedback: private synchronized int e; will not compile; the synchronized modifier applies only to methods.

protected int a; and transient int b = 3; will compile because protected and transient are legal variable modifiers. volatile int d; will compile because volatile is a proper variable modifier.

Thursday, 3 May 2012

SOFTWARE ENGINEERING


Part 1 of 1 -     100.0 Points

Question 1 of 10    10.0 Points
Requirements can be classified in to two types, namely, functional requirements and non-functional requirements

   True

 False

Answer Key: True


Question 2 of 10    10.0 Points
Some examples of non-functional requirements are.

1.Number of significant digits to which accuracy should be maintained in all numerical calculations is 10
2.The response time of the system should always be less than 5 seconds
3.The software should be developed using C language on a UNIX based system
4.The matrix diagonalisation routine should zero out all off-diagonal elements, which are equal to or less than 10-3
5.Experienced officers should be able to use all the system functions after a total training of two hours. After this training, the average number of errors made by experienced officers should not exceed two per day.



     True

 False
Answer Key: True



Question 3 of 10    10.0 Points
Every software system has the following essential characteristics:

        A. It has processes which collaborate with each other to generate the outputs.  
   

    B. All the above  
   

    C. It has a boundary. The boundary separates what is with in system scope and what is outside.  
   

    D. The system may also use data stores to store data which has a life beyond the system.  
   

    E. These processes operate on data by creating, modifying, destroying, and querying it.  
   

    F. It takes inputs from external agents and generates outputs.  
Answer Key: B



Question 4 of 10    10.0 Points
ERD complements DFD. While DFD focuses on data and the relationships between them, ERD focuses on processes and data flow between them
     True

 False

Answer Key: False



Question 5 of 10    10.0 Points
Polymorphism: - It is the means by which an operation behaves differently in different contexts.
     True

 False

Answer Key: True


Question 6 of 10    10.0 Points
Encapsulation: This helps in controlling the visibility of internal details of the objects. It improves security and integrity of data
      True

 False
Answer Key: True


Question 7 of 10    10.0 Points
There are 4 types of Abstraction, namely Entity, Action, Virtual machine & Coincidental.
 True

 False

Answer Key: True


Question 8 of 10    10.0 Points
There can be more than one hash fields on a file.

 True

 False

Answer Key: False



Question 9 of 10    10.0 Points
Concurrency refers to multiple transactions accessing the same database at the same time. In a system which allows concurrency, some kind of control mechanism has to be in place to ensure that concurrent transactions do not interfere with each other.

 True

 False

Answer Key: True



Question 10 of 10    10.0 Points
Software genetic development process contains three genetic phrases namely
    A. Software engineering, Definition, Coding  
   

    B. Definition, development, maintenance  
   

    C. Coding, design, Software engineering  
   

    D. Design, Coding, Development  
   

    E. Development, Definition, Testing  

Answer Key: B

Wednesday, 2 May 2012

KNOW UR TCS


Question 1 of 10     10.0 Points
When and where was TCS founded?
  
    A. 1968, Mumbai     
    
    B. 1954, Mumbai     
    
    C. 1968, Jamshedpur     
    
    D. 1954, Coimbatore     
Answer Key: A
Feedback: The correct answer is 1968, Mumbai. In 1968, TCS was formed as division of TATA Sons. It started as Tata Computer Center. Its main business was to provide computer services to other group companies. An electrical engineer from the Tata Electric Companies, Fakir Chand Kohli, was brought in as the first General Manager. Soon after, the company was named Tata Consultancy Services.TCS is headquartered in Mumbai, and operates in more than 42 countries and has more than 142 offices across the world.








Question 2 of 10     10.0 Points
To how many industries does TCS provides its consultancy?
   
    A. 12     
    
    B. 10     
    
    C. 20     
    
    D. 15    
Answer Key: A
Feedback: The correct answer is 12. 1) Banking and Financial Services 2) Energy, Resources and Utilities 3) Government 4) Healthcare 5) High-tech 6)Insurance 7)Life Sciences 8)Manufacturing 9)Media and Information services 10) Retail and Consumer products 11) Telecom and 12) Travel, transport and hospitality






Question 3 of 10     10.0 Points
What are the values of TCS?
    
    A. Leading Change, Integrity, Responsibility, Excellence, Learning and propelling    
    
    B. Leading innovation, Integrity, Respect for the colleagues, Excellence, Mentoring and Sharing     
    
    C. Leading innovation, Integrity, Courteous, Certainty, Learning and Sharing     
Correct     
    D. Leading Change, Integrity, Respect for individual, Excellence, Learning and Sharing     
Answer Key: D
Feedback: The correct answer is Leading Change, Integrity, Respect for individual, Excellence, Learning and Sharing




Question 4 of 10     10.0 Points
What is the name of the first research center established by TCS?
    
    A. Tata Institute of Social Sciences (TISS)     
     
    B. Tata Research Development and Design Center (TRDDC)     
    
    C. Tata Institute of Fundamental Research (TIFR)     
    
    D. Indian Institute of Science (IISc)     


Answer Key: B
Feedback: The correct answer is Tata Research Development and Design Center (TRDDC)




Question 5 of 10     10.0 Points
What was TCS’s first onsite project?
    
    A. Automating Johannesburg Stock Exchange     
     
    B. Burroughs (the first business computer manufacturer)     
    
    C. Developing electronic depository, SECOM for SIS SegaInterSettle, Switzerland     
    
    D. Institutional Group and Information Company (IGIC)     


Answer Key: D
Feedback: The correct answer is Institutional Group and Information Company (IGIC). The company pioneered the global delivery model for IT services with its first offshore client in 1974. TCS’s first international order came from Burroughs, one of the first business computer manufacturers. TCS was assigned to write code for the Burroughs machines for several US-based clients. This experience also helped TCS bag its first onsite project – the Institutional Group and Information Company (IGIC), a data centre for ten banks, which catered to two million customers in the US, assigned TCS the task of maintaining and upgrading its computer systems.






Question 6 of 10     10.0 Points
TCS is ….. largest IT firm in the world?
    
    A. 8th     
  
    B. 2nd     
    
    C. 4th     
    
    D. 6th     


Answer Key: A
Feedback: The correct answer is 8th






Question 7 of 10     10.0 Points
Who is TCS first General Manager?
    
    A. JRD Tata     
    
    B. F.C Kohli     
    
    C. Ratan Tata     
    
    D. S. Ramadorai     


Answer Key: B
Feedback: The correct answer is F.C Kohli






Question 8 of 10     10.0 Points
TCS provides six major IT services
    
    A. Customer Development, Application Management, Migration and Re-engineering, System Integration, Testing, Performance Engineering     
   
    B. Custom Application Development, Application Management, Migration and Re-engineering, Business Management, Testing, Performance Engineering     
    
    C. Custom Application Development, Application Management, Migration and Re-engineering, System Integration, Testing, Performance Engineering     
    
    D. Customer Development, Application Management, Migration and Re-engineering, Business Management, Testing, Performance Engineering     


Answer Key: B
Feedback: The correct answer is Custom Application Development, Application Management, Migration and Re-engineering, Business Management, Testing, and Performance Engineering






Question 9 of 10     10.0 Points
Which model does TCS follow?
    
    A. Global Integrated Delivery Model     
    
    B. World Integrated Delivery Model     
    
    C. World Network Delivery Model     
    
    D. Global Network Delivery Model     
Answer Key: D
Feedback: The correct answer is Global Network Delivery Model




Question 10 of 10     10.0 Points
Tata Consulting Services goes public in India’s private sector’s largest initial public offer in
    
    A. 2006     
    
    B. 1999     
    
    C. 2004     
    
    D. 2002     
Answer Key: C
Feedback: The correct answer is 2004

DATABASE


Question 1 of 10    10.0 Points
Which of the following options list the steps to convert a table to its second normal form?
    A. All of the above  
   

    B. Find and remove fields that are related to the only part of the key.  
   

    C. Assign the new table with the key i.e. part of the whole composite key.  
   

    D. Group the removed items in the another table.  
Answer Key: A


Question 2 of 10    10.0 Points
In which of the following ways does “TRUNCATE TABLE” differ from “DELETE”?
    A. All of the above  
   

    B. The number of deleted rows are not returned.  
   

    C. Truncate operations are not transaction safe.  
   

    D. Truncate operations drop and re-create the table which is much faster than deleting rows. one by one.  
Answer Key: A



Question 3 of 10    10.0 Points
Following tasks can be performed when using the ALTER TABLE clause:

1.Change the name of the table
2.Change the name of the column
3.Decrease the size of a column if table data exists.

True

 False

Answer Key: False
Feedback: False ( all above tasks can not be performed )



Question 4 of 10    10.0 Points
Sometimes tables within particular database become obsolete and ought to be discarded. Which of the following commands would you use for the same?

    A. None of the above  
   

    B. REMOVE TABLE < TABLE NAME>  
   

    C. DROP TABLE < TABLE NAME >  
   

    D. DELETE TABLE < TABLE NAME >  

Answer Key: C


Question 5 of 10    10.0 Points
A foreign key must have a corresponding primary key or unique key value in the master table.

True

 False

Answer Key: True


Question 6 of 10    10.0 Points
NULL value is equivalent to a value of Zero if the data type is number
True

 False

Answer Key: False


Question 7 of 10    10.0 Points
Integrity constraint can be dropped if the rule that it enforces is not longer TRUE or if the constraint is no longer needed.

 True

 False
Answer Key: True


Question 8 of 10    10.0 Points
SELECT TRIM(' Hansel ' ) “Trim both sides” FROM DUAL

What would be the output of the above command?

     A. None of the above  
   

    B. Trim both sides  
   

    C. Hansel  
   

    D. Trim both sides
Hansel  

Answer Key: D


Question 9 of 10    10.0 Points
What would be the output of following command.

SELECT TRANSLATE('1sct523','123', '7a9') “Change” FROM DUAL;

    A. 7sct 5a9  
   

    B. None of the above  
   

    C. 7 sct  
   

    D. Change  7 sct 5a9  

Answer Key: D


Question 10 of 10    10.0 Points
What is joining a Table to itself called?   

    A. Self Join  
   

    B. Outer join  
   

    C. Left inner join  
   

    D. Inner join  

Answer Key: A

COMMUNICATION QUIZ


Question 1 of 20    10.0 Points
What does this Body language symbolize?
   
    A. Intuitive  
   

    B. Anger  
   

    C. Irritated  
   

    D. Questioning  
   

    E. Insulting  

Answer Key: D
Feedback: Questioning


Question 2 of 20    10.0 Points
Choose the right phrase of the word.

I'll be with you in ___________

    A. A quarter of an hour.  
   

    B. A quarter of hour.  
   

    C. One quarter of an hour.  
   

    D. A quarter of one hour.  
Answer Key: A
Feedback: A quarter of an hour.


Question 3 of 20    10.0 Points
Choose the right vocabulary which matches its meaning.
"Expressing one self readily, clearly, effectively"

     A. Eloquence  
   

    B. Understanding  
   

    C. Effective  
   

    D. Comprehensive  
Answer Key: A
Feedback: Eloquence


Question 4 of 20    10.0 Points
Select the right option which indicates MTI ( Mother tongue influence) in the below given statement.

What is your good name?

     A. Your good  
   

    B. Your  
   

    C. Name  
   

    D. Good name  


Answer Key: D
Feedback: Good name


Question 5 of 20    10.0 Points
Identify the tense used in the following sentence:
We built a tree house last week.

    A. Present continuous  
   

    B. Past Perfect  
   

    C. Present Perfect  
   

    D. Simple Past  

Answer Key: D
Feedback: Simple Past


Question 6 of 20    10.0 Points
Pick the correct option(past progressive tense):

While Aaron_________ in his room, his friends________ in the pool.

     A. was working..................were swimming  
   

    B. was working........................are swimming  
   

    C. was working..................was swimming  
   

    D. is working........................are swimming  

Answer Key: A
Feedback: was working..................were swimming


Question 7 of 20    10.0 Points
Choose the correct verb form to complete the sentence.

I ______ on my sofa all day yesterday.

    A. lying  
   

    B. lay  
   

    C. lie  
   

    D. laid  

Answer Key: B
Feedback: lay


Question 8 of 20    10.0 Points
Identify the incorrect part of the sentence:

She don't understand / didn't understands / didn't understand/didn't understanding the question yesterday.
   
    A. didn't understanding  
   

    B. don't understand  
   

    C. didn't understand  
   

    D. didn't understands  

Answer Key: C
Feedback: didn't understand


Question 9 of 20    10.0 Points
Please rewrite the following statement:

We are simply loving it here.

   

    A. We are simply loving.  
   

    B. We simply love it here.  
   

    C. We are simply here.  
   

    D. We love it here.  
Answer Key: B
Feedback: We simply love it here.


Question 10 of 20    10.0 Points
What is the right response for the phrase “ How do you do?”

      A. I am fine,how about you?  
   

    B. I am fine thank you  
   

    C. How do you do?  
   

    D. I am not fine, by the way how are you?  

Answer Key: C
Feedback: How do you do?


Question 11 of 20    10.0 Points
Arrange the following sections of a presentation in the correct order:
a. overview
b. introduction
c. start new section
d. analyse a point
e. give examples
f. finish section
g. paraphrase and clarify
h. summarize and conclude
i. inviting audience to ask questions/
discuss

    A. a,d,b,c,e,f,h,g,i  
   

    B. a,b,d,c,e,f,h,g,i  
   

    C. a,b,c,d,e,f,g,h,i  
   

    D. b,a,c,d,e,f,h,g,i  

Answer Key: D



Question 12 of 20    10.0 Points
In the business arena:

    A. It is not necessary for men or women to stand for handshaking and all introductions  
   

    B. Both men and women should stand for handshaking and all introductions  
   

    C. Only men should stand for handshaking and all introductions  
   

    D. Only women should stand for handshaking and all introductions  

Answer Key: B


Question 13 of 20    10.0 Points
Fill in the blanks with appropriate articles:
At ____ (1) beginning of ____(2) twentieth century, East Los Angeles became ____(3) popular immigrant destination.

      A. the,a,the  
   

    B. the,an,a  
   

    C. the,the,the  
   

    D. the,the,a  

Answer Key: D


Question 14 of 20    10.0 Points
State whether this is true or false:

Every presentation has its own target audience.

  True

 False

Answer Key: True



Question 15 of 20    10.0 Points
Read the passage and answer the following:

FINDING A JOB

Not so long ago almost any student who successfully completed a university degree or diploma course could find a good career quite easily. Companies toured the academic institutions, competing with each other to recruit graduates. However, those days are gone, even in Hong Kong, and nowadays graduates often face strong competition in the search for jobs.
Most careers organizations highlight three stages for graduates to follow in the process of securing a suitable career: recognizing abilities, matching these to available vacancies and presenting them well to prospective employers.
Job seekers have to make a careful assessment of their own abilities. One area of assessment should be of their academic qualifications, which would include special skills within their subject area. Graduates should also consider their own personal values and attitudes, or the relative importance to themselves of such matters as money, security, leadership and caring for others. An honest assessment of personal interests and abilities such as creative or scientific skills, or skills acquired from work experience, should also be given careful thought.
The second stage is to study the opportunities available for employment and to think about how the general employment situation is likely to develop in the future. To do this, graduates can study job vacancies and information in newspapers or they can visit a careers office, write to possible employers for information or contact friends or relatives who may already be involved in a particular profession. After studying all the various options, they should be in a position to make informed comparisons between various careers.
Good personal presentation is essential in the search for a good career. Job application forms and letters should, of course, be filled in carefully and correctly, without grammar or spelling errors. Where additional information is asked for, job seekers should describe their abilities and work experience in more depth, with examples if possible. They should try to balance their own abilities with the employer's needs, explain why they are interested in a career with the particular company and try to show that they already know something about the company and its activities.
When graduates are asked to attend for interview, they should prepare properly by finding out all they can about the prospective employer. Dressing suitably and arriving for the interview on time are also obviously important. Interviewees should try to give positive and helpful answers and should not be afraid to ask questions about anything they are unsure about. This is much better than pretending to understand a question and giving an unsuitable answer.
There will always be good career opportunities for people with ability, skills and determination; the secret to securing a good job is to be one of them.

Question:

In paragraph 3, 'three stages for graduates' refers to:

    A. all of the above  
   

    B. stages in the assessment of personal interests  
   

    C. stages in the process of securing a suitable career  
   

    D. stages for the completion of a university degree or diploma course .  

Answer Key: C


Question 16 of 20    10.0 Points
Read the passage and answer the following:

FINDING A JOB

Not so long ago almost any student who successfully completed a university degree or diploma course could find a good career quite easily. Companies toured the academic institutions, competing with each other to recruit graduates. However, those days are gone, even in Hong Kong, and nowadays graduates often face strong competition in the search for jobs.
Most careers organizations highlight three stages for graduates to follow in the process of securing a suitable career: recognizing abilities, matching these to available vacancies and presenting them well to prospective employers.
Job seekers have to make a careful assessment of their own abilities. One area of assessment should be of their academic qualifications, which would include special skills within their subject area. Graduates should also consider their own personal values and attitudes, or the relative importance to themselves of such matters as money, security, leadership and caring for others. An honest assessment of personal interests and abilities such as creative or scientific skills, or skills acquired from work experience, should also be given careful thought.
The second stage is to study the opportunities available for employment and to think about how the general employment situation is likely to develop in the future. To do this, graduates can study job vacancies and information in newspapers or they can visit a careers office, write to possible employers for information or contact friends or relatives who may already be involved in a particular profession. After studying all the various options, they should be in a position to make informed comparisons between various careers.
Good personal presentation is essential in the search for a good career. Job application forms and letters should, of course, be filled in carefully and correctly, without grammar or spelling errors. Where additional information is asked for, job seekers should describe their abilities and work experience in more depth, with examples if possible. They should try to balance their own abilities with the employer's needs, explain why they are interested in a career with the particular company and try to show that they already know something about the company and its activities.
When graduates are asked to attend for interview, they should prepare properly by finding out all they can about the prospective employer. Dressing suitably and arriving for the interview on time are also obviously important. Interviewees should try to give positive and helpful answers and should not be afraid to ask questions about anything they are unsure about. This is much better than pretending to understand a question and giving an unsuitable answer.
There will always be good career opportunities for people with ability, skills and determination; the secret to securing a good job is to be one of them.

Question:

'each other ' in paragraph 2 refers to:

    A. available vacancies  
   

    B. career organizations  
   

    C. three stages  
   

    D. job seekers
Answer Key: B


Question 17 of 20    10.0 Points
Choose the correct option.

We_________ around the parking lot for 20 minutes in order to find a parking space.

   

    A. driven  
   

    B. drive  
   

    C. drove  
   

    D. drived  
Answer Key: C


Question 18 of 20    10.0 Points
Choose the correct option:

a)While I was writing the email, the computer suddenly went off.
b) When I write letters, the computer goes off.
c) Writing letters make my computer go off

    A. None of the above  
   

    B. c  
   

    C. b  
   

    D. a  

Answer Key: D
Feedback: Past progressive to indicate an interrupted Action in the Past.


Question 19 of 20    10.0 Points
Identify the tense:
A rhinoceros was swatting flies with his tail when suddenly a fly bit him

    A. Past Progressive  
   

    B. Past Simple  
   

    C. Past perfect continuous  
   

    D. Past perfect

Answer Key: A
Feedback: Past progressive indicates two actions in the same sentence, it expresses the idea that both actions were happening at the same time. The actions are parallel.



Question 20 of 20    10.0 Points
Choose the correct option:

Not again! This is the third time that I ....... my keys since I ........ home this morning.

    A. had lost/left  
   

    B. am losing/was leaving  
   

    C. will lose/have left  
   

    D. lose/had left  
   

    E. have lost/left  

Answer Key: E

BASICS OF PROGRAMMING

NOTE: Feedback and answers are given below each question..

Question 1 of 10    10.0 Points
What is a variable in a computer program?

    A. An output  
   

    B. A value such as 5  
   

    C. The name given to a value  
   

    D. An input argument  
Answer Key: C
Feedback: When you are writing a computer program, you will often want the program to be able to "remember" a value. You can do this by assigning the important value to a named variable. Variables are categorized by the types of data they store.



Question 2 of 10    10.0 Points
What is a semantic error ?

     A. A program error that is difficult to debug  
   

    B. A program error that is not so important to take care  
   

    C. A program error that crashes the program  
   

    D. A program error that gives wrong output  

Answer Key: D
Feedback: If there is a semantic error in your program, it will run successfully, in the sense that the computer will not generate any error messages, but it will not do the right thing. It will do something else. Specifically, it will do what you told it to do.



Question 3 of 10    10.0 Points
A variable will last until 

    A. the value of the variable is used in the program  
   

    B. The program completes and exit  
   

    C. Hard disc is formatted  
   

    D. Computer is switched off  

Answer Key: B
Feedback: The lifetime of a variable in the computer memory will be same as the life of the program. The memory is cleaned as soon as the program stops.



Question 4 of 10    10.0 Points
In a Javascript program, the word preceding the “ . “ represents

    A. A program name  
   

    B. An object  
   

    C. An action by an object  
   

    D. A command  

Answer Key: B
Feedback: For eg.“Zygot.move()”. Here ‘Zygot’ is the object and ‘move’ is the action requested on that object



Question 5 of 10    10.0 Points
What do you mean by a portable computer program?

    A. The program can be attached to the port of a computer  
   

    B. The program is very small  
   

    C. It can be run on computers with different types of computers  
   

    D. It can be send from one computer to another computer  

Answer Key: C
Feedback: Portability is a characteristic attributed to a computer program if it can be used in an operating systems other than the one in which it was created without requiring major rework. Porting is the task of doing any work necessary to make the computer program run in the new environment.



Question 6 of 10    10.0 Points
A compiler will

    A. Interpret the program line by line  
   

    B. Compile the program to create an executable  
   

    C. Link different programs written in same language together  
   

    D. Correct the errors in the program  

Answer Key: B
Feedback: A compiler is a computer program (or set of programs) that transforms source codewritten in a programming language (the source language) into another computer language (the target language, often having a binary form known as object code). The most common reason for wanting to transform source code is to create an executable program.



Question 7 of 10    10.0 Points
What do we mean by the performance of a program ?

     A. The utilization of resources such as CPU and memory by a program  
   

    B. The number of times a program can be run  
   

    C. The number of arguments that a program can handle  
   

    D. The speed with which a program runs

Answer Key: A
Feedback: Computer performance is characterized by the amount of useful work accomplished by a computer system compared to the time and resources used.



Question 8 of 10    10.0 Points
What is debugging ?

    A. Fine tuning the program for performance  
   

    B. The process of tracking and correcting the bugs in a program  
   

    C. Testing the program to identify defects  
   

    D. The process of removing the identified bugs  
Answer Key: B
Feedback: Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program


Question 9 of 10    10.0 Points
Data structure enables

          A. Analysis of the data used in a program  
   

    B. Connecting a program with database  
   

    C. Storing and organizing data in computer memory for efficient use  
   

    D. Structuring data in a program  

Answer Key: C
Feedback: Data structures are generally based on the ability of a computer to fetch and store data at any place in its memory, specified by an address—a bit string that can be itself stored in memory and manipulated by the program.



Question 10 of 10    10.0 Points
What is class in object oriented program ?

    A. A collection of objects  
   

    B. A template to create objects  
   

    C. A variable type in a program  
   

    D. Category /Type of a program  

Answer Key: B
Feedback: In the real world, you'll often find many individual objects all of the same kind. There may be thousands of other bicycles in existence, all of the same make and model. Each bicycle was built from the same set of blueprints and therefore contains the same components. In object-oriented terms, we say that your bicycle is an instance of the class of objects known as bicycles. A class is the blueprint from which individual objects are created.