Blogger Text

My Aim to Provide you quality contents, Tips & Tricks, Software, Microsoft Office, Graphic Editing (Adobe PhotoShop, After Affects, Illustrator, inDesign) Corel Draw, Corel Video Studio, Cyberlink PowerDirector, Power ActionCinema, Tutorials about Blogging and VU Assignments, Quizes & GDB Solutions and Much More... at regular Basis
                                     ***    Kindly Subscribe our Official YouTube Channel "INFOPALACESS OFFICIAL-Tuts: in this channel we upload Programming (C,C++,C# JAVA, PHP), Web Development, Graphics Editing and Microsoft Office Step by Step Tutorials from bigginer to Advance Level. We also provide free online courses at our YouTube Channel. ***   Graded Assignments/Quizes and GDB will start in Next Week. Solution ideas of All assignments, Quizes and GDB will be available here. If you have any problem regarding this then you can contact us.

CS508 100+ Solved MCQs with References CS508 Quiz 1 Spring 2019



Modern Programming Languages CS508 Quiz Spring 2019


Here i am going to Share 100+ Solved MCQs with Refereneces and Also going to share video for it..... 


Click Here to Downlod CS508 MCQs FIle in PDF

CS 508 100+ MCQs Solved with Referencess 

1. C# and C++ have ________ size.
 SameØ
 DifferentØ
 DistinctØ
Ø None of the given (Not confirmed cause this is a stupid question, size who knows)
2. Threads in Java are based upon the concept of
 Ã˜Monitor
3. Which is not a valid atom in PROLOG?
 this_is_itØ
·        Ø Mary, _c1
 'happy'Ø
 fØ
4. C# is a __________ typed language.
·        Ø strongly
 safetyØ
 referenceØ
 valueØ
5. Prolog has only one _____
·        Ø goal
 factØ
 ruleØ
 queryØ
6. Which chaining type is used by Prolog?
·        Ø Backward
 forwardØ
 upØ
 horizontalØ
7. ________ 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++Ø
8. In______ Boolean expression is convertible into integer type.
·        Ø C#
 C++Ø
 JAVAØ
 AdaØ
9. PHP syntax looks like ___________
·        Ø ASP syntax
 C/C++ syntaxØ
 Both of the above optionsØ
 None of the givenØ
10. For narrowing conversion which type conversion is appropriate?
Ø Implicit Conversion
 Explicit ConversionØ
 Both of the above optionsØ
 None of the givenØ
11. In Java we can make pointer of_________.
 Any typeØ
 Reference type onlyØ
 BØoth of the above options(Not sure)
 None of the givenØ

12. The concept of C# jagged array is similar in function to _________
 C++ rectangular ArrayØ
Ø Java Array of Array
 Java pointer ArrayØ
 C# ArrayØ
13. PHP is a __________typed language.
1) Strongly
2) Dynamic
3) Static
4) None of Given
14. _________is more strongly typed language then __________
1) C++, C#
2) C#, C++
3) C++, Java
4) None of the given
15. In C# the value type and reference type variable are interconvert able through ________
concept.
1) Tagged type
2) Boxing
3) Interfaces
4) None of the given
16. PHP supported all major Databases including_________.
1) ODBC
2) Oracle
3) SQL Server
4) None Of given
17. Object in java script can be accessed through ………
1) Reference pointer method
2) None of the above
3) Capital letter or underscore
4) Variable
18. Indexes of arrays do not start from 0 in _____
 Prologv
 C#v
 Javav
Ada(maybe)
19. Prolog is a _____ .
declarative
 string manipulativev
 definitive v
20. In __________, Enumeration type can also be used as indexes in arrays.
 Adam
 Cm
C++
 LISPm
21. In SONOBOL the size of the array can be determined at ____.
run time
 compile timeS
 array implimentationS
22. In _____, Boolean values can convert to integers.
 C#S
 C++S
Java
 AdaS
23. It is always better to find out the mistakes in the code at ________.
 RuntimeS
