# Computer Science. (330) Tutor Mark Assignment

Save this PDF as:

Size: px
Start display at page:

## Transcription

1 Computer Science (330) Tutor Mark Assignment Max. Marks: 20 Note: (i) All questions are compulsory. The marks alloted for each question are given at same place. (ii) Write your name, enrolment number, AI name and subject etc. on the top of the first page of the answer sheet. 1. Attempt any 1 (2 marks each) a. Arrange the following operations according to a data processing cycle and write the name of the operation. (i) A person inputs data of 50 students containing their name, age and class. (ii) Students information is printed on a paper. (iii) Students information is copied on a CD. (iv) Students data is processed to find the no. of students of same age b. (i) Define the term Record 1 (ii) Following are two types of records. Identify fixed length and variable length records among these- (A) Record A Record B Record C Record D 20 bytes 30 bytes 28 bytes 22 bytes 100 bytes ½ (B) Record A Record B Record C Record D 30 bytes 30 bytes 30 bytes 30 bytes 120 bytes ½ c. Mohan creates a folder of his name in My Documents. Then he creates its shortcut on the desktop. After some time, he wants to change its name to ABC, then he makes a text file Biodata and saves this file in folder ABC. Write the steps which Mohan follows to do the above activities. 2 d. Sunil wants to view the files stored in (i) the hard disk (ii) the external storage. He also wants to check the space available in C and D drives. Write the steps Sunil will follow to do the above.2 2. Attempt any 1 (2 marks each) a. (i) What is the full form of LAN and WAN? 1 Computer network in two banks situated in two different cities about 100km apart, are connected through telephone wires, identify the type of network? ½ Computer Science 101

2 (ii) Identify the type of network topology used in the following: In a LAN connection, seven computers are connected to a central computer. Computer No. 2 wants to send a message to computer no. 6, but the message, instead of going directly, goes via the central computer only. ½ b. Write the name of the service used by the person in the following situation: (a) Ram plans to go on a holiday trip. He wants to book train tickets, hotels etc. through Internet and makes payment through credit cards. 1 (b) A company General Manager wants to conduct meeting with his junior staff members who are located in different branches. These staff members are not required to be present physically but at the same time they can be able to see each other. 1 c. Evaluate the following C++ expressions. (i) int a = 5, b = 7, c; 1 c= a * a + b * b; (ii) int i = 10, j = 20, k; 1 k = ( i + j)/3; d. What will be the value of i after execution of the following C++ expressions: (i) float i, j, k; 1 j = ; k = ; i = j + k; (ii) int j = 8; 1 float k = 5.2, i; i = (( j*j k* 5) *2); 3. Attempt any 1 (2 Marks each) a. Write a function for evaluating the area of a rectangle having sides a and b. Both sides and the area should be taken as float values. 2 b. Write a program which accepts 10 integers in an array and then arrange the array in ascending order. 2 c. Write a structure specification in C++ for the record given below: 2 Name_ EnggCollege char (30) Name_University char (30) Year_ Estd int (4) No_Students int (5) Name of this structure will be ENGGCOL 2 d. Consider the class student given below: 2 class student 102 Computer Science

3 char name [30], fathers_name [30], grade [1] ; int Roll_no [5], marks [3] ; } ; Write a Parameterized constructor for this class which can take the value of Name and Roll no. and marks of the students. Display the grade as per the following criteria. Marks > = 90 then Grade A Marks < 90 and marks >=70 then grade B Marks < 70 then grade C 2 4. Attempt any 1 (4 marks each) a. (i) Name any four input and four output devices. 2 (ii) Write the name of the input device you will use, if you want to upload your photograph in the computer. 1 (iii) Write the name of the device used in the Banks to read the special characters printed with magnetic material on the cheques. 1 b (i) What will be the value of counter and num variable after the execution of the following program. 2 void main ( ) int counter = 1 ; int digit = 0, num = 2; while (digit < = 10) ++ counter; num ++; ++ digit; cout << counter; cout << num; } (ii) what will be the output of the following C++ code? 2 # include <stdio.h> # include <iostream.h> void main ( ) char A [100]; char B [160]; cout << Input string ; gets (A); puts (A); tolower (A); cout << Input new string ; gets (B); strcpy (A,B); cout << Final String is << A ; Computer Science 103

