Skip to content

Category Archives: Program Output

Incedo Inc. visited our college, SRM Institute of Science and Technology in August’21, and everything was conducted in virtual mode. I applied for the role… Read More
Pre-requisite: if-else This article focuses on discussing what happens when the print statement is used inside the if-else conditional statement. For example: Consider the below… Read More
With the advent of MATLAB and all the scientific inbuilt that it has brought, there’s been a significant change and simplification of sophisticating engineering scenarios.… Read More
Sometimes in Dataframe, when column data containing the long content or large sentence, then PySpark SQL shows the dataframe in compressed form means the first… Read More
IIR stands for Infinite Impulse Response, It is one of the striking characteristics of many linear-time invariant systems that are characterized from having an impulse… Read More
Using inbuilt function strcpy(): Using the inbuilt function strcpy() from string.h header file to copy one string to the other. strcpy() accepts a pointer to… Read More
Runtime Errors: A runtime error in a program is an error that occurs while the program is running after being successfully compiled. Runtime errors are… Read More
ValueError is encountered when we pass an inappropriate argument type. Here, we are talking about the ValueError caused by passing an incorrect argument to the… Read More
Given a number N, the task is to print Fibonacci Series till Nth number without using any loop.Examples:   Input: N = 5 Output: 0 1 1… Read More
When we talk of randomness in general, it’s not something that shouldn’t possess repetition, it is something that outputs data that is unpredictable.  Random numbers… Read More
An Arrow operator in C/C++ allows to access elements in Structures and Unions. It is used with a pointer variable pointing to a structure or… Read More
Prerequisite: Switch Case in C/C++Problem Statement: Write a menu-driven program using the Switch case to convert the CGS system to MKS system and vice versa.Approach: MKS(Meter-Kilogram-Second) System:… Read More
Prerequisite: Dictionary Note: Output of all these programs is tested on Python3 1.What is the output of the following of code? a = {i: i… Read More
Predict the output of the following C++ programs:  Question 1:   CPP #include <cstdlib> #include <iostream> using namespace std; int main() {     int ran = rand();… Read More
Delete is an operator that is used to destroy array and non-array(pointer) objects which are created by new expression.  Delete can be used by either… Read More