Compile time
 Link timeS
 None of given optionS
24. We can have nested procedures in _________ language.
 C++S
Ada
 CS
 PROLOGS
25. Indirect referencing in SONOBOL is same as of _____in C.
 ArraysS
Pointers
 AliasingS
 StackS
26. In ____ model in Javascript, we can address the client web browser. (kuch esa hi tha thik se yad nae) 
 DOMS
BOM
 TOMS
 VOMS
27. Elementary types are derived from ____ data types in Ada.
 primitiveS
discrete(I think)
 built-inS
 staticS
28. _____ language has finally clause.
Java
 AdaS
 C/C++S
 LISPS


In C# Managed code is executed under the control of
                CLR
                CRL

CS508 - Modern Programming Languages - Q. No. 2
_____is more strongly typed language then _________
                C++, C#
                C#, C++
                C++, Java
                None of then given

CS508 - Modern Programming Languages - Q. No. 3
The IS operator in C# is used for_________
                Run time type conversion
                Run time type checking
                Run time type casting
                None of the given

CS508 - Modern Programming Languages - Q. No. 4
PHP is a __________typed language.
                Strongly
                Dynamic
                Static
                None of Given

CS508 - Modern Programming Languages - Q. No. 5
____ compile into machine independent language, independent code which run in a managed execution environment.
                C#
                Java
                C++
                Ada

CS508 - Modern Programming Languages - Q. No. 6
PHP supported all major Databases including______.
                ODBC
                Oracle
                SQL Server
                None Of given

CS508 - Modern Programming Languages - Q. No. 7
______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++

CS508 - Modern Programming Languages - Q. No. 8
The keyword unsafe is used while dealing with_____
                Loop
                Arrays
                Pointers
                Classes

CS508 - Modern Programming Languages - Q. No. 9
Enumeration type in C# may take any type of _______ in contrast to C++ where it take only _________
                Numeric value, integer value
                Value type value, numeric value
                Primitive type value, reference type value
                Value type value, reference type value


CS508 - Modern Programming Languages - Q. No. 10
Tasks in ____are processes and cannot share data but thread in _______ do it.
                C# , C++
                C++ , Ada
                Java , C#
                Ada , Java

CS508 - Modern Programming Languages - Q. No. 11
C# code when compiled is converted into ________ code.
                MSIL
                MISL

CS508 - Modern Programming Languages - Q. No. 12 of
In C# _____can be inherited from other class but no inheritance from it. On the other hand _________ cannot be inherited not inheritance is possible from it is possible.
                Private class , public class
                Sealed class ,struct in C#
                struct in C# , Sealed class
                public class , inherited class

CS508 - Modern Programming Languages - Q. No. 13
The concept of sealed class in C# is similar to ________
                Struct in C#,
                Struct in C++
                Abstract class in C#
                None of the given
               
CS508 - Modern Programming Languages - Q. No. 14
Managed or safe code in_______ is executed under the control of common language runtime (CLR) with automatic garbage collection, no explicit memory allocation and de allocation and no explicit destructor.
                C++
                Java
                Ada and C++
                C#


CS508 - Modern Programming Languages - Q. No. 15
In C# the if statement condition is an/a ________
                Arithmetic expression
                Boolean expression
                Numeric expression
                Both Numeric expression and Boolean expression
CS508 - Modern Programming Languages - Q. No. 16
Java code when compiled is converted into ________ code.
                Bit code
                Byte code
                Kbytes code
                Giga byte Code

CS508 - Modern Programming Languages - Q. No. 17
PHP is a __________typed language.
                Strongly
                Dynamic
                Static
                None of Given

CS508 - Modern Programming Languages - Q. No. 18
In ______ the relationship between a get and set method is inherited, while in ___________ it has to be maintained. vuzs.info
                Java , C++
                C++ , C#
                Ada , Java
                C# , Java or C++

CS508 - Modern Programming Languages - Q. No. 19
C# code when compiled is converted into ________ code.
                MSIL
                MISL

