Showing posts with label Computer Science. Show all posts
Showing posts with label Computer Science. Show all posts

Monday, 8 January 2018

Important Questions Answers About Loop

Important Question Answer About Loop


Q1. Define a loop.
Ans: It is another fundamental idea in programming. It makes possible repeated execution of one or more statements as long as a condition is true.
Q2: How many essential elements to a loop?
Ans: There are two essential elements to a loop
Q3: What do you know about FOR LOOP?
Ans: It is primarily used for executing a statement or block of statements predetermined number of time. For loop has three expressions.
Q4: Write down the general form of the FOR statement.
Ans: General form of the for statement is
            For(expression 1; expression 2; expression 3)
{
Body of the loop
}

Q5: Write down the general form of the WHILE statement.
Ans: General form of the for statement is
            while(expression)
{
Body of the loop
}
Q6: Write down the general form of the DO WHILE statement.
Ans: General form of the for statement is
            do
{
Body of the loop
}
While(expression)
Q7:What is nested loop?

Ans: A loop within another loop is known as a nested loop.

Friday, 5 January 2018

Fundamental of Programming Important Questions Answer

Fundamental of Programming Important Questions Answer

Q1. Define constant.
Ans: The quantities whose values do not change during the execution is known constant.
Q2: How many two types of constant?
Ans: Constant are two types (Numeric constant and character/string constant)
Q3: How many types of numeric constant?
Ans: Numeric constant are two types (1. Integer    2. Floating point numbers)
Q4: What are integers?
Ans: Integers represent values that are counted like the number of students in a class.
Q5: How many types of variable in “C”
Ans: (1) Integer variables (2) Floating point variables   (3) Character variables
Q6: How to declared Integer variable?
Ans: Integer variable declaration statement has the for( Example :  int add ;)
Q7: How many types of operator in “C” language?
Ans: There are five types of operator in “C” language.
Q8: Which arithmetic operator are used in”C”?
Ans: Five arithmetic operators are used in “C”
Symbol                                   Operation
+                                              Addition
_                                              Subtraction
*                                               Multiplication
/                                               Division
%                                             Modules (Remainder)
Q9: How many types of logical operator in “C”?
And: There are three main logical operator in “C”( !      &&   |)
A10: Write down the increment and decrement operator and their definition.
And: (-- Increment by 1                   ++ decrement by 1)
Q11: What is de debugging?
Ans: The process of detecting and correcting the error is called debugging
Q12: Define Syntax error
Ans: syntax error occur when the rules or grammar of the programming language is not followed and they are detected by the computer
Q13: Define Logical error

Ans: syntax error occur when the logic of the program is incorrect and they are difficult to find and remove since they are not detected by the compiler.

Programming Fundamental(Solved MCQs)

(Programming Fundamental)

Multiple Choice Question
1. Which one is arithmetic operator?
(a) &                (b) <    (c) +                                                                (d) None of these
2. The function scanf() reads
(a) A single char          (b) any possible variable type                       (c) any possible number      
3._____ values do not change during program execution.
(a) Constant   (b) Variable                 (c) Coefficient                         (d) None of these
4. All reserved word in C programs must be written in___________
(a)Uppercase  (b) Lower case          (c) small case                         (d) None of these
5. Which symbol is used as a statement terminator in C?
(a)   ;               (b) #                             (c)  !                                        (d) None of these
6. The operator && is an example for____ operator
(a)Assignment (b) Increment                         (c) Logical                              (d) None of these
7. The correct way of declaring a float pointer is

(a)float *ptr    (b) float ptr                 (c) *float ptr                             (d) None of these

Tuesday, 2 January 2018

Important Questions Answers About Programming in


Important Questions Answers About Programming in 

Q1. What do you know about High Level Language?
Ans: High level languages are closer to human language. The main advantage of high level language over low level language is that they are easier to read, write and maintain. Program in high level language must be translated into machine Language by compiler or interpreter.
Example of High Level Language(C C++ Java Pascal COBOL etc)
Q2:What is low level language(Assemble Language)?
Machine language is a low level programming language. Program in Assembly Language are compiled by an assembler. Every assembler has its own Assembly language which is designed for one specific computer architecture
Q3: What is function in C language?
Ans: Function is the combination or group of statement that together
to perform a task. Every C program at least one function which is called main ().
It has a name and it is reusable.
Q4: What is the main() Function?
Ans: When a program being running the system calls the function main() which marks
the entry point of the program. Every program must have one function named main().
Q5: Write a program that print the message I LOVE PAKISTAN.
Ans:
#include<std.h>
void main(void)
{
printf("I LOVE PAKISTAN");
}
Q6: Why do not programming in done in machine language?
Ans: Because of the binary nature and almost infinite detail practically to programming is done in machine language.
Q7: What is Assembly Language?
Ans: An assembly language allows the programmer to use all the computer feature through symbolic code and location rather than machine codes and binary.
Q8: Why FORTAN was developed?
Ans: It was designed to write for Solving and Engineering problems.
Q9: What does COBOL stand or?
And: COBOL stand for Common Business Oriented Language.
A10: Who Invented C programming language and when?
And: C language was developed by Dennis Ritchie at Bell Laboratories in 1972.
Q11: What stands for IDE?

