This document contains a sample question paper for Class 12 Computer Science. It has 3 sections - Section A focuses on C++ programming, Section B focuses on Python programming, and Section C is compulsory for both. The paper has multiple choice, code writing, and output prediction questions. It tests concepts like OOPs, functions, arrays, classes, files handling, and more. The document provides instructions, questions across 3 pages for Section A and Section B each, with the questions ranging from 1-4 marks.
This document provides a marking scheme for a Computer Science exam for Class XII. It includes instructions, 6 sections (A through C), and multiple choice questions with parts. Section A focuses on C++ programming, Section B on Python, and Section C is compulsory for all students. Questions assess topics like functions, OOPs concepts, arrays, file handling, and more. For each part, the number of marks and what is required are specified. Sample code is provided to test understanding of concepts like data abstraction, inheritance, operator overloading and more.
Computer Science(083) Python Pre Board Exam 1 Sample Paper Class 12chinthala Vijaya Kumar
The document provides information about a pre-board examination for Computer Science including instructions, marking scheme, questions and answers.
It begins with general instructions for the paper which has two parts - Part A and Part B. Part A has two sections - short answer questions and case study questions. Part B is divided into three sections with short, long and very long answer questions.
The summary provides high-level information about the structure and format of the exam paper including its division into different parts and sections with varying question types. It does not include any specific questions or answers from the paper.
This document contains sample questions and answers related to object oriented programming concepts. It is organized into 5 units covering topics such as basic OOP principles, classes and objects, inheritance, templates and exceptions, and file handling and the standard template library. Sample questions provide explanations, code snippets, and program examples illustrating key concepts in C++ such as classes, inheritance, polymorphism, templates, exceptions, file I/O, and the STL.
This document provides the instructions and sample questions for a Computer Science exam. It details the structure and format of the exam, which consists of two parts (A and B) with multiple choice, short answer, long answer, and descriptive questions. Part A contains two sections - short answer questions to be answered in one word/line, and case study questions with subparts. Part B contains three sections - short answer questions worth 2 marks each, long answer questions worth 3 marks each, and a very long answer question worth 5 marks. All programming questions must be answered in Python. The document provides examples of different types of questions on topics like SQL, cybercrime, networks, Python programming, and more.
The document is a sample paper for Class XII Subject Informatics Practices. It consists of 3 sections - Section A with 30 marks, Section B with 20 marks each, and Section C with 20 marks each. Section A contains short answer questions, Section B contains case studies and questions, and Section C contains SQL queries and output questions. The document provides answer keys for all questions.
Object oriented programming (OOP) provides more secure programs by hiding data. This document contains a 50-question multiple choice quiz on OOP concepts for a class. It tests knowledge of OOP principles like encapsulation, inheritance, polymorphism, abstraction. It also covers Java topics like classes, objects, methods, packages. The questions range from basic syntax and terminology to analyzing code snippets and designing programs based on scenarios.
This document contains a model question paper for Class XII Computer Science subject. It includes 6 questions covering various topics like C++, OOPs, Data Structures, File Handling, SQL, Boolean Algebra etc. A blue print is provided showing the distribution of topics and marks. Each question has various subparts with varying marks. Code snippets and problems are given to test the concepts.
This document provides a marking scheme for a Computer Science exam for Class XII. It includes instructions, 6 sections (A through C), and multiple choice questions with parts. Section A focuses on C++ programming, Section B on Python, and Section C is compulsory for all students. Questions assess topics like functions, OOPs concepts, arrays, file handling, and more. For each part, the number of marks and what is required are specified. Sample code is provided to test understanding of concepts like data abstraction, inheritance, operator overloading and more.
Computer Science(083) Python Pre Board Exam 1 Sample Paper Class 12chinthala Vijaya Kumar
The document provides information about a pre-board examination for Computer Science including instructions, marking scheme, questions and answers.
It begins with general instructions for the paper which has two parts - Part A and Part B. Part A has two sections - short answer questions and case study questions. Part B is divided into three sections with short, long and very long answer questions.
The summary provides high-level information about the structure and format of the exam paper including its division into different parts and sections with varying question types. It does not include any specific questions or answers from the paper.
This document contains sample questions and answers related to object oriented programming concepts. It is organized into 5 units covering topics such as basic OOP principles, classes and objects, inheritance, templates and exceptions, and file handling and the standard template library. Sample questions provide explanations, code snippets, and program examples illustrating key concepts in C++ such as classes, inheritance, polymorphism, templates, exceptions, file I/O, and the STL.
This document provides the instructions and sample questions for a Computer Science exam. It details the structure and format of the exam, which consists of two parts (A and B) with multiple choice, short answer, long answer, and descriptive questions. Part A contains two sections - short answer questions to be answered in one word/line, and case study questions with subparts. Part B contains three sections - short answer questions worth 2 marks each, long answer questions worth 3 marks each, and a very long answer question worth 5 marks. All programming questions must be answered in Python. The document provides examples of different types of questions on topics like SQL, cybercrime, networks, Python programming, and more.
The document is a sample paper for Class XII Subject Informatics Practices. It consists of 3 sections - Section A with 30 marks, Section B with 20 marks each, and Section C with 20 marks each. Section A contains short answer questions, Section B contains case studies and questions, and Section C contains SQL queries and output questions. The document provides answer keys for all questions.
Object oriented programming (OOP) provides more secure programs by hiding data. This document contains a 50-question multiple choice quiz on OOP concepts for a class. It tests knowledge of OOP principles like encapsulation, inheritance, polymorphism, abstraction. It also covers Java topics like classes, objects, methods, packages. The questions range from basic syntax and terminology to analyzing code snippets and designing programs based on scenarios.
This document contains a model question paper for Class XII Computer Science subject. It includes 6 questions covering various topics like C++, OOPs, Data Structures, File Handling, SQL, Boolean Algebra etc. A blue print is provided showing the distribution of topics and marks. Each question has various subparts with varying marks. Code snippets and problems are given to test the concepts.
This document contains an objective section for an Object Oriented Programming exam with 40 multiple choice questions covering key OOP concepts like encapsulation, inheritance, polymorphism, and abstraction. The questions test understanding of access specifiers, class diagrams, constructors, destructors, overloading, templates, and inheritance hierarchies.
The document discusses the two-pass approach for language processing. The first pass performs lexical, syntax and semantic analysis to generate an intermediate representation (IR) including symbol tables and intermediate code. The second pass reads the IR to perform target program synthesis. The front end generates the IR while the back end performs memory allocation and code generation based on the target architecture. The example shows generating a symbol table for a C program containing variable declarations of different data types and their values.
CBSE Class 12 Computer practical Python Programs and MYSQL Rishabh-Rawat
This upload is my Computer Science Practical File for CBSE class 12 Board exam practical.
Some errors in the displaying of the content might have crept in as I prepared this file on my android. ;P
This document contains a final examination paper for an Object Oriented Programming course consisting of two sections - Section A with 40 multiple choice questions and Section B with 2 structure questions. The paper provides instructions to answer all questions, covers various CLOs (course learning outcomes) related to OOP concepts like UML, classes, objects, inheritance, polymorphism and exceptions. It tests the students' understanding of Java programming fundamentals including variable scope, data types, control structures, exception handling and more.
This document contains 24 multiple choice questions related to Java programming concepts like object oriented programming, classes, methods, conditionals, loops, and more. It is a sample of 100 multiple choice questions for a CSAP review.
The document discusses the steps involved in executing a program written in language L. These steps include translation, linking, relocation, and loading. The translator outputs an object module, which contains program code, relocation tables, and linking tables. The linker processes multiple object modules, relocating addresses and resolving external references to produce an executable binary program. It builds a name table containing symbols and their loaded addresses. This allows the linker to modify address operands to point to the correct memory locations for program execution.
This document discusses the history and features of the .NET framework. It went through 8 upgrades since its initial release in 2002. Each new version introduced additional APIs and features. The .NET framework includes the Common Language Runtime (CLR) and Framework Class Library (FCL). It allows developers to write code in multiple languages that compiles to Microsoft Intermediate Language (MSIL) and runs on the CLR.
This document provides an overview of topics related to C programming language and data structures. It begins with a list of references and introduces the author. It then outlines topics that will be covered, including arrays and pointers, strings, storage classes and memory management, file I/O, structures, bit manipulation, preprocessing, algorithms, stacks, queues, and trees. The document focuses on keywords like auto, extern, static, register, const, and volatile. It discusses functions like rand(), srand(), time(), malloc(), calloc(), and free(). It also covers designing multi-file programs and variable scopes, linkages, storage durations, and memory allocation.
The document discusses the design and implementation of the first pass of a two-pass assembler. It explains that the first pass separates symbols, mnemonics, opcodes and operands, builds a symbol table, performs location counter processing, and constructs an intermediate representation for use by the second pass. This includes entering symbols into the symbol table with their addresses, allocating memory for literals, and generating intermediate code consisting of operation codes, symbols, and literals. The example shows the symbol table, literal table, and intermediate code generated by the first pass for a sample assembly program.
The document discusses the Common Type System (CTS) in .NET framework 4.5. It defines built-in data types that can be used, including value types that directly contain data and reference types that contain references to data stored in objects. The document also discusses declaring and initializing variables, converting data types, creating user-defined types like enums and structures, control statements like if/else and loops, methods including passing parameters, and method overloading.
The document describes code generation for two commercial compilers:
1) The Borland C 3.0 compiler for the 80X86 generates assembly code using static simulation and frame pointers for function calls and local variable access.
2) The Sun 2.0 compiler for SPARCstations uses register-based calling conventions and generates efficient SPARC assembly code.
Both compilers handle code generation for arithmetic expressions, arrays, structures, pointers, control flow, and function calls.
This document appears to be an examination paper for a seventh semester Bachelor of Engineering degree course covering several subjects related to computer science and information systems. It contains 10 questions split into two parts (A and B) and directs students to answer 5 full questions total, selecting at least two from each part. The questions cover topics such as object-oriented modeling and design, information systems, programming the web, data warehousing and data mining, and Java and Java EE. It provides the code, time, marks and instructions for students taking the exam.
1. The document provides a sample question paper for Class 12 Informatics Practices with multiple choice and long answer questions.
2. It tests concepts related to networks, operating systems, databases, HTML, and programming in areas like SQL, Java, and C++.
3. The questions cover topics such as network types, communication media, software examples, variable names, data types, functions, loops, conditions, and more.
The document discusses the two-pass approach for compiler construction. The first pass analyzes the source code and generates an intermediate representation (IR) including symbol tables. The second pass analyzes the IR to perform code synthesis for the target program. The front end performs lexical, syntax and semantic analysis to build the IR. The back end performs memory allocation and code generation based on the target architecture.
C++ is an object-oriented programming language developed by Bjarne Stroustrup at AT&T Bell Lab in the year 1980. Initially it was named “C with classes” but later in 1983 the name changed to C++. It is an extension of C with..
This document contains questions for a 7th semester examination in Embedded Computing Systems. It is divided into two parts, with five questions in each part. The questions cover topics such as the definition of embedded systems, microcontrollers, real-time operating systems, embedded software development, communication interfaces, and embedded system design. Students are instructed to answer five full questions total, with at least two questions from each part.
This document outlines the final exam for an object-oriented programming course. The exam consists of two parts worth a total of 100 points and takes 150 minutes. Part I is worth 45% of the grade and contains 4 multiple choice or short answer questions about OOP concepts. Part II is worth 55% of the grade and contains 3 programming questions involving defining classes for time, fractions, workers/employees/managers and associated projects. Test programs are required to demonstrate the class implementations.
This document contains questions for an examination in Object Oriented Modeling and Design. Part A includes questions about OO methodology stages, class modeling concepts like objects, classes and attributes, and creating a class model for an undirected graph. Part B focuses on UML concepts like associations, class diagrams, use case modeling and advanced sequence modeling. It asks students to design class models, write advanced use cases, and revise diagrams to eliminate ternary associations.
The document discusses language processor development tools (LPDTs) like LEX and YACC that are used to generate the analysis phase of a compiler. LEX is a lexical analyzer generator that takes a specification of lexical units and actions to produce a scanner. YACC is a parser generator that takes a grammar specification and actions to produce a parser. These tools generate C programs for scanning and parsing along with semantic actions. An example LEX program is provided to recognize keywords, identifiers, numbers and operators in an input stream.
This document contains a sample paper for Class XII Computer Science subject. It has 7 questions covering various topics in C++ programming. Question 1 has multiple parts on variables, built-in functions, error correction, output of programs, function overloading. Question 2 covers classes, constructors, inheritance. Question 3 includes array and memory problems. Question 4 tests file handling concepts. Questions 5-7 deal with SQL, Boolean algebra, networking, and cyber crimes respectively. The paper tests a range of skills from syntax to problem solving to applying concepts.
The document provides a model question paper for class 12 computer science. It contains 7 questions covering various topics like C++, OOPs, data structures, file handling, SQL, boolean algebra and networking. The paper has a total of 70 marks distributed across different sub-questions having 1, 2, 3 or 4 marks each. Detailed blueprints specifying the marks distribution across different units is also provided.
The document contains a sample question paper for CBSE Grade 12 Computer Science exam. It includes multiple choice, short answer and long answer questions on topics like C++ programming, object oriented concepts, data structures, databases and computer networks. Some questions ask to write C++ code for tasks like defining classes, sorting arrays, implementing stacks. Others involve evaluating C++ code snippets, answering conceptual questions, writing SQL queries and solving problems on Boolean algebra and logic circuits.
This document contains an objective section for an Object Oriented Programming exam with 40 multiple choice questions covering key OOP concepts like encapsulation, inheritance, polymorphism, and abstraction. The questions test understanding of access specifiers, class diagrams, constructors, destructors, overloading, templates, and inheritance hierarchies.
The document discusses the two-pass approach for language processing. The first pass performs lexical, syntax and semantic analysis to generate an intermediate representation (IR) including symbol tables and intermediate code. The second pass reads the IR to perform target program synthesis. The front end generates the IR while the back end performs memory allocation and code generation based on the target architecture. The example shows generating a symbol table for a C program containing variable declarations of different data types and their values.
CBSE Class 12 Computer practical Python Programs and MYSQL Rishabh-Rawat
This upload is my Computer Science Practical File for CBSE class 12 Board exam practical.
Some errors in the displaying of the content might have crept in as I prepared this file on my android. ;P
This document contains a final examination paper for an Object Oriented Programming course consisting of two sections - Section A with 40 multiple choice questions and Section B with 2 structure questions. The paper provides instructions to answer all questions, covers various CLOs (course learning outcomes) related to OOP concepts like UML, classes, objects, inheritance, polymorphism and exceptions. It tests the students' understanding of Java programming fundamentals including variable scope, data types, control structures, exception handling and more.
This document contains 24 multiple choice questions related to Java programming concepts like object oriented programming, classes, methods, conditionals, loops, and more. It is a sample of 100 multiple choice questions for a CSAP review.
The document discusses the steps involved in executing a program written in language L. These steps include translation, linking, relocation, and loading. The translator outputs an object module, which contains program code, relocation tables, and linking tables. The linker processes multiple object modules, relocating addresses and resolving external references to produce an executable binary program. It builds a name table containing symbols and their loaded addresses. This allows the linker to modify address operands to point to the correct memory locations for program execution.
This document discusses the history and features of the .NET framework. It went through 8 upgrades since its initial release in 2002. Each new version introduced additional APIs and features. The .NET framework includes the Common Language Runtime (CLR) and Framework Class Library (FCL). It allows developers to write code in multiple languages that compiles to Microsoft Intermediate Language (MSIL) and runs on the CLR.
This document provides an overview of topics related to C programming language and data structures. It begins with a list of references and introduces the author. It then outlines topics that will be covered, including arrays and pointers, strings, storage classes and memory management, file I/O, structures, bit manipulation, preprocessing, algorithms, stacks, queues, and trees. The document focuses on keywords like auto, extern, static, register, const, and volatile. It discusses functions like rand(), srand(), time(), malloc(), calloc(), and free(). It also covers designing multi-file programs and variable scopes, linkages, storage durations, and memory allocation.
The document discusses the design and implementation of the first pass of a two-pass assembler. It explains that the first pass separates symbols, mnemonics, opcodes and operands, builds a symbol table, performs location counter processing, and constructs an intermediate representation for use by the second pass. This includes entering symbols into the symbol table with their addresses, allocating memory for literals, and generating intermediate code consisting of operation codes, symbols, and literals. The example shows the symbol table, literal table, and intermediate code generated by the first pass for a sample assembly program.
The document discusses the Common Type System (CTS) in .NET framework 4.5. It defines built-in data types that can be used, including value types that directly contain data and reference types that contain references to data stored in objects. The document also discusses declaring and initializing variables, converting data types, creating user-defined types like enums and structures, control statements like if/else and loops, methods including passing parameters, and method overloading.
The document describes code generation for two commercial compilers:
1) The Borland C 3.0 compiler for the 80X86 generates assembly code using static simulation and frame pointers for function calls and local variable access.
2) The Sun 2.0 compiler for SPARCstations uses register-based calling conventions and generates efficient SPARC assembly code.
Both compilers handle code generation for arithmetic expressions, arrays, structures, pointers, control flow, and function calls.
This document appears to be an examination paper for a seventh semester Bachelor of Engineering degree course covering several subjects related to computer science and information systems. It contains 10 questions split into two parts (A and B) and directs students to answer 5 full questions total, selecting at least two from each part. The questions cover topics such as object-oriented modeling and design, information systems, programming the web, data warehousing and data mining, and Java and Java EE. It provides the code, time, marks and instructions for students taking the exam.
1. The document provides a sample question paper for Class 12 Informatics Practices with multiple choice and long answer questions.
2. It tests concepts related to networks, operating systems, databases, HTML, and programming in areas like SQL, Java, and C++.
3. The questions cover topics such as network types, communication media, software examples, variable names, data types, functions, loops, conditions, and more.
The document discusses the two-pass approach for compiler construction. The first pass analyzes the source code and generates an intermediate representation (IR) including symbol tables. The second pass analyzes the IR to perform code synthesis for the target program. The front end performs lexical, syntax and semantic analysis to build the IR. The back end performs memory allocation and code generation based on the target architecture.
C++ is an object-oriented programming language developed by Bjarne Stroustrup at AT&T Bell Lab in the year 1980. Initially it was named “C with classes” but later in 1983 the name changed to C++. It is an extension of C with..
This document contains questions for a 7th semester examination in Embedded Computing Systems. It is divided into two parts, with five questions in each part. The questions cover topics such as the definition of embedded systems, microcontrollers, real-time operating systems, embedded software development, communication interfaces, and embedded system design. Students are instructed to answer five full questions total, with at least two questions from each part.
This document outlines the final exam for an object-oriented programming course. The exam consists of two parts worth a total of 100 points and takes 150 minutes. Part I is worth 45% of the grade and contains 4 multiple choice or short answer questions about OOP concepts. Part II is worth 55% of the grade and contains 3 programming questions involving defining classes for time, fractions, workers/employees/managers and associated projects. Test programs are required to demonstrate the class implementations.
This document contains questions for an examination in Object Oriented Modeling and Design. Part A includes questions about OO methodology stages, class modeling concepts like objects, classes and attributes, and creating a class model for an undirected graph. Part B focuses on UML concepts like associations, class diagrams, use case modeling and advanced sequence modeling. It asks students to design class models, write advanced use cases, and revise diagrams to eliminate ternary associations.
The document discusses language processor development tools (LPDTs) like LEX and YACC that are used to generate the analysis phase of a compiler. LEX is a lexical analyzer generator that takes a specification of lexical units and actions to produce a scanner. YACC is a parser generator that takes a grammar specification and actions to produce a parser. These tools generate C programs for scanning and parsing along with semantic actions. An example LEX program is provided to recognize keywords, identifiers, numbers and operators in an input stream.
This document contains a sample paper for Class XII Computer Science subject. It has 7 questions covering various topics in C++ programming. Question 1 has multiple parts on variables, built-in functions, error correction, output of programs, function overloading. Question 2 covers classes, constructors, inheritance. Question 3 includes array and memory problems. Question 4 tests file handling concepts. Questions 5-7 deal with SQL, Boolean algebra, networking, and cyber crimes respectively. The paper tests a range of skills from syntax to problem solving to applying concepts.
The document provides a model question paper for class 12 computer science. It contains 7 questions covering various topics like C++, OOPs, data structures, file handling, SQL, boolean algebra and networking. The paper has a total of 70 marks distributed across different sub-questions having 1, 2, 3 or 4 marks each. Detailed blueprints specifying the marks distribution across different units is also provided.
The document contains a sample question paper for CBSE Grade 12 Computer Science exam. It includes multiple choice, short answer and long answer questions on topics like C++ programming, object oriented concepts, data structures, databases and computer networks. Some questions ask to write C++ code for tasks like defining classes, sorting arrays, implementing stacks. Others involve evaluating C++ code snippets, answering conceptual questions, writing SQL queries and solving problems on Boolean algebra and logic circuits.
The document provides instructions for a Class XII pre-board examination in Informatics Practices. It consists of 5 sections (A to E) with a total of 70 marks. Section A has 18 multiple choice questions worth 1 mark each. Section B has 7 short answer questions worth 2 marks each. Section C has 5 short answer questions worth 3 marks each. Section D has 2 questions worth 4 marks each. Section E has 3 questions worth 5 marks each. All programming questions must be answered in Python.
This document is an assignment booklet for a course on Programming and Data Structures. It provides instructions for completing and submitting the assignment, which is worth 20% of the student's total grade. The assignment contains 7 questions testing knowledge of C programming concepts like data types, operators, functions, file handling, pointers, arrays and data structures like linked lists and binary trees. Students must submit the completed assignment by the given deadline.
This document provides an overview of programming in C and functions. It discusses implementing modular approaches using functions, parameters and return values of functions, passing arrays and command line arguments to functions, and using library functions for string manipulation and converting data types. Examples and practice problems are provided relating to defining and calling functions, passing arguments by value and reference, and using standard string and numeric conversion functions. The overall aim is to teach how to work with functions and data types in C programming.
This document provides a sample paper for Class XII Computer Science. It includes two sections - Section A focused on C++ programming and Section B focused on Python programming. Each section contains multiple questions testing concepts like functions, classes, inheritance, file handling, arrays, and sorting/searching algorithms. Students are required to attempt either Section A or B, along with the compulsory Section C. The questions range from writing and analyzing code snippets to higher-level conceptual questions.
This document appears to be an exam question paper that covers topics in computer networks. It contains 8 questions with subparts that assess knowledge of various networking concepts across two parts. Students are instructed to answer 5 full questions by selecting at least 2 from each part. The questions address topics such as the OSI model, transmission impairment, modulation techniques, error detection, routing algorithms, and network security.
This document contains multiple choice and short answer questions about data structures such as arrays, linked lists, stacks, queues, and trees. The multiple choice questions test knowledge of the basic properties and applications of these data structures. The short answer questions involve coding examples using recursion, stacks, queues, and linked lists to solve problems.
I am Irene M. I am a C++ Homework Expert at cpphomeworkhelp.com. I hold a Masters in Programming from from California, USA. I have been helping students with their homework for the past 10 years. I solve homework related to C++.
Visit cpphomeworkhelp.com or email info@cpphomeworkhelp.com. You can also call on +1 678 648 4277 for any assistance with C++ Homework.
This document contains a list of 23 programming problems/exercises related to C++ concepts like arrays, functions, classes, files, and data structures. Some examples include:
1) Writing a function to swap elements between columns of a 2D array.
2) Defining classes for concepts like Queue, Stack, Hotel booking etc. with relevant member functions.
3) Writing SQL queries to retrieve/manipulate data from provided tables on items, students etc.
4) Considering classes like Player derived from Coach and solving related problems.
The document provides detailed descriptions and examples for each problem/exercise.
This document contains a BIS 311 final examination with 14 multiple choice questions testing knowledge of systems analysis and design, programming logic and structures, object-oriented programming, databases, and software architecture. It provides the questions, possible answer choices for each question, and instructions for downloading the full exam answers. The questions cover topics like the systems development life cycle, pseudocode, variables, control structures, arrays, procedures, functions, classes, databases, and multi-tier architectures.
The document contains 4 sets of questions related to C programming. Set I contains questions on flowcharts, C program structure, functions, pointers, arrays, structures, file handling and sorting. Set II contains questions on preprocessor, compiler, linker, control statements, arrays, functions, sorting and linked lists. Set III contains questions on algorithms, arrays, structures, file handling, sorting and stacks. Set IV contains questions on pointers, arrays, functions, sorting, linked lists and queues. The questions cover a wide range of topics in C programming including basic syntax, functions, pointers, arrays, structures, file handling, sorting and data structures.
Name _______________________________ Class time __________.docxrosemarybdodson23141
Name: _______________________________ Class time: __________
Prewriting Instructions for Paper 2 (Final Paper due 4/22)
1. Your choices for Paper 2 are posted on blackboard and also listed below.
2. Choose 1 of these paper options. Notice that each choice also mentions the type of paper (comparison, etc.) My paper choice is: _________________________: paper type: _______________.
3. Read the related essay(s) in your Research and Composition textbook.
4. Thursday: write a tentative thesis for paper 2 (one sentence): ______________________________________________________________________________________________________________________________________________________________________________________________________________________.
5. Thursday: write 5 questions that you will need to answer through research to write this paper (for ex. What is the divorce rate for 2012?) Write legibly please.
1.
2.
3.
4.
5.
6. Thursday: go to the library and use the databases to locate at least three sources that will likely give you the information to answer the five questions above. At least one should be a book, at least one should be a database article. In addition, you may use your textbook, internet, or even refer to a film. Write down the all of the information about each source. You will need this information for a works cited page later or to locate the article and book again. You do not need to answer the questions right away, but if you do find the answers, take notes or make a copy of the source.
Source 1: ____________________________________________________________________________________________________________________________________________________________
Source 2: ____________________________________________________________________________________________________________________________________________________________
Source 3: ____________________________________________________________________________________________________________________________________________________________
7. Have any new questions come to mind? What are they? Write them here:
8. Have you revised your thesis? What is it? ___________________________________
_____________________________________________________________________.
9. Write a tentative first paragraph to paper 2 (this includes your thesis):
10. Turn this in Tuesday 3/25 in exchange for your last Q exercise, M&M Color Distribution.
***You need this prewriting exercise completed to receive your instructions and data for this last Q exercise and parts of this exercise will count for your attendance in a week or so.
See next page
Writing Assignment 2 Choices due on or before 4/22
Here are your choices for Writing Assignment 2 due 4/22. Additional research is required for all choices. Two visuals, tables or figures, are required. Your paper will be in MLA format with a works cited page. This paper is approximately 5 pages including a works cited page.
1. Read the essays in Chapter 8. Go .
Informatics practises 12th CBSE INDIA 2012-2013 MAIN EXAM paperHarish Gyanani
Here are the most appropriate controls for Shobhit's form entries:
1. ComboBox
2. TextField
3. CheckBox
4. TextArea
d) Differentiate between the following terms:
i) Web Server and Application Server
ii) Client Side Scripting and Server Side Scripting
e) Identify the tag used to insert a hyperlink in HTML. Also write an example hyperlink.
f) Identify the correct option to make a text as hyperlink in a PDF document.
g) Identify the layer of OSI model which is responsible for addressing and routing.
The document provides information about a 10th semester examination for a Bachelor of Engineering degree in Computer Systems Software. It contains 8 questions split into two parts (Part A and Part B). The questions cover topics related to computer systems software including operating systems, assembly language, macroprocessing, lexical analysis, and parsing. Students are instructed to answer 5 of the 8 questions by selecting at least 2 questions from each part. The document provides the exam details such as duration, maximum marks, and instructions for students.
This document provides a model question paper for the Programming in C and Data Structures exam with 10 questions across 5 modules. Students must answer 5 full questions, selecting one from each module. The questions assess a range of C programming concepts like variable names, operators, arrays, functions, structures, files, pointers, and data structures. They require writing programs to perform tasks like finding the largest of three numbers, checking if a number is prime, and manipulating strings and structures. Students are also asked to explain concepts such as the printf statement, relational operators, and file handling functions.
GSP 215 Effective Communication - tutorialrank.comBartholomew35
For more course tutorials visit
www.tutorialrank.com
Week 1 HomeworkCommand Line in Windows and Linux
• Using Google, research what kernel operating systems have been used in the video gaming industry. Describe the architecture and details regarding its advantages or disadvantages (i.e, consider Windows, Linux, based, etc.). A minimum of two paragraphs of research information is required, along with your own interpretation of the content.
EN3085 Assessed Coursework 1 1. Create a class Complex .docxgidmanmary
EN3085 Assessed Coursework 1
1. Create a class Complex to allow programmers the easy use of complex numbers in their programs. An
object of that class should: [5]
a. Be able to store a complex number in the most efficient way.
b. Make use of constructor and destructor functions if needed. The
constructor should take three arguments: a character indicating if the last
two arguments should be interpreted as real and imaginary parts or
magnitude and angle, and two real numbers defining the value of the
complex number. The constructor should also initialise the members of
the object appropriately, including for cases when it receives only some
or no arguments.
c. Be able to return individual element of the complex number in both
rectangular (real and imaginary) and polar form (magnitude and angle).
d. Allow modification of the stored complex number by enabling the
modification of individual elements of the complex number (both in rectangular and polar form).
e. Include a function to print on the screen the complex number, either in rectangular or polar form.
2. Create a function GetComplexListFromFile, that: [2]
a. Reads all complex numbers recorded in a text file. Each data line in the text file always consist of one of
the following, to define a complex number:
• a letter ‘p’ followed by a magnitude and an angle (in radians), all separated by a space.
• a letter ‘r’ followed by the real and imaginary parts, all separated by a space.
b. Creates for each of them an object of type Complex.
c. Stores each created Complex object in a vector to obtain a list of all complex number defined in the file.
d. Returns the resulting vector to the function call location.
3. Create a function SaveComplexListToFile that saves a provided list of Complex objects into a text file, using
the same text file format mentioned in question 2.a. [2]
4. Using the Complex class and the functions developed previously, write a main function which will in the
order provided below: [2]
a. Stores in a vector ComplexList all complex number stored in the provided file "ComplexList.txt".
b. Prints on the screen, in both rectangular and polar forms, all complex numbers stored in ComplexList.
c. Keeps asking on the screen if the user wants to add a complex number to the list and if so asks for the
relevant information and stores the provided new complex number in the vector ComplexList.
d. Saves all the object stored in ComplexList in the file "ComplexList.txt".
5. Expand the class Complex with the following overloaded member operators: binary operators "+", "-", "*",
and "/" and a unary operator "-". [4]
The operators should return complex numbers only in rectangular form and provide the standard
functionality for arithmetic operations on complex numbers. Using these operators, in the main function:
a. Calculate the sum of all complex number stored in the vector ComplexList, after the reading of the
file "ComplexList.t ...
1. The document is a half-yearly examination paper for Class 11 mathematics. It contains 4 sections with multiple choice, short answer, and long answer questions.
2. Section A contains 4 multiple choice questions related to sets, geometry, complex numbers, and factorials. Section B has 8 short answer questions on sets, functions, trigonometry, and inequalities.
3. Section C consists of 11 long answer questions covering domains, ranges, proofs, trigonometric equations, complex numbers, integrals, and word problems involving mixtures, combinations, and expressions. Section D has 6 multi-part long answer questions involving sets, proofs, trigonometric identities, inequalities, and expansions of binomial expressions
This document contains a sample physics question paper for Class 12 with 26 questions across 5 sections (A-E). It provides general instructions, details of questions in each section, and values of important physical constants. Section A contains 5 one-mark questions, Section B has 5 two-mark questions, Section C has 12 three-mark questions, Section D has 1 four-mark question and Section E contains 3 five-mark questions. The document tests students' understanding of concepts in electricity, magnetism, electromagnetic waves, optics, modern physics and electronics.
This document contains a marking scheme for a Physics sample question paper from 2018. It includes 5 sections - Section A with 5 one-mark questions, Section B with 6 questions ranging from 1/2 to 3 marks, Section C with 4 questions ranging from 1 to 5 marks, Section D with 3 one-mark questions and Section E with 7 questions ranging from 1 to 5 marks. The marking scheme provides details about the expected answers for each question such as concepts, principles, diagrams, calculations and numerical values involved. It also specifies the marks allocated for different parts of each question.
This document contains a sample question paper for mathematics class 12 with 29 questions divided into 4 sections (A, B, C, D). Section A contains 1 mark questions, Section B contains 2 mark questions, Section C contains 4 mark questions, and Section D contains 6 mark questions. The questions cover topics in mathematics including matrices, trigonometry, calculus, probability, and linear programming. The document provides instructions for the paper and lists the specific questions in each section.
This document contains the marking scheme for the Mathematics exam of class 12 from the year 2017-18. It lists 12 questions from Section A, 7 questions from Section B, and 4 questions from Section C along with the marks assigned to each question. For most questions, the full solution is provided with marks assigned based on the steps shown. The marking scheme provides the question numbers, expected answers, and total marks to evaluate student responses on the Mathematics exam.
This passage is a summary of a sample English question paper for grade 12. It contains 3 sections:
1) Reading comprehension with short answer questions about passages.
2) Writing skills section with letter/notice/article writing questions.
3) Literature section with short answer questions from prescribed texts.
The summary provides an overview of the paper's structure and content in 3 sentences or less.
This document provides the instructions and questions for a chemistry exam. It is divided into short answer questions worth 1-3 marks each and long answer questions worth 5 marks each. The short answer questions cover topics like organic reactions, electrolytes, thermodynamics, and acid-base chemistry. The long answer questions require explaining concepts like crystal structures, isomerism, and corrosion processes. Students have 3 hours to complete the exam, which is out of a total of 70 marks. Calculators are not allowed.
1. Ferrimagnetism is shown by substances that lose their magnetic properties on heating and become paramagnetic. They have partially filled d orbitals.
2. The molar conductivity of solution B is higher than that of solution A because it has more particles conducting electricity as it is more concentrated.
3. Extraction of gold involves leaching with a dilute solution of sodium cyanide in the presence of air to form a soluble gold-cyanide complex from which gold is recovered.
This document discusses biomolecules such as carbohydrates, proteins, vitamins, and nucleic acids. It provides 15 points about the classification and properties of these biomolecules. It then lists 31 short answer questions about the structure and functions of biomolecules, including questions about carbohydrates like glucose and fructose, proteins like enzymes and keratin, vitamins, and nucleic acids like DNA and RNA.
The document provides a list of 14 chemistry questions related to amines. It asks students to name amines, describe various reactions involving amines such as Hoffman bromamide reaction and Gabriel phthalimide synthesis, explain properties of primary, secondary and tertiary amines, and identify reactants and products in reaction sequences involving amines. Students are asked to explain various observations about amines and aromatic amines. The document also contains multiple choice questions testing identification of amine isomers and reaction sequences involving amines.
The document provides information about alcohols, phenols, and ethers. It includes questions about naming compounds, drawing structures, describing reactions involving these functional groups, predicting products, identifying reactants and products, explaining mechanisms, and more. Multiple choice and short answer questions cover topics like relative acidities, distinguishing compounds, synthesis, and determining structures based on reaction sequences.
This document provides questions and problems related to haloalkanes and haloarenes. It tests understanding of IUPAC naming of haloorganic compounds, drawing their structures, comparing their physical properties and reactivity, identifying reaction mechanisms and products, and distinguishing between different types of organic reactions such as substitution and elimination. Key concepts covered include nucleophilic and electrophilic substitution, SN1 and SN2 pathways, E1 and E2 elimination, isomerism, chirality and stereochemistry.
This document contains a chemistry document about coordination compounds with questions for practice. It includes:
- Very short answer (1 mark) questions testing definitions and names of coordination compounds.
- Short answer (2 mark) questions requiring explanations and examples of coordination compound concepts.
- Short answer (3 mark) questions requiring explanations, drawings of structures, and applications of coordination compounds using concepts like isomerism, crystal field theory and magnetic properties.
The document discusses the electronic configurations and properties of d-block elements. It begins by defining transition metals as elements whose atoms have partly filled d-orbitals. It then discusses exceptions to the general electronic configuration formula due to energy differences between orbitals. Subsequent paragraphs explain how to write electronic configurations of ions and discuss properties related to ionization energies and oxidation states. The document also discusses crystal field splitting of d-orbitals and how this relates to the formation of colored transition metal complexes. It compares the oxidizing powers of KMnO4 and K2Cr2O7 and discusses the common and stable oxidation states of lanthanides.
The document discusses the anomalous behavior of the first member of p-block elements. It is attributed to their small size, high charge to radius ratio, and unavailability of d-orbitals. As a result, the first element shows maximum covalency of 4 while others show more than 4 due to vacant d-orbitals. The first member also forms pi-pi bonds more easily than subsequent members. Hydrides of nitrogen have higher melting and boiling points than phosphorus hydrides due to hydrogen bonding in nitrogen hydrides. Oxoacids get stronger with increasing electronegativity and oxidation state of the element.
This document contains questions related to chemistry principles and processes for isolating elements. It includes multiple choice and short answer questions testing knowledge of extraction methods for metals like copper, aluminum, zinc, and iron. Sample questions cover topics like froth flotation processes, the use of collectors and stabilizers, extraction from different types of ores, and purification methods like electrolytic refining and zone refining.
This document contains a list of 31 questions related to surface chemistry and colloids. The questions cover topics such as adsorption, catalysts, enzymes, emulsions, gels, and colloidal systems. Example questions include defining terms like sorption and desorption, explaining how temperature affects chemisorption, naming catalysts used in industrial processes like the Haber process, and describing the role of emulsifying agents in forming emulsions. The document also provides context for some answers and hints to help solve other questions.
This document discusses chemical kinetics, which is the branch of chemistry that deals with the rates of chemical reactions. It defines key terms like rate of reaction, average rate of reaction, instantaneous rate of reaction, rate constant, rate law, order of reaction, molecularity, activation energy, temperature coefficient, and half-life period. The various factors that affect the rate of a reaction are also listed, including concentration, surface area, temperature, nature of reactants, presence of a catalyst, and radiation. The Arrhenius equation relating reaction rate to temperature is presented.
This document contains chemistry questions related to solutions. It includes questions about types of solutions, properties of solutions like boiling point elevation and freezing point depression, and calculations involving molarity, molality, and vapor pressure. The questions cover topics like ideal and non-ideal solutions, Raoult's law, colligative properties, and van't Hoff factor.
The document contains a chemistry unit on the solid state with questions ranging from one to three marks. It includes questions about crystal lattices, crystal defects, stoichiometric and non-stoichiometric defects, crystal structures, and properties of solids such as ionic bonding and conductivity. Numerical problems calculate properties like density from information about the unit cell structure and composition.
This presentation includes basic of PCOS their pathology and treatment and also Ayurveda correlation of PCOS and Ayurvedic line of treatment mentioned in classics.
This slide is special for master students (MIBS & MIFB) in UUM. Also useful for readers who are interested in the topic of contemporary Islamic banking.
Main Java[All of the Base Concepts}.docxadhitya5119
This is part 1 of my Java Learning Journey. This Contains Custom methods, classes, constructors, packages, multithreading , try- catch block, finally block and more.
Executive Directors Chat Leveraging AI for Diversity, Equity, and InclusionTechSoup
Let’s explore the intersection of technology and equity in the final session of our DEI series. Discover how AI tools, like ChatGPT, can be used to support and enhance your nonprofit's DEI initiatives. Participants will gain insights into practical AI applications and get tips for leveraging technology to advance their DEI goals.
A workshop hosted by the South African Journal of Science aimed at postgraduate students and early career researchers with little or no experience in writing and publishing journal articles.
How to Setup Warehouse & Location in Odoo 17 InventoryCeline George
In this slide, we'll explore how to set up warehouses and locations in Odoo 17 Inventory. This will help us manage our stock effectively, track inventory levels, and streamline warehouse operations.
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPRAHUL
This Dissertation explores the particular circumstances of Mirzapur, a region located in the
core of India. Mirzapur, with its varied terrains and abundant biodiversity, offers an optimal
environment for investigating the changes in vegetation cover dynamics. Our study utilizes
advanced technologies such as GIS (Geographic Information Systems) and Remote sensing to
analyze the transformations that have taken place over the course of a decade.
The complex relationship between human activities and the environment has been the focus
of extensive research and worry. As the global community grapples with swift urbanization,
population expansion, and economic progress, the effects on natural ecosystems are becoming
more evident. A crucial element of this impact is the alteration of vegetation cover, which plays a
significant role in maintaining the ecological equilibrium of our planet.Land serves as the foundation for all human activities and provides the necessary materials for
these activities. As the most crucial natural resource, its utilization by humans results in different
'Land uses,' which are determined by both human activities and the physical characteristics of the
land.
The utilization of land is impacted by human needs and environmental factors. In countries
like India, rapid population growth and the emphasis on extensive resource exploitation can lead
to significant land degradation, adversely affecting the region's land cover.
Therefore, human intervention has significantly influenced land use patterns over many
centuries, evolving its structure over time and space. In the present era, these changes have
accelerated due to factors such as agriculture and urbanization. Information regarding land use and
cover is essential for various planning and management tasks related to the Earth's surface,
providing crucial environmental data for scientific, resource management, policy purposes, and
diverse human activities.
Accurate understanding of land use and cover is imperative for the development planning
of any area. Consequently, a wide range of professionals, including earth system scientists, land
and water managers, and urban planners, are interested in obtaining data on land use and cover
changes, conversion trends, and other related patterns. The spatial dimensions of land use and
cover support policymakers and scientists in making well-informed decisions, as alterations in
these patterns indicate shifts in economic and social conditions. Monitoring such changes with the
help of Advanced technologies like Remote Sensing and Geographic Information Systems is
crucial for coordinated efforts across different administrative levels. Advanced technologies like
Remote Sensing and Geographic Information Systems
9
Changes in vegetation cover refer to variations in the distribution, composition, and overall
structure of plant communities across different temporal and spatial scales. These changes can
occur natural.
The simplified electron and muon model, Oscillating Spacetime: The Foundation...RitikBhardwaj56
Discover the Simplified Electron and Muon Model: A New Wave-Based Approach to Understanding Particles delves into a groundbreaking theory that presents electrons and muons as rotating soliton waves within oscillating spacetime. Geared towards students, researchers, and science buffs, this book breaks down complex ideas into simple explanations. It covers topics such as electron waves, temporal dynamics, and the implications of this model on particle physics. With clear illustrations and easy-to-follow explanations, readers will gain a new outlook on the universe's fundamental nature.
Azure Interview Questions and Answers PDF By ScholarHat
Computer science sqp
1. Page No. 1
SAMPLE QUESTION PAPER
Subject: Computer Science
Class: XII (2017-18)
Time: 3 Hrs. M.M.:70
Instructions:
(a) All questions are compulsory,
(b) Answer either Section A or Section B:
(i) Section A - Programming Language with C++
(ii) Section B - Programming Language with Python
(c) Section C is compulsory.
SECTION – A (C++)
Q.
No.
Part Question Description Marks
Q1. (a) What is the role of a parameter/argument passed in a function? Can a default value be
assigned to a parameter(Yes/No)? If yes, justify your answer with the help of a suitable
example otherwise give reason.
2
(b) Raman suggests Kishan the following header files which are required to be included in
the given C++ program. Identify the header files which are wrongly suggested by
Raman.
Program:
Suggested header files:-
1. iostream.h
2. stdio.h
3. conio.h
4. ctype.h
1
(c) Rewrite the following program after removing the syntactical errors (is any). Underline
each correction.
2
2. Page No. 2
(d) Write the output of the following C++ program code(assume all necessary header files
are included in program):
2
(e) Write the output of the following C++ program code(assume all necessary header files
are included in program):
3
3. Page No. 3
(f) Consider the following C++ program code and choose the option(s) which are not
possible as output. Also, print the minimum & maximum value of variable Pick during
complete execution of the program.(assume all necessary header files are included in
program):
(a) 5:6:6:6:
(b) 4:7:5:3:
(c) 8:6:1:2:
(d) 7:5:3:1
2
Q2. (a) What do you mean by Data Abstraction in OOPs? Explain its significance in
programming with a suitable example.
2
(b) Answer the question (i) & (ii) after going through the following code. (assume all
necessary header files are included in program):-
2
4. Page No. 4
(i) Give the name of the feature of OOP which is implemented by Function 1 &
2 together in the above class Game.
(ii) Anuj made make changes to the above class Game and made Function 3
private. Will he be able to execute the Line 1 successfully given below?
Justify.
void main()
{
Game ABC; //Line 1
}
(c) Define a class Bill in OOP with the following specification:-
Private members:
1. Bill_no - type long(bill number)
2. Bill_period - type integer(number of months)
3. No_of_calls - type integer(number of mobile calls)
4. Payment_mode - type string(“online” or “offline”)
5. Amount - type float(amount of bill)
6. Calculate_Bill() function to calculate the amount of bill given as per the
following conditions:
No_of_calls
Calculation Rate/call
(in rupees)
<=500 1.0
501-1200 2.0
4
5. Page No. 5
>1200 4.0
Also, the value of Amount should be reduced by 5% if Payment_mode is
“online”.
Public members:
1. A member function New_Bill() that will accept the values for Bill_no,
Bill_period, No_of_calls, Payment_mode from the user and invoke
Caluclate_Bill() to assign the value of Amount.
2. A member function Print_Bill() that will display all details of a Bill.
(d) Answer the question from (i) to (iv) based on the given below code(assume all necessary
header files are included in program):-
(i) Write name of the class whose constructor is invoked first on the creation of a
new object of class Country.
(ii) Write name of the data members which are accessible through the object of
4
6. Page No. 6
class Country.
(iii) List name of the members which are accessible through the member function
“void New_Country()”.
(iv) What will be the size(in bytes) of an object of class Country & State
respectively.
Q3 (a) Write the definition of function named Array_Swap() that will accept an integer array &
its size as arguments and the function will interchange/swap elements in such a way that
the first element is swapped with the last element, second element is swapped with the
second last element and son on, only if anyone or both the elements are odd.
E.g. if initially array of seven elements is:
5, 16, 4, 7, 19, 8, 2
After execution of the above function, the contents of the array will be:
2,16, 19, 7, 4, 8, 5
3
(b) An array A[50][30] is stored along the row in the memory with each element requiring 4
bytes of storage. If the element A[10][15] is stored at 21500, then find out the base
address of the array and the memory address of element stored at location A[30][25]?
3
(c) Write the definition of a member function Q_Insert() for a class Exam_Queue in C++
to insert a new Application information in a dynamically allocated queue whose code is
already given below as a part of the program(assume all necessary header files are
included in program):
4
(d) Write the definition of a user-defined function REPEAT_ROW(int A[][3],int R, int C)
in C++ that will store the elements in the following manner
1. All row elements except the 1st
element replaced by the 1st
element,
2. All row elements except the 1st
& 2nd
element replaced by the 2nd
element,
2
7. Page No. 7
3. All row elements except the 1st
, 2nd
& 3rd
element replaced by the 3rd
element and
so on.
For example: if initially the array was:-
5 6 10 2
2 6 9 12
18 14 5 6
Then, the contents of the array after execution of the above function will be:-
5 5 5 5
2 6 6 6
18 14 14 14
(e) Evaluate the following POSTFIX expression. Show the status of Stack after execution of
each operation separately:
TRUE, FALSE, OR, NOT, TRUE, FALSE, AND, OR
2
Q4. (a) Answer the questions (i) & (ii) in the program segment given below for the required task.
(i) Write Statement 1 to position the file pointer to the appropriate place so that
the data updation is done for the correct Route.
1
8. Page No. 8
(ii) Write Statement 2 to perform the write operation so that the updation is done
in the binary file “ROUTE.DAT”.
(b) Write a user-defined function named Count() that will read the contents of text file
named “Report.txt” and count the number of lines which starts with either ‘I’ or ‘M’.
E.g. In the following paragraph, there are 2 lines starting with ‘I’ or ‘M’:
“India is the fastest growing economy.
India is looking for more investments around the globe.
The whole world is looking at India as a great market.
Moreover, China is lying behind India.”
2
(c) Consider the following class Item:-
Write a function named Change_Item(int Id, float Pr) to modify the price of the item
whose ItemId & new price are passed as an argument.
3
SECTION – B (Python)
Q1 (a)
Differentiate between break and continue statement with the help of an example.
2
(b) Identify and write the name of the module to which the following functions belong:
i. ceil( ) ii. findall()
1
(c) Observe the following Python code very carefully and rewrite it after removing all
syntactical errors with each correction underlined.
2
9. Page No. 9
(d) Write the output of the following Python code: 2
(e) Write the output of the following Python program code: 3
(f) Study the following program and select the possible output(s) from the options (i) to (iv)
following it. Also, write the maximum and the minimum values that can be assigned to
the variable Y.
i) 0 : 0
ii) 1 : 0
iii) 2 : 4
iv) 0 : 3
2
Q2 (a) Explain operator overloading with the help of an example. 2
(b) Observe the following Python code and answer the questions (i) and (ii):
(i) How is data member ‘count’ different from data member ‘Author’? 1
(ii) Fill in the blanks:
B= BOOK()
1
10. Page No. 10
______________________________ #Write statement to invoke Function 2
______________________________ #Write statement to invoke Function 3
(c) Define a class COURSE in Python with the following description :
Instance Attributes:
REGNO Integer
CNAME String
Score Float
Fees Float
Methods:
A constructor to assign REGNO as 0, Score and Fees as 0.0
SetCourse() to assign Course and Fees on the basis of the Score input as
per the following criteria:
Score CNAME Fees
>=9.0 -<=10.0 Clinical Psychology 10000.0
>=8.0 - <9.0 Corporate Counselling 8000.0
>=5.0 - <8.0 Guidance and
Counselling 6000.0
less than 5.0 Not Eligible 0.0
GETDATA() to input REGNO and Score and invoke SetCourse()
DISPLAY() to display all the details.
4
(d) Answer the questions (i) and (ii) based on the following: 4
(i) Explain the relationship between Line 1 , Line 2 and Line 3.
(ii) Predict the output that will be produced on the execution of the following statements :
11. Page No. 11
Q3 (a) Write the definition of a function Reverse(X) in Python, to display the elements in
reverse order such that each displayed element is the twice of the original element
(element * 2) of the List X in the following manner:
Example:
If List X contains 7 integers is as follows:
X[0] X[1] X[2] X[3] X[4] X[5] X[6]
4 8 7 5 6 2 10
After executing the function, the array content should be displayed as follows:
20 4 12 10 14 16 8
2
(b) Consider the following unsorted list :
[22, 54, 12, 90, 55, 78]
Write the passes of selection sort for sorting the list in ascending order till the 3rd
iteration.
3
(c) Consider the following class Order and do as directed:
:
:
i. Fill in the blank 1 with a statement to insert OID in the Queue maintained using List
L.
ii. Complete the definition of delorder() to delete OID from the Queue maintained using
List L, the function should return the OID being deleted or -1 in case the Queue is empty.
4
d) Write a generator function to generate odd numbers between a and b(including b).Note: a
and b are received as an argument by the function.
3
(e) Evaluate the following postfix expression using a stack. Show the contents of stack after
execution of each operation:
10,40,25,-,*,15,4,*,+
2
Q4. (a) Nancy intends to position the file pointer to the beginning of a text file. Write Python
statement for the same assuming F is the File object.
1
(b) Write a function countmy( )in Python to read the text file “DATA.TXT” and count the
number of times “my” occurs in the file.
For example if the file “DATA.TXT” contains:
“This is my website. I have displayed my preferences in the CHOICE section.”
The countmy( ) function should display the output as:
“my occurs 2 times”.
2
(c) Write a function in python to search and display details of all those students, whose
stream is “HUMANITIES” from pickled file “Student.dat”. Assuming the pickled file is
containing the objects of the following class:
3
Blank 1
12. Page No. 12
SECTION – C
Q5 (a) Differentiate between DDL & DML. Identify DDL & DML commands from the
following:-
(UPDATE, SELECT, ALTER, DROP)
2
(b) Consider the following relation MobileMaster & MobileStock:-
MobileMaster
M_Id M_Company M_Name M_Price M_Mf_Date
MB001 Samsung Galaxy 4500 2013-02-12
MB003 Nokia N1100 2250 2011-04-15
MB004 Micromax Unite3 4500 2016-10-17
MB005 Sony XperiaM 7500 2017-11-20
MB006 Oppo SelfieEx 8500 2010-08-21
MobileStock
S_Id M_Id M_Qty M_Supplier
S001 MB004 450 New Vision
S002 MB003 250 Praveen Gallery
S003 MB001 300 Classic Mobile Store
S004 MB006 150 A-one Mobiles
S005 MB003 150 The Mobile
S006 MB006 50 Mobile Centre
Write the SQL query for questions from (i) to (iv) & write the output of SQL command
for questions from (v) to (viii) given below:-
(i) Display the Mobile company, name & price in descending order of their
manufacturing date,
6
13. Page No. 13
(ii) List the details of mobile whose name starts with ‘S’ or ends with ‘a’,
(iii) Display the Mobile supplier & quantity of all mobiles except ‘MB003’,
(iv) List showing the name of mobile company having price between 3000 &
5000,
(v) SELECT M_Id, SUM(M_Qty) FROM MobileStock GROUP BY M_Id;
(vi) SELECT MAX(M_Date), MIN(M_Date) FROM MobileMaster;
(vii) SELECT M1.M_Id, M1.M_Name, M2.M_Qty, M2.M_Supplier FROM
MobileMaster M1, MobileStock M2 WHERE M1.M_Id=M2.M_Id AND
M2.M_Qty>=300;
(viii) SELECT AVG(M_Price) FROM MobileMaster;
Q6. (a) State & prove De-Morgan’s law using truth table. 2
(b) Draw the equivalent logic circuit diagram of the following Boolean expression:-
(A’ + B).C’
2
(c) Write the SOP form for the Boolean Function F(X,Y,Z) represented by the given truth
table:-
X Y Z F
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 1
1 1 1 1
1
(d) Reduce the following Boolean expression using K-Map:-
F(U,V,W,Z)= π(0,2,5,7,12,13,15)
3
Q7. (a) A teacher provides “http://www.XtSchool.com/default.aspx” to his/her students to
identify the URL & domain name.
1
(b) Which out of the following does not come under Cyber Crime?
(i) Copying data from the social networking account of a person without his/her
information & consent.
(ii) Deleting some files, images, videos, etc. from a friend’s computer with his consent.
(iii) Viewing & transferring funds digitally from a person’s bank account without
his/her knowledge.
(iv) Intentionally making a false account on the name of a celebrity on a social
networking site.
1
14. Page No. 14
(c) Expand the following:-
1. GSM 2. TDMA
1
(d) What is the significance of cookies stored on a computer? 1
(e) Kabir wants to purchase a Book online and he has placed the order for that book using an
e-commerce website. Now, he is going to pay the amount for that book online using his
Mobile, then he needs which of the following to complete the online transaction:-
1. A bank account,
2. Mobile phone which is attached to above bank account,
3. The mobile banking app of the above bank installed on that mobile,
4. Login credentials(UID & Pwd) provided by the bank,
5. Or all of above.
1
(f) What do you mean by data encryption? For what purpose it is used for? 1
(g) Sanskar University of Himachal Pradesh is setting up a secured network for its campus at
Himachal Pradesh for operating their day-to-day office & web based activities. They are
planning to have network connectivity between four buildings. Answer the question (i) to
(iv) after going through the building positions in the campus & other details which are
given below:
The distances between various buildings of university are given as:-
Building 1 Building 2 Distance(in mtrs.)
Main Admin 50
Main Finance 100
Main Academic 70
Admin Finance 50
Finance Academic 70
Admin Academic 60
Number of computers:-
Main
BuildingAdmin
Finance
Academic
15. Page No. 15
********
Building No. of Computers
Main 150
Admin 75
Finance 50
Academic 60
As a network expert, you are required to give best possible solutions for the given
queries of the university administration:-
(a) Suggest cable layout for the connections between the various buildings,
(b) Suggest the most suitable building to house the server of the network of the
university,
(c) Suggest the placement of following devices with justification:
1. Switch/Hub
2. Repeater
(d) Suggest the technology out of the following for setting-up very fast Internet
connectivity among buildings of the university
1. Optical Fibre
2. Coaxial cable
(e) Ethernet Cable
1
1
1
1