TCS NQT CODING 2022-23
Photo
Sorry soon solution will be there...
Forwarded from Piyush
Forwarded from TCS NQT CODING 2022-23
Forwarded from Piyush
Question- What will be the output
public class Main {
public static void maine(String[] args)
{
Int $ = 5;
}
}
Nothing will print
Symbol not found Error.
Runtime Error
Compile time error
Question-
class Main
{
public static void main(String args[])
{
int i,j,x=0;
for(i=0;i<5;i++)
for (j=0;j<5;j++){
x=(i+j-1);
System.out.print(x);
break;
}
System.out.print(x);
}
}
What will be printed when the above sample code is executed.
Enter your answer ONLY as a NUMERAL, in the box.
Question- Which of the following options best suits for ‘Memory Leak Occurred’
Resource allocation pending while debugging the code
Program releases resources allocated in the memory
Program does not free the memory which is allocated dynamically
Occurs due to address assignment failure.
Question- What among the following is a server based paradigm
Request for Information(RFI)
Data Validation Routine
Cloud computing
Total cost of Ownership.
Question- When we declare constant pointer to integer, we CANNOT change:
Value pointed by pointer
Either addressin pointer variable or value at that address
Changes are not permitted
Address in pointer variable.
public class Main {
public static void maine(String[] args)
{
Int $ = 5;
}
}
Nothing will print
Symbol not found Error.
Runtime Error
Compile time error
Question-
class Main
{
public static void main(String args[])
{
int i,j,x=0;
for(i=0;i<5;i++)
for (j=0;j<5;j++){
x=(i+j-1);
System.out.print(x);
break;
}
System.out.print(x);
}
}
What will be printed when the above sample code is executed.
Enter your answer ONLY as a NUMERAL, in the box.
Question- Which of the following options best suits for ‘Memory Leak Occurred’
Resource allocation pending while debugging the code
Program releases resources allocated in the memory
Program does not free the memory which is allocated dynamically
Occurs due to address assignment failure.
Question- What among the following is a server based paradigm
Request for Information(RFI)
Data Validation Routine
Cloud computing
Total cost of Ownership.
Question- When we declare constant pointer to integer, we CANNOT change:
Value pointed by pointer
Either addressin pointer variable or value at that address
Changes are not permitted
Address in pointer variable.
After installing the app you should again click on the above link to play the web series
Forwarded from Piyush
YouTube
GCD of Two Numbers | TCS NQT CODING 2021 | Package ₹3.5Lakhs | NQT 2021
Program to find the GCD of two numbers is discussed here. The HCF (Highest Common Factor or GCD (Greatest Common Divisor) of two integers is nothing but the largest integer that can exactly divide a given number without leaving a remainder.
Telegram Lin…
Telegram Lin…
Forwarded from TCS NQT CODING 2022-23