Ans: IDE stands for Integrated Development Environment.

Multiple Choice Question About C Language With Answer

Multiple Choice Question About C Language

1. Computer consists of
(a) Hardware   (b) Software    (c) Both A and B                   (d) None of these
2. Programming language fall in___ broad categories?
(a) Two            (b) Three          (c) Four                                   (d) None of these
3.Machine language consist of
(a) 0 and 1      (b) 1                 (c) 0                                         (d) None of these
4. It consist of abbreviation called mnemonics
(a)High level language            (b) Assembly Language       (c) Low level language
5. HLL stands for
(a)High level language         (b) High and Low Language(c) Highest level language (d) None of these
6. Which one is not High level language?
(a)C                                         (b) C++           (c) Assembly language       (d) None of these
7. FORTAN stands for
(a)Format transfer                  (b) Format transaction(c) Formula Translation (d) None of these
 8. C language was developed in.
(a)1970                                    (b) 1965                       (c)1980                        (d) None of these
9. C language was developed by
(a)John Mark              (b) Dennis Ritchie     (c) Bill Gate     (d) None of these
10. C language has a___ set of reserved word.
(a)Large                      (b) Little                       (c) Small        (d) None of these
11. To close the menu press____ key

(a)Ctrl                          (b) Esc                        (c) Del             (d) None of these

Friday, 29 December 2017

Final Year Web base Php Project Ideas and project list

Final Year Web base Php Project Ideas

  1. Online Ticket Sales Management System.
  2. Hotel Management System
  3. Online Voting Management System
  4. Courier Management System
  5. Live Chatting Management System
  6. Group Discussion System
  7. IP Tracking Management System
  8. Book Donation Management System
  9. Library Management System
  10. Laboratory Management System
  11. Invoice Management System
  12. Online Donation Management System
  13. Online Product Sales Management System
  14. Blood Donation Management System
  15. Blood bank Management System

Wednesday, 20 December 2017

Php most popular Frame Works

Frame Works

Php most popular Frame Works

1. Fuel PHP

It works based on MVC (Model View  and Control)
2. Cake PHP

It is very powerful  source to build up very simple and great web based application. It provides Validation, Prevention of SQL Injection and also keeps safe and secure.
3.Flight PHP

It is MIT licence and very helpful to built up quickly web application.
4.Symphony

This Frame work are used professional developer it has multiple components(PHPBB, Drupal,Laravel,Ex and OROCRM)
5.Yii Frame Work

It is very powerful and free from SQL Injection and other attack it support highly validation and filtering.
6. Laravel

It is most powerful and useful frame work with tested reliable code.Now a day laravel has become most popular frame work to develop web base application.
7. Zend

Zend frame work is very responsive and powerful it works bases on very secure coding and cryptographic and highly data encryption.
8.Codigniter

It is easy to learn and develop fast web application. It also MVC based that is used to create innovative web application.



Friday, 15 December 2017

What is Input device and how some examples of Input devices?

What is Input device and how some examples of Input devices?

Input Devices
Input Devices are used to enter data into Computer.The main function of Input devices is to transfer any types of data to CUP(Central Processing Unit) for processing.
Some Input devices name:

  1. Mouse
  2. Keyboard
  3. Scanner
  4. Camera
  5. Joystick
  6. Light Pen


What is Data?

https://learnmeteachme.blogspot.com/2017/12/types-of-data.html


Types of Data

Types of Data

There are three main types of data.

  1. Alphabetic Data
  2. Numeric Data
  3. Alpha-Numeric Data.
1. Alphabetic Data
         Such types of data in which just alphabets letters are included like ABC, Computer (Example All letters from A to Z).
2. Numeric Data
         Such types of data in which  included only number from 0-9 like 7875943, 543535(Example of Numeric data from 0 to 9).
3. Alpha-Numeric Data.
         This type of data is the mixture or combination of both Alphabet and Numeric data like BHGHJ78687BJK,  7987MNB(Example of Numeric data is"all Numbers and Alphabets".