CS508 - Modern Programming Languages - Q. No. 20
In______ Boolean expression is convertible into integer type.
                C#
                C++
                JAVA
                Ada

CS508 - Modern Programming Languages - Q. No. 21
PHP syntax looks like ____________
                ASP syntax
                C/C++ syntax

CS508 - Modern Programming Languages - Q. No. 22
For narrowing conversion which type conversion is appropriate?
                Implicit Conversion
                Explicit Conversion

CS508 - Modern Programming Languages - Q. No. 23
In Java we can make pointer of_________.
                Any type
                Reference type only
               
CS508 - Modern Programming Languages - Q. No. 24
In C# the value type and reference type variable are interconvert able through ________ concept.
                Tagged type
                Boxing
                Interfaces
                None of the given

CS508 - Modern Programming Languages - Q. No. 25
C# support only_________ inheritance and it achieve_________ inheritance through the concept of interfaces.
                Multiple, multiple
                Single, multiple


CS508 - Modern Programming Languages - Q. No. 26
Tasks in ____are processes and cannot share data but thread in _______ do it.
                C# , C++
                C++ , Ada
                Java , C#
                Ada , Java

CS508 - Modern Programming Languages - Q. No. 27
The concept of package in Java is similar to _________
                Assembly in C#
                Global class in C#

CS508 - Modern Programming Languages - Q. No. 28
The concept of C# jagged array is similar in function to _________
                C++ rectangular Array
                Java Array of Array
                Java pointer Array
                C# Array

CS508 - Modern Programming Languages - Q. No. 29 www.vuzs.info
In C# _____can be inherited from other class but no inheritance from it. On the other hand _________ cannot be inherited not inheritance is possible from it is possible.
                Private class , public class
                Sealed class ,struct in C#
                struct in C# , Sealed class
                public class , inherited class


CS508 - Modern Programming Languages - Q. No. 30
The concept of sealed class in C# is similar to ________
                Struct in C#,
                Struct in C++
                Abstract class in C#
                None of the given
1_ Which of the following is very effective in solving complex puzzles?
PROLOG



2_ Two important versions of LISP are _________________.
Scheme and Common Lisp



3_ With programming in ________ we state "what" and not "how".
PROLOG



4_ A list in LISP is a group of atoms and /or lists. “(b c)” in list (a (b c)) is ______
a list (not sure)


5_ In LISP, following statement returns the difference of the two lists.
(set-difference L1 L2)



6_ The inference mechanism of PROLOG is based upon _____________.
Back tracking



7_ which of given is the magical thing in Prolog?
Both List Processing and Program partition (not sure)



8_ Which of the following are the types of constants in Prolog
atoms and numbers



9_ Lists can be constructed with the help of three basic functions which are ___________.
cons, list and append



10_ which of the following generates readable code which is easy to maintain.
Back tracking

Quiz Start Time: 05:07 PM     
Time Left     90sec(s)     
Question # 1 of 10 ( Start time: 05:07:51 PM )     Total Marks: 1
COBOL is mainly designed for _______.
Select correct option:
    Scientific experiments
    Business application(ans)
    AI applications
    Publishing and writing algorithm

Quiz Start Time: 05:07 PM     
Time Left     90sec(s)     
Question # 2 of 10 ( Start time: 05:08:31 PM )     Total Marks: 1
Which of the following is the only Control structure in SNOBOL?
Select correct option:
    Go to Statement
    If Else statement
    Switch statement
    Both if else and switch statement

Quiz Start Time: 05:07 PM     
Time Left     90sec(s)     
Question # 3 of 10 ( Start time: 05:10:05 PM )     Total Marks: 1
In SONOBOL TABLES can be used in a manner similar to _______.
Select correct option:
    Array(ans)
    Pointers
    Queue
    Struct

