• Cyberian's Gold

    Question # 1 of 10 ( Start time: 11:23:02 PM ) Total Marks: 1
    The _________ in Java is passed by value but ______ is passed by reference.
    Select correct option:
    Object , Parameters
    Parameters , Object
    Arguments , Reference type
    Reference type , Primitive type

    Question # 2 of 10 ( Start time: 11:23:42 PM ) Total Marks: 1
    Which of the following are the types of constants in Prolog
    Select correct option:
    atoms and numbers.
    single and decimal
    short and char
    float and numbers

    Question # 3 of 10 ( Start time: 11:23:58 PM ) Total Marks: 1
    In Java the ______________are not objects. All of the rest are objects, or any ___________ is called as object.
    Select correct option:
    generic type , reference type
    primitive types , generic type
    Reference type , generic type
    Reference type , primitive types

    Question # 4 of 10 ( Start time: 11:24:35 PM ) Total Marks: 1
    In Java which of the following is not Primitive Type
    Select correct option:
    byte
    short
    decimal
    int

    Question # 5 of 10 ( Start time: 11:24:56 PM ) Total Marks: 1
    Prolog is considered to be as ________
    Select correct option:
    case and type insensitive
    case and type sensitive
    case sensitive and type insensitve
    case insensitive and type sensitive

    Question # 6 of 10 ( Start time: 11:25:14 PM ) Total Marks: 1
    In Prolog language____is used for comments.
    Select correct option:
    //
    %
    &

    Question # 7 of 10 ( Start time: 11:25:25 PM ) Total Marks: 1
    Method that would be free functions in _________(not members of any class) should be static method in _________.
    Select correct option:
    Java , C#
    C++ , C#
    Java , C++
    C++ , Java

    Question # 8 of 10 ( Start time: 11:25:42 PM ) Total Marks: 1
    For inheritance we use______ for interface we use________ keywords.
    Select correct option:
    subclass:baseclass , virtual function
    overloaded , virtual
    extend , implement
    virtual function , overloaded

    Question # 9 of 10 ( Start time: 11:26:12 PM ) Total Marks: 1
    In ________ for final fields and methods the value is assigned later but in ______ you assign the value during declaration.
    Select correct option:
    Java , C++
    C++ , C#
    Java , C#
    C++ ,Java

    Question # 10 of 10 ( Start time: 11:26:41 PM ) Total Marks: 1
    The Java Bytecode is created by the Java compiler and is stored in ____ file
    Select correct option:
    .exe
    .sys
    .class
    .jvm

  • Cyberian's Gold

    Which of the following is not true about delegates? CS508
    Delegates are value type
    Delegates are reference type
    Delegates are similar to function pointers. C/C++

    Page 128
    Delegates are similar to function pointers. C/C++ function pointers lack instance-based
    knowledge whereas C# delegate are event based can be thought of a call-back mechanism
    where a request is made to invoke a specified method when the time is right.

    In Java, out-of-bounds array index always causes a _______ error. CS508
    Syntax
    run time

    In C# _____can be inherited from other class but no inheritance from it. On the other hand _________ cannot be inherited and not inheritance from it is possible.

    In Prolog language____is used for comments. CS508
    //
    %
    \
    **

    In Prolog % is used to write a comment just like // in C++. That is after % everything till the end of the line is a comment.

  • Cyberian's Gold

    Which of the following is not primitive type in java?
    86a6917c-9074-404f-863d-280083de8860-image.png

    Array

  • Cyberian's Gold

    There are _____ “categories” of types in java.
    076ae44f-b5f0-493f-ad23-b8db59251b4c-image.png

  • Cyberian's Gold

    Enumeration type in C# may take any type of _______ in contrast to C++ where it take only _________

    1bc65b9e-d842-4002-a91c-5dd3ea836521-image.png

  • Cyberian's Gold

    In C# the value type and reference type variable are inter convertible through ________ concept.
    325c2f98-f3bb-4318-b678-fb3af296956b-image.png

  • Cyberian's Gold

    The concept of C# jagged array is similar in function to _________

    8056777b-4ad5-4408-9643-b37d3a3a9744-image.png

  • Cyberian's Gold

    _____is more strongly typed language then _________

    2d697bc2-cde8-4501-9a41-c667219d820d-image.png

  • Cyberian's Gold

    In Java the ______________are not objects. All of the rest are objects, or any ___________ is called as object.
    4fcc2c32-74ee-4164-90a5-64dbba771d40-image.png

  • Cyberian's Gold

    For event driven mechanism in C# we use _______ just like ____ in C++.

    ![0_1579519179051_8a3df806-c808-40ee-952e-c020d317d1d2-image.png](Uploading 100%)

  • Cyberian's Gold

    In C#, strings are _______

    8c9e846e-8ad8-4edc-90ce-b857907dea4a-image.png

  • Cyberian's Gold

    ______compile initially to an intermediate. Which can be run by interpretation or just in time compilation or an appropriate virtual machine?

    C++ and C#
    C# and Java
    Java and C++
    Ada, C++

Insaf Sehat Card Live Cricket Streaming
Quiz 100% Result Quiz 100% Result
| |