Posts

Showing posts from November, 2017

C Language Programme

Image
programmer:-   Mr. Shashi kant srivastava (sks sir) Example 1: Program to print half pyramid using * * * * * * * * * * * * * * * * Source Code #include <stdio.h> int main () { int i , j , rows ; printf ( "Enter number of rows: " ); scanf ( "%d" ,& rows ); for ( i = 1 ; i <= rows ; ++ i ) { for ( j = 1 ; j <= i ; ++ j ) { printf ( "* " ); } printf ( "\n" ); } return 0 ; } Example 2: Program to print half pyramid a using numbers 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 Source Code #include <stdio.h> int main () { int i , j , rows ; printf ( "Enter number of rows: " ); scanf ( "%d" ,& rows ); for ( i = 1 ; i <= rows ; ++ i ) { for ( j = 1 ; j <= i ; ++ j ) { printf ( "%d " , j ); } printf ( ...

MS ACCESS (MCQ)

Image
                                                                          SET-1 1. MS-Access में CTRL+O किसकी शॉर्टकट की है a) Open a new database b) Open an existing database c) Exit MS-Access d) None of these Correct Answer : b) Open an existing database 2. MS Access में table को कितने तरीके से create कर सकते हैं a) 1 b) 2 c) 3 d) 4 Correct Answer : c) 3 3. MS Access में डाटा टाइप कितने प्रकार का होता है a) 6 b) 4 c) 8 d) 10 Correct Answer : d) 10 4. यह data type alphanumeric characters और special symbols की अनुमति देता है a) text b) memo c) auto number d) None of the above Correct Answer : a) text 5. एक नई table बनाने के लिए किस method में आपको field type और size specify करने की आवश्यकता नहीं है a) Create table in Design View b) Create Table using wizard c) Create Table by Enterin...