Sample Research Material Part II - Retention Ability




Questionnaire No. ____
Respondent No. ____

Dear Respondent,
            Good Day! We are Mark Anthony Cabanlit and Angeli Macopia, second year students taking up Communication II. We are conducting a study the effects of the number of hours of computer usage on the retention ability of UP Students. We would like to ask a little of your time to answer this questionnaire. Please answer it with all honesty. We assure you that this is confidential. We are hoping for your kind cooperation.
Thank you!                                                                                                                      
Sincerely Yours,
                                                                                                      The Proponents
                                                                                                                                   
VI.              Retention Ability
Instruction: Please shade the circle of the correct answer.
1. Which of the following statements are valid array declaration?
(A) int number();
(B) float average[];
(C) double[] marks;
(D) counter int[];


Ο (B) & (C)                  Ο (A)                            Ο (A) & (C)                              Ο (D) 

2. Consider the following code
int number[] = new int[5]; After execution of this statement, which of the following are true? 
(A) number[0] is undefined
(B) number[5] is undefined
(C) number[4] is null
(D) number[2] is 0
(E) number.length() is 5


Ο (A) & (E)                   Ο (C) & (E)                  Ο (B), (D) & (E)                        Ο (E) 


3. What will be the content of array variable table after executing the following code?
for(int i = 0; i < 3; i + +)
for(int j = 0; j < 3; j + +)
if(j = i) table[i][j] = 1;
else table[i][j] = 0;




Ο  1 0 0
     0 1 0
     0 0 1

Ο  0 0 0
    0 0 0
    0 0 0 

Ο  1 0 0
    1 1 0
    1 1 1 

Ο  0 0 1
    0 1 0
    1 0 0 





4. Which of the following classes are available in the java.lang package?
(A) Stack
(B) Object
(C) Math
(D) Random
(E) String
(F) StringBuffer
(G) Vector




Ο (B), (C), (E) & (F)
Ο (B), (C) & (E) 
Ο (B), (E) & (F) 
Ο (C), (E) & (F) 
Ο (A), (B), (C), (E) & (F) 





5. Which of the following are the wrapper classes?
(A) Random
(B) Byte
(C) Vector
(D) Integer
(E) Short
(F) Double
(G) String




Ο (B), (D) & (E) 
Ο (B), (D) & (F) 
Ο (B), (D), (E) & (F)
Ο (D), (E) & (F) 
Ο (A), (B), (D), (E) & (F) 




6. Which of the following contain error?
(A) int x[] = int[10];
(B) int[] y = new int[5];
(C) float d[] =




Ο (A), (D) & (E) 
Ο (A), (E) & (F) 
Ο (D), (E) & (F) 
Ο (A), (B), (D), (E) & (F) 
Ο (A), (D) & (F)





7. Which of the following methods belong to the String class?



Ο length() 
Ο compareTo() 
Ο All of these
Ο equals() 
Ο substring() 
Ο None of these 





8. Given the code
String s1 = "yes";
String s2 = "yes";
String s3 = new String(s1);

Which of the following would equate to true?
(A) s1 == s2
(B) s1 = s2
(C) s3 == s1
(D) s1.equals(s2)
(E) s3.equals(s1)




Ο (A), (C) & (E) 
Ο (A), (B) & (C) 
Ο (C), (D) & (E) 
Ο (D) & (E) 
Ο (A), (D) & (E)





9. Suppose that s1 and s2 are two strings. Which of the statements or expressions are valid? 
(A) String s3 = s1 + s2;
(B) String s3 = s1 - s2;
(C) s1 <= s2
(D) s1.compareTo(s2);
(E) int m = s1.length();




Ο (A), (C) & (E) 
Ο (A), (B) & (C) 
Ο (A), (D) & (E)
Ο (C), (D) & (E) 
Ο (D) & (E) 





10. Given the code
String s = new String("abc");
Which of the following calls are valid?
(A) s.trim()
(B) s.replace('a', 'A')
(C) s.substring(3)
(D) s.toUppercase()
(E) s.setCharAt(1,'A')
(F) s.append("xyz")




