CS508 Final term Paper 2006-1

CS508 Final Term 2006 Paper – Modern Programming Languages

FALL 2006 - Session – 1

           
M = Marks= 60
Time: 120min
                                                                       
CS508 - Modern Programming Languages - Q. No. 1    ( M -  2 )   
            Java has a String class which is not exactly an array of                     
            ►        Char
            ►        Elements
            ►        Indices
            ►       Long

CS508 - Modern Programming Languages - Q. No. 2    ( M -  2 )   
            How many string operators are in PHP?
                       
            ►        2
            ►        3
            ►        4
            ►      10       

CS508 - Modern Programming Languages - Q. No. 3    ( M -  2 )    
            If you want an argument to a function to always be passed by reference, you can prepend                        
            ►        Percentage sign (%) to the argument name in the function definition
            ►        Dollar sign ($)to the argument name in the function definition
            ►        An ampersand (&) to the argument name in the function definition
            ►      Tilled sign (~)to the argument name in the function definition

CS508 - Modern Programming Languages - Q. No. 4    ( M -  2 )    
            How many modes for the source code are in C# ?
                       
            ►        One
            ►        Two
            ►        Three
            ►        Four

CS508 - Modern Programming Languages - Q. No. 5    ( M -  2 )    
            Which chaining type is used by Prolog?
                       
            ►        Backward
            ►        Forward
            ►        Up
            ►        Horizontal

CS508 - Modern Programming Languages - Q. No. 6    ( M -  10 )
            What is meant by binding time? What are the five possible binding times? Explain each briefly.

http://www.vuzs.net/study-portals/bscs-study-portal.html 

CS508 - Modern Programming Languages - Q. No. 7    ( M -  10 )
            What are the enumeration and subrange types? Differentiate these two in points.

CS508 - Modern Programming Languages - Q. No. 8    ( M -  10 )
            a) What is the purpose of type conversion? (5)
            b)  Differentiate between the implicit and explicit type conversion with respect to Java. (5)

CS508 - Modern Programming Languages - Q. No. 9    ( M -  10 )
            a) What are interpreted and compiled languages? Give examples (5)
            b) Differentiate between client side scripting and server side scripting languages? (5)

CS508 - Modern Programming Languages - Q. No. 10    ( M -  10 )
            a) Describe the programming steps in Prolog?  (5)
            b) Explain the Prolog features regarding its applications in real world. (5)

Leave a Reply

Related Posts Plugin for WordPress, Blogger...