4 } c. Write the equivalent C++ expression for the following algebraic expressions: (i) a 2 3 C (a+b) 2 (ii) (3ab/c) + (2bc/a) 2 d. (i) Rachna plans a party and designs an invitation card in WORD. She saves this file as greeting.docx in My documents. Now she wants to send this card attached with an to 5 of her friends using single without typing it 5 times. Write the steps she follows. 3 (ii) Write the various categories of organisation which are hosting the mail server. 1 Example (.com) 5. Attempt any 1 (4 marks each) a. class Book char book_name[20], writer [20]; int no_of_pages; public: void read(); void show(); }; class Tbook: private Book int no_of_lessons, no_of_exercises; protected: int standard; public: void readtbook(); void showtbook(); }; class sciencebook: public tbook char topic[20]; public: void readsciencebook(); void showsciencebook(); }; (i) Name the data members and member functions which can be accessed from the member function of class sciencebook. 2 (ii) Name the member functions which can be accessed by an object of (a) class tbook (b) class sciencebook 2 b. Write a C++ program as per the following instructions: 104 Computer Science

5 (i) Write a C++ code which reads the contents of a text file first_file.txt 1 (ii) Write a function named vowel_words() which will segregate the words starting with vowels from the first_file.txt 2 (iii) Write a C++ code which writes the resultant words to the output file, second_file.txt. 1 Example: Content of first_file I am going to buy an umbrella Output in second_file.txt I am an umbrella c. Write a menu driven program of arithmetic operation on two numbers. User will select the operation (+, -, *, /) and will input the number (any two). Write separate functions for each arithmetic operation. 4 funct_add funct_subtract funct_multiply funct_division d. Write a program to create an array which stores the details of 25 students (name, rollno, marks in four subjects) and print the list of students who have failed in more than one subject (passing marks >= 30) 4 Project Attempt any 1 (6 Marks) a. A class Student has three data members: student_name, enrolment_no, marks of 5 subjects and member function to assign streams on the basis of the criteria given below: Average Marks Stream >90% Computer Science > 80 90% Science >75 80% Commerce >70 75% Arts Below 70% Vocational Write a C++ program to calculate average marks of each student and display student name, enrolment no, and their stream. 6 b. Consider A, B, C as three arrays of size m,n and m + n respectively. Array A is stored in ascending order whereas array B is stored in descending order. Write a C++ program to produce a third array C, containing all the data of arrays A and B and arranged in descending order. Display the data of array C only. 6 c. (i) Write a definition for a structure EMPINF that stores information about an employee such as empid, empname, address, salary, dateofjoining, telephone_no. 2 (ii) The address member of EMPINF stores the information houseno, area, city and pincode. 1 (iii) The dateofjoining member of EMPINF stores information day, month and year. 1 (iv) Write a function to the information of an employee depending upon the employee number given. Computer Science 105

6 2 d. (i) Write the output for the following program: 3 int main() clrscr(); int a[] = 1,2,3,4,5}; int l, *k; k = &a[0]; for (l=0;l<5;l++) cout<<*k<< \t ; k++; } return 0; } (ii) Declare an array of 25 Aadhar card holders which consists of five data values viz., id_no, firstname, lastname, address and age. Write a program that prints id_no, name for all these persons whose age is between 18 and Computer Science

### 1. Constants. 2. Variables. 3. Reserved words or key words. 4. Constants. Character set in C

Character set in C We should use only the following characters in writing a C program. These characters can be combined to create C words. Alphabet: A, B, C, D.. Z, a, b, c, d..z Numeric digits: 0, 1,

### Introduction to Java

Introduction to Java The HelloWorld program Primitive data types Assignment and arithmetic operations User input Conditional statements Looping Arrays CSA0011 Matthew Xuereb 2008 1 Java Overview A high

### COMPUTER SCIENCE 1999 (Delhi Board)

COMPUTER SCIENCE 1999 (Delhi Board) Time allowed: 3 hours Max. Marks: 70 Instructions: (i) All the questions are compulsory. (ii) Programming Language: C++ QUESTION l. (a) Why main function is special?

### El Dorado Union High School District Educational Services