Ο (A), (C), (D) & (E) 
Ο (A), (B), (C) & (D)
Ο (A), (B) & (C) 
Ο (C), (D) & (E) 
Ο (D) & (E) 





11. The methods wait() and notify() are defined in



Ο java.lang.String 
Ο java.lang.Runnable 
Ο java.lang.Thread 
Ο java.lang.ThreadGroup 
Ο java.lang.Object





12. Which of the following statements are true?
(A) A Java monitor must either extend Thread or implement Runnable.
(B) The sleep() method should be enclosed in try ... catch block.
(C) The yield() method should be enclosed in try ... catch block.
(D) A thread can be temporarily suspended from running by using the wait() method.
(E) A suspended thread using suspend() method can be revived using the resume() method.




Ο (A), (B), (D) & (E) 
Ο (A), (B) & (D) 
Ο (C), (D) & (E) 
Ο (B), (D) & (E)
Ο (D) & (E) 





13. 
Given the following code:
class Base { int x = 10; }
class Derived extends Base
{ int x = 20; }

Base b = new Base();
Derived d = new Derived ( );
Base bd = new Derived();
The statement
System.out.println(b.x + " " + d.x + " " + bd.x);
will produce the output




Ο 10 20 10
Ο 10 20 20 
Ο 20 10 20 
Ο 20 20 10 





14. 
Given the class definitions
class Base
{
void display ()
{ System.out.println("Base"); }
}
class Derived extends Base
{
void display ()
{ System.out.println("Derived"); }
}
and objects
Base b = new Base();
Derived d = new Derived();
Base bd = new Derived;

then the print statements
System.out.print(b.display() + " ");
System.out.print(d.display() + " ");
System.out.print(bd.display() + " ");
System.out.println();
will display:




Ο Base Base Derived 
Ο Base Derived Base 
Ο Derived Derived Derived 
Ο Base Derived Derived





15. When we implement the Runnable interface, we must define the method



Ο run()
Ο start() 
Ο init() 
Ο resume() 
Ο main() 




VII.            Fields of Interest
Instruction: Shade