Quiz Start Time: 05:07 PM     
Time Left     90sec(s)     
Question # 4 of 10 ( Start time: 05:10:31 PM )     Total Marks: 1
If a language become very simple then it will _______________.
Select correct option:
    increase readability(ans)
    increase writability
    increase readability and decrease writability
    decrease both readability and writability

Quiz Start Time: 05:07 PM     
Time Left     90sec(s)     
Question # 5 of 10 ( Start time: 05:11:20 PM )     Total Marks: 1
Following are some of the reasons for studying concepts related to different programming languages EXCEPT
Select correct option:
    Increased ability to learn new languages
    Increased capability to design communication links(ans)
    Increased ability to design new languages
    Increased capacity to express programming concepts

Quiz Start Time: 05:07 PM     
Time Left     90sec(s)     
Question # 6 of 10 ( Start time: 05:12:01 PM )     Total Marks: 1
_____________ was considered good for describing algorithms.
Select correct option:
    FORTRAN
    ALGOL(ans)
    LISP
    Ada

Quiz Start Time: 05:07 PM     
Time Left     90sec(s)     
Question # 7 of 10 ( Start time: 05:12:25 PM )     Total Marks: 1
Initial version of SONOBOL only supports __________ and string.
Select correct option:
    Digits
    Exponential Numbers
    Real Numbers
    Integer(ans)

Quiz Start Time: 05:07 PM     
Time Left     90sec(s)     
Question # 8 of 10 ( Start time: 05:13:20 PM )     Total Marks: 1
The variable name have profound effect on _______________.
Select correct option:
    Readability
    Writability
    Orthogonality(ans)
    Portability

Quiz Start Time: 05:07 PM     
Time Left     90sec(s)     
Question # 9 of 10 ( Start time: 05:14:57 PM )     Total Marks: 1
+ Sign is used for _______ in SONOBOL.
Select correct option:
    Line Continuation(ans)
    Line Breakge
    Body of the program
    Immediate assignment

Quiz Start Time: 05:07 PM     
Time Left     90sec(s)     
Question # 10 of 10 ( Start time: 05:17:12 PM )     Total Marks: 1
COBOL was the first language that brings the concept of __________.
Select correct option:
    Records(ans)
    Structure
    Object
    Variable

1_ Reliability of a language addresses following concepts/ factors EXCEPT
Language development environment



2_ Binary operator in SONOBOL must has at least ________ spaces on both sides.
1



3_ Which of the following is used for indirect referencing in SNOBOL.
Unary $



4_ Which of the following is an incorrect option from the following statements regarding ‘objectives of learning new languages’?
Help in understanding the language piracy policy. 



5_ Learning different programming languages helps in increasing the ________ to express programming concepts.
capacity



6_ Which of the following is true about Dot operator (.) in SNOBOL?
Unary operator



7_ Pattern . Variable Upon successful completion of pattern matching, the substring matched by the pattern is assigned to the variable as ________
Value

8_A language that is more orthogonal is usually more _________.
Readable


9_ PROLOG represent _______________ paradigm.
Declarative


10_ In SONOBOL TABLES can be used in a manner similar to _______.
Array