El Dorado Union High School District Course of Study Information Page Course Title: ACE Computer Programming II (#495) Rationale: A continuum of courses, including advanced classes in technology is needed.

### Get post program 7 W.a.p. that Enter two numbers from user and do arithmetic operation

Program list for PHP SRNO DEFINITION LOGIC/HINT 1 W.a.p. to print message on the screen Basic program 2 W.a.p. to print variables on the screen Basic program 3 W.a.p. to print sum of two integers on the

### 13 Classes & Objects with Constructors/Destructors

13 Classes & Objects with Constructors/Destructors 13.1 Introduction In object oriented programming, the emphasis is on data rather than function. Class is a way that binds the data & function together.

### Lab 9 Access PreLab Copy the prelab folder, Lab09 PreLab9_Access_intro

Lab 9 Access PreLab Copy the prelab folder, Lab09 PreLab9_Access_intro, to your M: drive. To do the second part of the prelab, you will need to have available a database from that folder. Creating a new

### Laboratory Assignments of OBJECT ORIENTED METHODOLOGY & PROGRAMMING (USING C++) [IT 553]

Laboratory Assignments of OBJECT ORIENTED METHODOLOGY & PROGRAMMING (USING C++) [IT 553] Books: Text Book: 1. Bjarne Stroustrup, The C++ Programming Language, Addison Wesley 2. Robert Lafore, Object-Oriented

### Theory Assignments-3. Theory Assignments-4

Prof. Ramkrishna More Arts, Commerce & Science College S.Y.B.Sc.(Computer Science) Subject Object oriented concepts & programming in C++. Theory Assignments-1 Q.1) Answer the following.(1m) 1. List any

### 9 Control Statements. 9.1 Introduction. 9.2 Objectives. 9.3 Statements

9 Control Statements 9.1 Introduction The normal flow of execution in a high level language is sequential, i.e., each statement is executed in the order of its appearance in the program. However, depending

### C programming: exercise sheet L2-STUE (2011-2012)

C programming: exercise sheet L2-STUE (2011-2012) Algorithms and Flowcharts Exercise 1: comparison Write the flowchart and associated algorithm that compare two numbers a and b. Exercise 2: 2 nd order

### PART-A Questions. 2. How does an enumerated statement differ from a typedef statement?

1. Distinguish & and && operators. PART-A Questions 2. How does an enumerated statement differ from a typedef statement? 3. What are the various members of a class? 4. Who can access the protected members

### Answers to Review Questions Chapter 7

Answers to Review Questions Chapter 7 1. The size declarator is used in a definition of an array to indicate the number of elements the array will have. A subscript is used to access a specific element

### Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in memory.

JAVA TYPES BASIC DATA TYPES GENERAL Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in memory. Based on the data type

### Future Stars. Grade X Manual Chapter 1 Networking and Telecommunication. telecommunication. Telephones, telegrams, radios and televisions help

Future Stars Grade X Manual Chapter 1 Networking and Telecommunication 1. Answer the following questions. a. What is telecommunication? Ans: The transfer of information at a far distance is known as telecommunication.

### Passing 1D arrays to functions.

Passing 1D arrays to functions. In C++ arrays can only be reference parameters. It is not possible to pass an array by value. Therefore, the ampersand (&) is omitted. What is actually passed to the function,

### Chapter One Introduction to Programming

Chapter One Introduction to Programming 1-1 Algorithm and Flowchart Algorithm is a step-by-step procedure for calculation. More precisely, algorithm is an effective method expressed as a finite list of

### Primitive Data Types Summer 2010 Margaret Reid-Miller

Primitive Data Types 15-110 Summer 2010 Margaret Reid-Miller Data Types Data stored in memory is a string of bits (0 or 1). What does 1000010 mean? 66? 'B'? 9.2E-44? How the computer interprets the string

### Masters programmes in Computer Science and Information Systems. Object-Oriented Design and Programming. Sample module entry test xxth December 2013

Masters programmes in Computer Science and Information Systems Object-Oriented Design and Programming Sample module entry test xxth December 2013 This sample paper has more questions than the real paper

### Exercise 1 : Write a C++ program to calculate Fubanaci numbers X n, n=1,2,,1000 X n+1 = X n + X n-1, X 0 =1,, X 1 =1, n=1,2,

