Download CS508 Past Exam Papers | |||
We have huge range of cs508 virtual university past papers available to download. You can also download cs508 midterm papers and cs508 final term papers of previous years. Please Click below cs508 past papers to download: | |||
Download cs610 mid term 1.pdf Download cs610 mid term 1.pdf Download cs610 mid term 1.pdf Download cs610 mid term 1.pdf Download cs610 mid term 1.pdf |
Download Mid Term Papers 1
Download Mid Term Papers 2
Download Mid Term Papers 3
Download Mid Term Papers 4
Download Mid Term Papers 5
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 ØMonitor3. 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 Given14. _________is more strongly typed language then __________
1) C++, C#
2) C#, C++
3) C++, Java
4) None of the given15. 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 given16. PHP supported all major Databases including_________.1) ODBC
2) Oracle
3) SQL Server
4) None Of given17. Object in java script can be accessed through ………1) Reference pointer method
2) None of the above
3) Capital letter or underscore
4) Variable18. Indexes of arrays do not start from 0 in _____ Prologv
C#v
Javav
v Ada(maybe)19. Prolog is a _____ .v declarative string manipulativev definitive v20. In __________, Enumeration type can also be used as indexes in arrays. Adam
Cm
m C++
LISPm21. In SONOBOL the size of the array can be determined at ____.S run time compile timeS array implimentationS22. In _____, Boolean values can convert to integers. C#S C++SS Java AdaS23. It is always better to find out the mistakes in the code at ________. RuntimeS
S Compile time
Link timeS
None of given optionS24. We can have nested procedures in _________ language. C++S
S Ada
CS
PROLOGS25. Indirect referencing in SONOBOL is same as of _____in C. ArraysS
S Pointers
AliasingS
StackS26. In ____ model in Javascript, we can address the client web browser. (kuch esa hi tha thik se yad nae) DOMSS BOM TOMS VOMS27. Elementary types are derived from ____ data types in Ada. primitiveSS discrete(I think) built-inS staticS28. _____ language has finally clause.S 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. 3The 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. 4PHP 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. 6PHP 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++
http://www.vuzs.info/study-portals/bscs-study-portal.htmlCS508 – Modern Programming Languages – Q. No. 8The keyword unsafe is used while dealing with_____ Loop Arrays Pointers Classes
CS508 – Modern Programming Languages – Q. No. 9Enumeration 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. 10Tasks 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. 11C# code when compiled is converted into ________ code. MSIL MISL
CS508 – Modern Programming Languages – Q. No. 12 ofIn 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. 13The 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. 14Managed 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. 15In C# the if statement condition is an/a ________ Arithmetic expression Boolean expression Numeric expression Both Numeric expression and Boolean expression http://www.vuzs.info/study-portals/bscs-study-portal.htmlCS508 – Modern Programming Languages – Q. No. 16Java code when compiled is converted into ________ code. Bit code Byte code Kbytes code Giga byte Code
CS508 – Modern Programming Languages – Q. No. 17PHP is a __________typed language. Strongly Dynamic Static None of Given
CS508 – Modern Programming Languages – Q. No. 18In ______ 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. 19C# code when compiled is converted into ________ code. MSIL MISL
CS508 – Modern Programming Languages – Q. No. 20In______ Boolean expression is convertible into integer type. C# C++ JAVA Ada http://www.vuzs.info/study-portals/bscs-study-portal.html
CS508 – Modern Programming Languages – Q. No. 21PHP syntax looks like ____________ ASP syntax C/C++ syntax
CS508 – Modern Programming Languages – Q. No. 22For narrowing conversion which type conversion is appropriate? Implicit Conversion Explicit Conversion
CS508 – Modern Programming Languages – Q. No. 23In Java we can make pointer of_________. Any type Reference type only CS508 – Modern Programming Languages – Q. No. 24In 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. 25C# support only_________ inheritance and it achieve_________ inheritance through the concept of interfaces. Multiple, multiple Single, multiple
CS508 – Modern Programming Languages – Q. No. 26Tasks 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. 27The concept of package in Java is similar to _________ Assembly in C# Global class in C#
CS508 – Modern Programming Languages – Q. No. 28The 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.infoIn 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. 30The concept of sealed class in C# is similar to ________ Struct in C#, Struct in C++ Abstract class in C# None of the given1_ 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 Prologatoms 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 EXCEPTLanguage 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 EXCEPTSelect correct option:Increased ability to learn new languagesIncreased capability to design communication links C
Increased ability to design new languagesIncreased capacity to express programming conceptsQuiz 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 CQuiz Start Time: 06:46 PM
Time Left 36
sec(s)Question # 3 of 10 ( Start time: 06:48:20 PM ) Total Marks: 1Readability is increased by adding several different features/ constructs in the language for performing same task.Select correct option:True
False Not SureQuiz 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 ListQuiz Start Time: 06:46 PM
Time Left 74
sec(s)Question # 5 of 10 ( Start time: 06:50:47 PM ) Total Marks: 1Programming Language is basically a tool for instructing a computer to perform specified set of task.Select correct option:True
FalseQuiz Start Time: 06:46 PM
Time Left 43
sec(s)Question # 6of 10 ( Start time: 06:51:14 PM) Total Marks: 1Following are imperative languages EXCEPTSelect correct option:LISP
C
FORTRAN
PASCALQuiz Start Time: 06:46 PM
Time Left 77
sec(s)Question # 7of 10 ( Start time: 06:52:10 PM) Total Marks: 1The declarative language among the following isSelect 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: 1Following factors influences a portable language design EXCEPTSelect correct option:Computer architecture
Readability
Programmer’s time
Windows XPQuiz Start Time: 06:46 PM
Time Left 23
sec(s)Question # 9 of 10 ( Start time: 06:53:57 PM ) Total Marks: 1Too much Orthogonality reduces Readability.Select correct option:True
FalseQuiz Start Time: 06:46 PM
Time Left 15
sec(s)
Question # 10 of 10 ( Start time: 06:55:08 PM ) Total Marks: 1The variable name have profound effect on _______________.Select correct option:Readability
Writability
Orthogonality Not Sure
PortabilityQuiz Start Time: 06:58 PM
Time Left 68
sec(s)Question # 1of 10 ( Start time: 06:58:08 PM) Total Marks: 1First electronic computer was _________Select correct option:ENIAC
Baggage Analytical Engine
Intel 386
IBM x86Quiz Start Time: 06:58 PM
Time Left 27
sec(s)Question # 4of 10 ( Start time: 06:58:57 PM) Total Marks: 1Which 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: 1SNOBOL was designed for ___________ purpose.Select correct option:String manipulation
AI
Business
ScientificQuiz Start Time: 06:58 PM
Time Left 53
sec(s)Question # 6 of 10 ( Start time: 07:01:37 PM ) Total Marks: 1First language that provided the concept of Pointer data type was _______.Select correct option:COBOL
LISP
PL/1
JAVAQuiz Start Time: 06:58 PM
Time Left 50
sec(s)Question # 7of 10 ( Start time: 07:02:23 PM) Total Marks: 1PROLOG represent _______________ paradigm.Select correct option:Declarative
Formal
Functional
AlgorithmicQuiz Start Time: 06:58 PM
Time Left 32
sec(s)Question # 8of 10 ( Start time: 07:03:14 PM) Total Marks: 1COBOL is mainly designed for _______.Select correct option:Scientific experiments
Business application
AI applications
Publishing and writing algorithmQuiz Start Time: 06:58 PM
Time Left 17
sec(s)Question # 10of 10 ( Start time: 07:04:28 PM) Total Marks: 1If 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
Responses