Showing posts with label year. Show all posts
Showing posts with label year. Show all posts

Web Technologies Previous Year Question Paper - Computer Science - BTech - MG University

Web technologies (WT) previous year question paper for seventh semester (s7) Computer Science and Engineering BTech Degree Examination under MGU (MG University) syllabus.

B.TECH. DEGREE EXAMINATION, NOVEMBER 2015
Seventh Semester
Branch Computer Science and Engineering
CS 01 07 01 WEB TECHNOLOGIES
(New Scheme 2010 Admission onwards)
[Regular/Supplementary]

Time: Three Hours
Maximum 100 Marks

Part A.
Answer all questions.
Each question carries 3 marks



  1. What are character entities ?
  2. Explain XML document structure.
  3. What are Perl scalars ?
  4. Mention the origins and uses of PHP.
  5. How do rails work with databases ?


Part B
Answer all questions.
Each Question carries 5 marks.


  1. Explain ordered lists and unordered lists with an example
  2. What is DTD ? Give the declaration syntax for internal and external DTDs.
  3. List and explain any five string functions in Perl.
  4. Explain about relational operators in PHP.
  5. Describe the rails layout template.

(5 x 5 = 25 marks)

Part C
Answer all questions.
Each question carries 12 marks.


  1. Discuss about the syntax and example of anchor tags and href tags.
    (12 marks)
    Or
  2. Explain CSS syntax using selector, property and value for assigning style properties
    (12 marks)
  3. (a) List the basic rules of XML.
    (6 marks)
    b) Explain the need for using document type definitions
    (6 marks)
    Or
  4. With suitable examples explain simple and complex data types in ХМL Schema.
    (12 marks)
  5. (a) Explain string functions in Perl with suitable examples
    (6 marks)
    (b) Give the syntax and example of Foreach statement in Perl.
    (6 marks)
    Or
  6. Write a program to create a hash with a set of student-name and student-id pairs. Populate the hash with five sets of data. Prompt the user for student-id and print both the details.
    (12 marks)
  7. Explain the two types of arrays in PHP with suitable examples.
    (12 marks)
    Or
  8. What is a Cookie? Explain with PHP sample code how to create, read and delete a cookie.
    (12 marks)
  9. Illustrate with meat diagrams and explain the traditional and ajax browser-server interactions.
    (12 marks)
    Or
  10. Explain how rails implements ajax in detail.
    (12 marks)
[5 × 12 = 60 marks]

Object Oriented Modeling and Design (OOMD) Previous Question Paper - S7 BTech Computer Science

Object Oriented Modeling and Design (OOMD) previous year question paper for Seventh semester (s7) BTech Degree computer science and engineering under MG University (MGU) syllabus.

B.TECH. DEGREE EXAMINATION, NOVEMBER 2015
Seventh Semester
Branch : Computer Science and Engineering
CS 010 704 - OBJECT ORIENTED MODELING AND DESIGN (CS)
(New Scheme - 2010 Admissions onwards)
[Regular/Supplementary]

Time : Three Hours
Maximum : 100 Marks

Part A
Answer all questions.
Each question carries 3 marks.


  1. Describe object modeling.
  2. What is an event and a state ?
  3. How is a target system organised using system design.
  4. What are the steps involved in object design.
  5. Mention the purpose of use case diagrams.

(5 × 3 = 15 marks)

Part B
Answer all questions.
Each question carries 5 marks.


  1. Explain link attributes and role names.
  2. Describe how operations are controlled ?
  3. Differentiate between dynamic modeling and functional modeling.
  4. List the steps to be performed by the designer during object design.
  5. Describe the class notation with an example.

(5 x 5 = 25 marks)

Part C
Answer all questions.
Each question carries 12 marks.


  1. Describe the various stages involved in the object oriented methodology.
    Or
  2. Explain in detail about the three types of object oriented models.
  3. Describe process and data flows used in data flow diagrams.
    Or
  4. Explain the following:
    (i) Entry and Exit Actions;
    (ii) Internal Actions.
  5. Explain in detail the common architectural frameworks.
    Or
  6. Describe the handling of the boundary conditions of a system.
  7. Explain the process of combining the three models to obtain operation on classes.
    Or
  8. Describe the approaches to implementation of control in object design.
  9. Explain the primary goals in the design of unified modelling language.
    Or
  10. Illustrate the sequence diagram symbols and briefly explain the notations.
(5 x 12 = 60 marks)

System Software Previous Year Question Paper For BTech Degree Examination May 2016

B.TECH DEGREE EXAMINATION, MAY 2016

Sixth Semester
Branch : Computer Science and Engineering
CS 010 603 SYSTEM SOFTWARE (CS)
(New Scheme - 2010 Admission onwards)
[Regular/Improvement/Supplementary]
Time : Three Hours
Maximum : 100 Marks

Part A
Answer all questions.
Each question carries 3 marks.


  1. Explain parameterized macros with an example.
  2. Give the format of header, text and end records in assembler output.
  3. What is an absolute loader ?
  4. What are the capabilities of a debugger ?
  5. Define block device driver.

(5 × 3 = 15 marks)
Part B
Answer all questions.
Each question carries 5 marks.


  1. How can we generate unique labels in a macro ?
  2. What is a forward reference ? How is it handled in an assembler with two passes ?
  3. What is the need for linking ?
  4. Explain text editor user interface.
  5. Write notes on general device characteristics.

(5 x 5 = 25 marks)

Part C
Answer all questions.
Each full question carries 12 marks.


  1. Explain macropreprocessor algorithm.
    Or
  2. Describe how nested macrocalls and recursive macrocalls are handled with the help of examples

  3. Give the algorithm for a single pass assembler.
    Or
  4. Explain the handling of external references by an assembler with the help of examples.

  5. Give the algorithm for linking loader.
    Or
  6. Write notes on UNIX ELF.

  7. Explain overall editor structure with a diagram.
    Or
  8. Explain how the debugger relates with other parts of the system.

  9. Give the general design and anatomy of devices.
    Or
  10. Write notes on character devices and their drivers.
(5 × 12 = 60 marks)

C and C++ Program to Check Whether a Given Year is Leap Year or Not

This is post contains a C program and a C++ program to check whether an input year is leap year or not. A year is a leap year if:

  1. The year is divisible by 400
  2. The year is divisible by 4 but not divisible by 100.
Any other year is not a leap year.

C program
#include <stdio.h>
void main()
{
int year;
printf("Enter a year to check if it is a leap year\n");
scanf("%d", &year);
if(year%400==0 || ((year%4=0) && (year%100!=0)))
printf("%d is a leap year.\n", year); else
printf("%d is not a leap year.\n", year);
}


C++ program
#include <iostream.h>
void main()
{
int year;
cout<<"Enter a year to check if it is a leap year or not";
cin>>year;
if(year%400==0 || ((year%4=0) && (year%100!=0)))
cout<<"\n"<<year<<"is a leap year."; else
cout<<"\n"<<year<<"is NOT a leap year."; 
}