Programming problems Exercise 1 : Write a C++ program to calculate Fubanaci numbers X n, n=1,2,,1000 X n+1 = X n + X n-1, X 0 =1,, X 1 =1, n=1,2, Exercise 2: Write a C++ program TO REARRANGE A LIST OF

### Lecture 4 Notes: Arrays and Strings

6.096 Introduction to C++ January 10, 2011 Massachusetts Institute of Technology John Marrero Lecture 4 Notes: Arrays and Strings 1 Arrays So far we have used variables to store values in memory for later

### Objective Type Questions

Objective Type Questions Unit- Introduction to computer and programming: Sr.No. Multiple Choice Question Paper Marks Which of the following is a part of primary memory of computer a) PROM b) CD-ROM c)

### What is C++? C++ also allows us to create hierarchy related objects. All C programs are also C++ programs with few differences.

What is C++? 1 Object oriented programming languages. Initially named as C with classes. C++ was developed at AT & T Bell Labs. C++ is superset of C. Three important facilities are added onto C. Classes

### WRITING DATA TO A BINARY FILE

WRITING DATA TO A BINARY FILE TEXT FILES VS. BINARY FILES Up to now, we have looked at how to write and read characters to and from a text file. Text files are files that contain sequences of characters.

### School Management Information System

School Management Information System - User Guide for Student Admission Department of School Education, Haryana 01-Apr-15 Versions Version Comments V1.5 Following things are included in this version :

### Transferring AIS to a different computer

Transferring AIS to a different computer AIS can easily be transferred from one computer to another. There are several different scenarios for transferring AIS to another computer. Since AIS is designed

### Conditionals (with solutions)

Conditionals (with solutions) For exercises 1 to 27, indicate the output that will be produced. Assume the following declarations: final int MAX = 25, LIMIT = 100; int num1 = 12, num2 = 25, num3 = 87;

### Lecture: #6. More About Characters, Strings, and the string Class

Lecture: #6 More About Characters, Strings, and the string Class 1 C-Strings Topics 2 Library Functions for Working with C-Strings 3 Conversions Between Numbers and Strings 4 Character Testing 5 Character

### java.util.scanner Here are some of the many features of Scanner objects. Some Features of java.util.scanner

java.util.scanner java.util.scanner is a class in the Java API used to create a Scanner object, an extremely versatile object that you can use to input alphanumeric characters from several input sources

### B.Sc.(Computer Science) and. B.Sc.(IT) Effective From July 2011

NEW Detailed Syllabus of B.Sc.(Computer Science) and B.Sc.(IT) Effective From July 2011 SEMESTER SYSTEM Scheme & Syllabus for B.Sc. (CS) Pass and Hons. Course Effective from July 2011 and onwards CLASS

### COMPUTER SCIENCE. Paper 1 (THEORY)

COMPUTER SCIENCE Paper 1 (THEORY) (Three hours) Maximum Marks: 70 (Candidates are allowed additional 15 minutes for only reading the paper. They must NOT start writing during this time) -----------------------------------------------------------------------------------------------------------------------

### Adjusted/Modified by Nicole Tobias. Chapter 2: Basic Elements of C++

Adjusted/Modified by Nicole Tobias Chapter 2: Basic Elements of C++ Objectives In this chapter, you will: Become familiar with functions, special symbols, and identifiers in C++ Explore simple data types

### Chapter 4 Intro to Programming in C++

Chapter 4 Intro to Programming in C++ 4-1 Computer Programming Earlier we defined an algorithm to be a step by step process for solving a problem. Computer programming is the process of implementing the

### Arduino Programming Part 2

Arduino Programming Part 2 EAS 199A Lecture 6 Fall 2011 Overview Variable types int float Loops for loops while loops (another day) 2 Arduino web site Assigning and Using Variables http://arduino.cc/en/reference/homepage

### Appendix K Introduction to Microsoft Visual C++ 6.0

Appendix K Introduction to Microsoft Visual C++ 6.0 This appendix serves as a quick reference for performing the following operations using the Microsoft Visual C++ integrated development environment (IDE):

### Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program.

Name: Class: Date: Exam #1 - Prep True/False Indicate whether the statement is true or false. 1. Programming is the process of writing a computer program in a language that the computer can respond to

### ADC SWATCH (v3.0) Switch Monitoring Software) User Manual)