o    Aircraft Spotting
o    Airbrushing
o    Airsofting
o    Acting
o    Aeromodeling
o    Amateur Astronomy
o    Amateur Radio
o    Animals/pets/dogs
o    Arts
o    Astrology
o    Astronomy
o    Backgammon
o    Badminton
o    Baseball
o    Basketball
o    Beach/Sun tanning
o    Beachcombing
o    Beadwork
o    Beatboxing
o    Becoming A Child Advocate
o    Bell Ringing
o    Belly Dancing
o    Bicycling
o    Bird watching
o    Birding
o    BMX
o    Blacksmithing
o    Blogging
o    BoardGames
o    Boating
o    Body Building
o    Bonsai Tree
o    Boomerangs
o    Bowling
o    Brewing Beer
o    Bridge Building
o    Bringing Food To The Disabled
o    Building A House For Habitat For Humanity
o    Building Dollhouses
o    Butterfly Watching
o    Button Collecting
o    Cake Decorating
o    Calligraphy
o    Camping
o    Candle Making
o    Canoeing
o    Car Racing
o    Casino Gambling
o    Cave Diving
o    Cheerleading
o    Chess
o    Church/church activities
o    Cigar Smoking
o    Cloud Watching
o    Coin Collecting
o    Collecting
o    Collecting Antiques
o    Collecting Artwork
o    Collecting Music Albums
o    Compose Music
o    Computer activities
o    Cooking
o    Cosplay
o    Crafts
o    Crafts (unspecified)
o    Crochet
o    Crocheting
o    Cross-Stitch
o    Crossword Puzzles
o    Dancing
o    Darts
o    Diecast Collectibles
o    Digital Photography
o    Dolls
o    Dominoes
o    Drawing
o    Dumpster Diving
o    Eating out
o    Educational Courses
o    Electronics
o    Embroidery
o    Entertaining
o    Exercise (aerobics, weights)
o    Fast cars
o    Fencing
o    Fishing
o    Football
o    Four Wheeling
o    Freshwater Aquariums
o    Frisbee Golf - Frolf
o    Games
o    Gardening
o    Garage Saleing
o    Genealogy
o    Geocaching
o    Ghost Hunting
o    Glowsticking
o    Going to movies
o    Golf
o    Go Kart Racing
o    Grip Strength
o    Guitar
o    Handwriting Analysis
o    Hang gliding
o    Hiking
o    Home Brewing
o    Home Repair
o    Home Theater
o    Horse riding
o    Hot air ballooning
o    Hula Hooping
o    Hunting
o    Illusion
o    Internet
o    Jet Engines
o    Jewelry Making
o    Jigsaw Puzzles
o    Juggling
o    Keep A Journal
o    Kayaking
o    Kitchen Chemistry
o    Kites
o    Kite Boarding
o    Knitting
o    Knotting
o    Lasers
o    Lawn Darts
o    Learn to Play Poker
o    Learning A Foreign Language
o    Learning An Instrument
o    Learning To Pilot A Plane
o    Leathercrafting
o    Legos
o    Listening to music
o    Macramé
o    Magic
o    Making Model Cars
o    Matchstick Modeling
o    Meditation
o    Microscopy
o    Metal Detecting
o    Model Rockets
o    Modeling Ships
o    Models
o    Motorcycles
o    Mountain Biking
o    Mountain Climbing
o    Musical Instruments
o    Needlepoint
o    Owning An Antique Car
o    Origami
o    Painting
o    Paintball
o    Papermaking
o    Papermache
o    Parachuting
o    People Watching
o    Photography
o    Piano
o    Pinochle
o    Playing music
o    Playing team sports
o    Pottery
o    Puppetry
o    Pyrotechnics
o    Quilting
o    Rafting
o    Railfans
o    R/C Boats
o    R/C Cars
o    R/C Helicopters
o    R/C Planes
o    Reading
o    Reading To The Elderly
o    Relaxing
o    Renting movies
o    Rescuing Abused Or Abandoned Animals
o    Robotics
o    Rock Collecting
o    Rockets
o    Rocking AIDS Babies
o    Running
o    Saltwater Aquariums
o    Scrapbooking
o    Scuba Diving
o    Sewing
o    Shark Fishing
o    Skeet Shooting
o    Shopping
o    Singing In Choir
o    Skateboarding
o    Sketching
o    Sky Diving
o    Sleeping
o    Smoking Pipes
o    Snorkeling
o    Soap Making
o    Soccer
o    Socializing with friends/neighbors
o    Spelunkering
o    Spending time with family/kids
o    Stamp Collecting
o    Storytelling
o    String Figures
o    Surf Fishing
o    Swimming
o    Tea Tasting
o    Tennis
o    Tesla Coils
o    Tetris
o    Texting
o    Textiles
o    Tombstone Rubbing
o    Tool Collecting
o    Toy Collecting
o    Train Collecting
o    Train Spotting
o    Traveling
o    Treasure Hunting
o    Trekkie
o    Tutoring Children
o    TV watching
o    Urban Exploration
o    Video Games
o    Volunteer
o    Walking
o    Warhammer
o    Watching sporting events
o    Windsurfing
o    Wine Making
o    Woodworking
o    Working In A Food Pantry
o    Working on cars
o    Writing
o    Writing Music
o    Writing Songs
o    Yoga
o    YoYo





VIII.         Other affecting factors
Instructions: Write your observations on the different factors and also indicate a score (based on how comfortable you are with the said factor) from 1 to 10 where 10 is the highest.


A.     Teacher
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

Rating: ___


B.     Environment
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

Rating: ___


C.     Topic
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

Rating: ___



XXX

0 comments:

Post a Comment

 

Popular Posts

Twitter Updates