Following are some of the reasons for studying concepts related to different programming languages EXCEPT
Select correct option:
Increased ability to learn new languages
Increased capability to design communication links C
Increased ability to design new languages
Increased capacity to express programming concepts
Quiz Start Time: 06:46 PM
Time Left 76
sec(s)
Question # 2of 10 ( Start time: 06:47:49 PM) Total Marks: 1
_______ was the first object oriented language.
Select correct option:
COBOL
LISP
JAVA
SIMULA C
Quiz Start Time: 06:46 PM
Time Left 36
sec(s)
Question # 3 of 10 ( Start time: 06:48:20 PM ) Total Marks: 1
Readability is increased by adding several different features/ constructs in the language for performing same task.
Select correct option:
True
False               Not Sure
Quiz Start Time: 06:46 PM
Time Left 28
sec(s)
Question # 4 of 10 ( Start time: 06:49:26 PM ) Total Marks: 1
_____ are a type of Aliasing.
Select correct option:
Pointers
Parameters
Arrays 
Linked List
Quiz Start Time: 06:46 PM
Time Left 74
sec(s)
Question # 5 of 10 ( Start time: 06:50:47 PM ) Total Marks: 1
Programming Language is basically a tool for instructing a computer to perform specified set of task.
Select correct option:
True 
False
Quiz Start Time: 06:46 PM
Time Left 43
sec(s)
Question # 6of 10 ( Start time: 06:51:14 PM) Total Marks: 1
Following are imperative languages EXCEPT
Select correct option:
LISP 
C
FORTRAN
PASCAL
Quiz Start Time: 06:46 PM
Time Left 77
sec(s)
Question # 7of 10 ( Start time: 06:52:10 PM) Total Marks: 1
The declarative language among the following is
Select correct option:
C
PROLOG 
PASCAL
C++
Quiz Start Time: 06:46 PM
Time Left 11
sec(s)
Question # 8of 10 ( Start time: 06:52:34 PM) Total Marks: 1
Following factors influences a portable language design EXCEPT
Select correct option:
Computer architecture
Readability
Programmer’s time
Windows XP
Quiz Start Time: 06:46 PM
Time Left 23
sec(s)
Question # 9 of 10 ( Start time: 06:53:57 PM ) Total Marks: 1
Too much Orthogonality reduces Readability.
Select correct option:
True
False
Quiz Start Time: 06:46 PM
Time Left 15
sec(s)


Question # 10 of 10 ( Start time: 06:55:08 PM ) Total Marks: 1
The variable name have profound effect on _______________.
Select correct option:
Readability
Writability
Orthogonality                       Not Sure
Portability
Quiz Start Time: 06:58 PM
Time Left 68
sec(s)
Question # 1of 10 ( Start time: 06:58:08 PM) Total Marks: 1
First electronic computer was _________
Select correct option:
ENIAC 
Baggage Analytical Engine
Intel 386
IBM x86
Quiz Start Time: 06:58 PM
Time Left 27
sec(s)
Question # 4of 10 ( Start time: 06:58:57 PM) Total Marks: 1
Which of the following is an incorrect option from the following statements regarding ‘objectives of learning new languages ’?
Select correct option:
Help to compare different languages.
Help in transition from one language to other language.
Help in understanding the language piracy policy. 
Help to choose a language for development of a certain application.
Quiz Start Time: 06:58 PM
Time Left 6
sec(s)
Question # 5of 10 ( Start time: 07:00:10 PM) Total Marks: 1
SNOBOL was designed for ___________ purpose.
Select correct option:
String manipulation
AI
Business
Scientific
Quiz Start Time: 06:58 PM
Time Left 53
sec(s)
Question # 6 of 10 ( Start time: 07:01:37 PM ) Total Marks: 1
First language that provided the concept of Pointer data type was _______.
Select correct option:
COBOL
LISP
PL/1 
JAVA
Quiz Start Time: 06:58 PM
Time Left 50
sec(s)
Question # 7of 10 ( Start time: 07:02:23 PM) Total Marks: 1
PROLOG represent _______________ paradigm.
Select correct option:
Declarative 
Formal
Functional
Algorithmic
Quiz Start Time: 06:58 PM
Time Left 32
sec(s)
Question # 8of 10 ( Start time: 07:03:14 PM) Total Marks: 1
COBOL is mainly designed for _______.
Select correct option:
Scientific experiments
Business application 
AI applications
Publishing and writing algorithm
Quiz Start Time: 06:58 PM
Time Left 17
sec(s)
Question # 10of 10 ( Start time: 07:04:28 PM) Total Marks: 1
If a language provides a feature of referencing a variable in more than one way then we say that the language provides _________.
Select correct option:
Aliasing 
Data Mining
Orthogonality
Reliability


If You need any help regarding this Subject or any other subject for Assignments, GDBs and Quiz Solution then you can contact Us or Simply Join our WhatsApp Group.

Post a Comment

0 Comments