ADC SWATCH (v3.0) Switch Monitoring Software) User Manual) Content Page INTRODUCTION... 1 Revision History... 1 Trademark Information... 1 1 OVERVIEW... 2 1.1 System Requirements... 2 2 INSTALLATION...

### PES Institute of Technology-BSC QUESTION BANK

PES Institute of Technology-BSC Faculty: Mrs. R.Bharathi CS35: Data Structures Using C QUESTION BANK UNIT I -BASIC CONCEPTS 1. What is an ADT? Briefly explain the categories that classify the functions

### MYSQL DATABASE ACCESS WITH PHP

MYSQL DATABASE ACCESS WITH PHP Fall 2009 CSCI 2910 Server Side Web Programming Typical web application interaction Database Server 3 tiered architecture Security in this interaction is critical Web Server

### RAPIDFILE PRODUCT BACKGROUND. Ashton-Tate's RapidFile is a high-performance file manager

Background \~ ASHTO~ T-\TE Fur rekase: October 27, 1986 Judy Marie Merrill Ashton-Tate (213) 538-7321 David Burwick Miller Communications (213) 822-4669 2~11~11Hamilton A,n'nul' Torran(e, Califon1la l)~',~12.1

### Basic Common Unix commands: Change to directory d

Basic Common Unix commands: cd d Change to directory d mkdir d rmdir d mv f1 [f2...] d mv d1 d2 ls [d] [f...] ls -1 [f...] vi [f] emacs [f] more f cp f1 f2 mv f1 f2 rm f gcc [-o f1] f2 gnuplot Create new

### OBJECT ORIENTED PROGRAMMING AND DATA STRUCTURES CONSTRUCTORS AND DESTRUCTORS

CONSTRUCTORS AND DESTRUCTORS Constructors: A constructor is a member function whose name is same as class name and is used to initialize data members and allocate memory dynamically. A constructor is automatically

### HotEx Billing Manager Installation Guide

HotEx Billing Manager Installation Guide 2008-2009 Hotspot Express. All rights reserved. No part of this work may be reproduced, stored in a retrieval system, adopted or transmitted in any form or by any

### Chapter 4 Operators & Arithmetic

Chapter 4 Operators & Arithmetic 4-1 Arithmetic in C++ Arithmetic expressions can be made up of constants, variables, operators and parentheses. The arithmetic operators in C++ are as follows + (addition)

### CLASS-XII COMPUTER SCIENCE (Subject Code 083) SAMPLE PAPER 2014-15. Time allowed : 3 hours Maximum Marks: 70

CLASS-XII COMPUTER SCIENCE (Subject Code 83) SAMPLE PAPER 24-5 Time allowed : 3 hours Maximum Marks: 7 Instructions: (i) All questions are compulsory. (ii) Programming Language: Section A C+ +. (iii) Programming

### Cambridge International Examinations Cambridge International General Certificate of Secondary Education

Cambridge International Examinations Cambridge International General Certificate of Secondary Education *0123456789* INFORMATION AND COMMUNICATION TECHNOLOGY 0417/01 Paper 1 Theory For Examination from

### Stacks. Linear data structures

Stacks Linear data structures Collection of components that can be arranged as a straight line Data structure grows or shrinks as we add or remove objects ADTs provide an abstract layer for various operations

### VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANKULATHUR 603 203 DEPARTMENT OF COMPUTER APPLICATIONS QUESTION BANK IN REVISED BLOOM S TAXONOMY

ACADEMIC YEAR: 0 7 VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANKULATHUR 0 0 SEMESTER: ODD BRANCH: MCA YEAR: I SEMESTER: I SUBJECT CODE AND NAME: MC70 Problem Solving and Programming NAME OF THE FACULTY

### EC312 Chapter 4: Arrays and Strings

Objectives: (a) Describe how an array is stored in memory. (b) Define a string, and describe how strings are stored. EC312 Chapter 4: Arrays and Strings (c) Describe the implications of reading or writing

### 10CS35: Data Structures Using C

CS35: Data Structures Using C QUESTION BANK REVIEW OF STRUCTURES AND POINTERS, INTRODUCTION TO SPECIAL FEATURES OF C OBJECTIVE: Learn : Usage of structures, unions - a conventional tool for handling a

