Skip to main content

Posts

Showing posts from December, 2022

C programming Viva questions

1. Which type of language is C ?   Ans- C is a high level language and general-purpose structured programming language. 2. what is  a compiler ? Ans- Compiler is the software that transfer program developed in a high-level language into executable object code. 3. What is an algorithm ? Ans- The approach and method that used to solve the problem is called an algorithm.  4. What is a token and types of c tokens ?  Ans - The smallest individual units are known as C tokens . C has six types of tokens : Keyword, constants , Identifier , Strings , Operators and Special symbols. 5. How many keywords in c ? Ans- There are 32 keywords in the c language. 6. what is an identifier ? Ans- Identifiers are user define name given to variables , Functions and arrays. 7. what are the datatypes present in c ? Ans-   C language supports 2 different type of data types: 1.Primary data types : These are fundamental data types in C namely integer( int ), floating point( float ), character( char ) and void

What Is Python Used For

 Python is an interpreted, object-oriented, high-level programming language with dynamic semantics developed by Guido van Rossum . It was originally released in 1991 . Designed to be easy as well as fun, the name "Python" is a nod to the British comedy group Monty Python. Python has a reputation as a beginner-friendly language, replacing Java as the most widely used introductory language because it handles much of the complexity for the user, allowing beginners to focus on fully grasping programming concepts rather than minute details. Python is used for server-side web development, software development, mathematics, and system scripting, and is popular for Rapid Application Development and as a scripting or glue language to tie existing components because of its high-level, built-in data structures, dynamic typing, and dynamic binding. Program maintenance costs are reduced with Python due to the easily learned syntax and emphasis on readability. Additionally, Python's s