### KENDRIYA VIDYALAYA TIRUMALAGIRI HOLIDAY HOMEWORK CLASS XII COMPUTER SCIENCE (083) C++ Practice Problems

(i).there are 39 problems. KENDRIYA VIDYALAYA TIRUMALAGIRI HOLIDAY HOMEWORK CLASS XII COMPUTER SCIENCE (083) C++ Practice Problems 1. What is the exact output of the program below? Indicate a blank space

### C & Data Structures P. S. Deshpande O. G. Kakde

C & Data Structures P. S. Deshpande O. G. Kakde CHARLES RIVER MEDIA, INC. Hingham, Massachusetts Page 2/174 Table of Contents C & Data Structures CHAPTER 0: INTRODUTION...5 1. What This Book Is About...5

### Search & Export Report Data

Search & Export Report Data Version: Draft 2 Abstract This document describes how to export the data from a saved report document. Document Revisions Version Date Description of Changes Draft 2 08/12/2005

### I PUC - Computer Science. Practical s Syllabus. Contents

I PUC - Computer Science Practical s Syllabus Contents Topics 1 Overview Of a Computer 1.1 Introduction 1.2 Functional Components of a computer (Working of each unit) 1.3 Evolution Of Computers 1.4 Generations

### 2874CD1EssentialSQL.qxd 6/25/01 3:06 PM Page 1 Essential SQL Copyright 2001 SYBEX, Inc., Alameda, CA www.sybex.com

Essential SQL 2 Essential SQL This bonus chapter is provided with Mastering Delphi 6. It is a basic introduction to SQL to accompany Chapter 14, Client/Server Programming. RDBMS packages are generally

### Grade 4 Mathematics Patterns, Relations, and Functions: Lesson 1

Grade 4 Mathematics Patterns, Relations, and Functions: Lesson 1 Read aloud to the students the material that is printed in boldface type inside the boxes. Information in regular type inside the boxes

### Library Management System

Library Management System UNDER THE GUIDANCE OF Mr. E.mitra Submitted to :-Head of training & Placement dept Submitted By: -Seema jajoria ACKNOWLEDGEMENT We are extremely grateful and remain indebted to

### INPUT AND OUTPUT STREAMS

INPUT AND OUTPUT The Java Platform supports different kinds of information sources and information sinks. A program may get data from an information source which may be a file on disk, a network connection,

### CISC 181 Project 3 Designing Classes for Bank Accounts

CISC 181 Project 3 Designing Classes for Bank Accounts Code Due: On or before 12 Midnight, Monday, Dec 8; hardcopy due at beginning of lecture, Tues, Dec 9 What You Need to Know This project is based on

### Introduction to Visual Basic and Visual C++ Array. What is Array? Why use Array?

Introduction to Visual Basic and Visual C++ Array Lesson 7 Declare and Assign Array I154-1-A A @ Peter Lo 2010 1 I154-1-A A @ Peter Lo 2010 2 What is Array? Why use Array? An array is a collection of data

### THE JAVA SWITCH STATEMENT

THE JAVA SWITCH STATEMENT Like the if-else statement, the switch statement introduces a fork in the road for the program s execution path. Unlike the if-else (1) the switch statement s fork has many tines

### Additional Setup Instructions for Modbus: RTU, ASCII, TCP, Omni & Enron

Additional Setup Instructions for Modbus: RTU, ASCII, TCP, Omni & Enron Copyright 2000 2010 Frontline Test Equipment, Inc. All rights reserved. You may not reproduce, transmit, or store on magnetic media

### Multichoice Quetions 1. Atributes a. are listed in the second part of the class box b. its time is preceded by a colon. c. its default value is

Multichoice Quetions 1. Atributes a. are listed in the second part of the class box b. its time is preceded by a colon. c. its default value is preceded by an equal sign d. its name has undereline 2. Associations

### Scanner sc = new Scanner(System.in); // scanner for the keyboard. Scanner sc = new Scanner(System.in); // scanner for the keyboard

INPUT & OUTPUT I/O Example Using keyboard input for characters import java.util.scanner; class Echo{ public static void main (String[] args) { Scanner sc = new Scanner(System.in); // scanner for the keyboard

### GCE. Computing. Mark Scheme for January 2011. Advanced Subsidiary GCE Unit F452: Programming Techniques and Logical Methods

GCE Computing Advanced Subsidiary GCE Unit F452: Programming Techniques and Logical Methods Mark Scheme for January 2011 Oxford Cambridge and RSA Examinations OCR (Oxford Cambridge and RSA) is a leading

### 12 Abstract Data Types

12 Abstract Data Types 12.1 Source: Foundations of Computer Science Cengage Learning Objectives After studying this chapter, the student should be able to: Define the concept of an abstract data type (ADT).

### A single register, called the accumulator, stores the. operand before the operation, and stores the result. Add y # add y from memory to the acc

Other architectures Example. Accumulator-based machines A single register, called the accumulator, stores the operand before the operation, and stores the result after the operation. Load x # into acc

### A Brief Introduction to MySQL

A Brief Introduction to MySQL by Derek Schuurman Introduction to Databases A database is a structured collection of logically related data. One common type of database is the relational database, a term

### Introduction to Java. CS 3: Computer Programming in Java

Introduction to Java CS 3: Computer Programming in Java Objectives Begin with primitive data types Create a main class with helper methods Learn how to call built-in class methods and instance methods

### Currently BDBL B Wallet provides the services only with B Mobile Subscribers with following services:

Introduction B Wallet service is USSD based mobile application where customer can use their mobile to do the transaction without visiting the branch office. The B Wallet service holder should have minimum

### Part I:( Time: 90 minutes, 30 Points)

Qassim University Deanship of Educational Services Preparatory Year Program- Computer Science Unit Final Exam - 1434/1435 CSC111 Time: 2 Hours + 10 Minutes 1 MG Student name: Select the correct choice:

### Appendix B. NAICS Codes, Titles, and Descriptions

Appendix B. NAICS Codes, Titles, and Descriptions PART 1. 2002 NAICS 5418 ADVERTISING AND RELATED SERVICES 54181 ADVERTISING AGENCIES 541810 ADVERTISING AGENCIES 54182 PUBLIC RELATIONS AGENCIES 541820

### Lecture 3. Arrays. Name of array. c[0] c[1] c[2] c[3] c[4] c[5] c[6] c[7] c[8] c[9] c[10] c[11] Position number of the element within array c

Lecture 3 Data structures arrays structs C strings: array of chars Arrays as parameters to functions Multiple subscripted arrays Structs as parameters to functions Default arguments Inline functions Redirection

### Object-Oriented Programming, Iouliia Skliarova

Object-Oriented Programming, Iouliia Skliarova Data types define the way you use the storage (memory) in the programs. By specifying a data type, you tell the sompiler how to create a particular piece

### On the Windows PC to which the TOSHIBA MFP will be connected

Installing Printer and Scanner Drivers with TOSHIBA Viewer V2 The Printer and Scanner drivers allow you to print on and scan using your TOSHIBA MFP. Before installing Before installing, please make sure

### Stellar Phoenix Exchange Server Backup

Stellar Phoenix Exchange Server Backup Version 1.0 Installation Guide Introduction This is the first release of Stellar Phoenix Exchange Server Backup tool documentation. The contents will be updated periodically

### AP Computer Science Java Mr. Clausen Program 9A, 9B

AP Computer Science Java Mr. Clausen Program 9A, 9B PROGRAM 9A I m_sort_of_searching (20 points now, 60 points when all parts are finished) The purpose of this project is to set up a program that will

### PHP Math Functions With Examples pdf

PHP Math Functions With Examples pdf Created By: Umar Farooque Khan 1 Index S. No Topics Page No 1. PHP Abs() Function 03 2. PHP Pow() Function 04 3. PHP Sqrt() Function 06 4. PHP Mt_rand() Function 07

### The C Programming Language course syllabus associate level

TECHNOLOGIES The C Programming Language course syllabus associate level Course description The course fully covers the basics of programming in the C programming language and demonstrates fundamental programming

### INFORMATION TECHNOLOGY: SOFTWARE DEVELOPMENT

Victorian Certificate of Education 2008 SUPERVISOR TO ATTACH PROCESSING LABEL HERE STUDENT NUMBER Letter Figures Words INFORMATION TECHNOLOGY: SOFTWARE DEVELOPMENT Written examination Section Thursday

### what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

Inside the CPU how does the CPU work? what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored? some short, boring programs to illustrate the

### arrays C Programming Language - Arrays

arrays So far, we have been using only scalar variables scalar meaning a variable with a single value But many things require a set of related values coordinates or vectors require 3 (or 2, or 4, or more)

### SQL Server Table Design - Best Practices

CwJ Consulting Ltd SQL Server Table Design - Best Practices Author: Andy Hogg Date: 20 th February 2015 Version: 1.11 SQL Server Table Design Best Practices 1 Contents 1. Introduction... 3 What is a table?...

### MS Access Lab 2. Topic: Tables

MS Access Lab 2 Topic: Tables Summary Introduction: Tables, Start to build a new database Creating Tables: Datasheet View, Design View Working with Data: Sorting, Filtering Help on Tables Introduction

### Advance DBMS. Structured Query Language (SQL)

Structured Query Language (SQL) Introduction Commercial database systems use more user friendly language to specify the queries. SQL is the most influential commercially marketed product language. Other

### Subject Name: Object Oriented Programming in C++ Subject Code: 2140705

Faculties: L.J. Institute of Engineering & Technology Semester: IV (2016) Subject Name: Object Oriented Programming in C++ Subject Code: 21405 Sr No UNIT - 1 : CONCEPTS OF OOCP Topics -Introduction OOCP,

### Helpdesk Portal End User Guide

Helpdesk Portal End User Guide Contents Using the Portal... 3 Portal web page... 3 Log in... 3 Log out... 3 Managing your account... 4 Terminology... 4 Submit a ticket... 5 Help us to Help you... 6 Upload

### PRELIMINARY GUIDELINES E-PROCUREMENT MODULE OF NIC

PRELIMINARY GUIDELINES E-PROCUREMENT MODULE OF NIC As per the Office Memorandum (OM) no. 10/3/2012-PPC dated 30 th March, 2012 and all subsequent OMs, issued by the of Expenditure, all Ministries / s of

### Sharing Your Media Library with Roxio Streamer

Sharing Your Media Library with Roxio Streamer Want to access your media files anywhere? We all have more media files than ever, and more devices to enjoy them on. But the need to copy these files multiple

### Computer Systems. Computer Systems COMP1208. Objectives of the Module. Course Assessment. Reading List. What will you need

Computer Systems Computer Systems Lecturer: Ruth Coffey Room KE-4-027, email: ruth.coffey@dit.ie Today s Lecture >> Module Overview Objectives of Module Course Assessment Reading List Introduction to Computer

### COMPUTER SCIENCE-2009. Time allowed : 3hours] [Maximum Marks :70

COMPUTER SCIENCE-2009 Time allowed : 3hours] [Maximum Marks :70 Instructions (i) (ii) All questions are compulsory Programming Language : C++ 1. (a) What is the difference between call by value and call

### STRINGS. PREPAED BY T.DEVI IT DEPARTMENT Vidya Jyothi Institute of Technology. Hyderabad

STRINGS PREPAED BY T.DEVI IT DEPARTMENT Vidya Jyothi Institute of Technology. Hyderabad Definition Array of character are called strings. A string is terminated by null character /0. For example: "Vjit

### Specialized Programme on Web Application Development using Open Source Tools

Specialized Programme on Web Application Development using Open Source Tools Objective: At the end of the course, Students will be able to: Understand various open source tools(programming tools and databases)

### There are several ways you can reduce the size of your mailbox, they include:

Managing Your Outlook Mailbox 1. Introduction Email quotas control the amount of email that can be stored in your Outlook mailbox on the FM Realty Email service. FM Realty users are issued an email quota

### The University of Alabama in Huntsville Electrical and Computer Engineering CPE 112 01 Test #4 November 20, 2002. True or False (2 points each)

True or False (2 points each) The University of Alabama in Huntsville Electrical and Computer Engineering CPE 112 01 Test #4 November 20, 2002 1. Using global variables is better style than using local

### 198:211 Computer Architecture

198:211 Computer Architecture Topics: Lecture 8 (W5) Fall 2012 Data representation 2.1 and 2.2 of the book Floating point 2.4 of the book 1 Computer Architecture What do computers do? Manipulate stored