Object-Orientation Concepts Interview Questions

Sub Category
Questions
Last Updated
0
0
Sep 17th, 2019
0
0
Sep 17th, 2019
49
306
Dec 8th, 2018
269
1698
Jan 9th, 2024
0
0
Sep 17th, 2019
0
0
Sep 17th, 2019
17
44
Dec 17th, 2015
358
2454
Jul 25th, 2018
0
0
Sep 17th, 2019
25
130
Apr 19th, 2016

Showing Questions 1 - 20 of 140 Questions
First | Prev | Next | Last Page
Sort by:
|
•

How can I use Structure padding and I want to re-use the remaining memory further?
ex: struct num {
char ch;
int i;
char s;
};

• Dec 6th, 2017

By using #pragma pack(1) we can reduce the size of structure.

```Code#pragma pack(1)

struct num {
char ch;
int i;
char s;
} n1;

printf("Size of num structure is %d ", sizeof(n1));
```

Mantu

• Dec 6th, 2017

By using #pragma pack(1) we can reduce the size of structure.

```Code#pragma pack(1)

struct num {
char ch;
int i;
char s;
} n1;

printf("Size of num structure is %d ", sizeof(n1));
```

•

Decode and Case

What is the difference between Decode and Case with examples?

Manohar

• Oct 4th, 2017

Decode is a function I used it way back in Oracle 6 and 7. Slower than Case.
Case is statement I think it is introduced in 9i, you can use Case instead of Decode, I feel Case is faster when compared to Decode as it jumps to end when condition is met and simpler to understand

VAIBHAV GUPTA

• Apr 9th, 2016

Decode is used in a select statement where as case is a independent statement which occur in where clause.
decode is used for static value but we can use the case for range and can enable complex business logic.
Case is faster than decode.

•

Percentage Increase

If 250 is increased to 300, what is the percentage increase?

Basaraba Roman

• Aug 21st, 2017

Enlarge on 20%

Jeff Rodgers

• Jul 19th, 2017

20%

•

Write a C program to reverse the string without using strrev() function?

Rohan

• Member Since Nov-2005 | Feb 18th, 2006

#include <stdio.h>
#include <conio.h>
#include <string.h>

void main()
{
char *str;
int i,len;

//not using any temp variable and assume we can use only string array and   length

printf("Enter String : ");
scanf("%s",str);
len=strlen(str)-1;
for(i=0;i<strlen(str)/2;i++)
{
str[i]+=str[len];
str[len]=str[i]-str[len];
str[i]=str[i]-str[len--];
}
printf("Reverse String is : %s",str);
getch();
}

naveen

• Jun 17th, 2017

```Code#include<stdio.h>
#include<conio.h>
#include<string.h>

void main()
{
char str[10],temp;
int i,len;
printf("enter string: ");
scanf("%s",str);
len=strlen(str)-1;
for(i=0;i<strlen(str)/2;i++)
{
temp=str[i];
str[i]=str[len];
str[len--]=temp;
}
printf("reverse string : %s" ,str);
getch();
}
```

Gurjyot Singh

• Dec 5th, 2016

```Code#include<stdio.h>
#include<conio.h>
#include<string.h>
int main()
{
char A[20];
int i;int C=0;
printf("Enter String :
");
gets(A);
for(i=0;A[i]!=;i++)
{
C++;
}
for(A[C]=;C>=0;C--)
{
printf("%c",A[C]);
}

getch();
return 0;
}
```

•

What is virtual Memory under Linux?

• Jan 3rd, 2007

Linux supports virtual memory, that is, using a disk as an extension of RAM so that the effective size of usable memory grows correspondingly. The kernel will write the contents of a currently unused block of memory to the hard disk so that the memory can be used for another purpose. When the original contents are needed again, they are read back into memory. This is all made completely transparent to the user; programs running under Linux only see the larger amount of memory available and don't notice that parts of them reside on the disk from time to time. Of course, reading and writing the hard disk is slower (on the order of a thousand times slower) than using real memory, so the programs don't run as fast. The part of the hard disk that is used as virtual memory is called the swap space

maureenash

• Aug 17th, 2016

Virtual Memory Usage from Java under Linux, too much memory used. It is using a disk as an extension of RAM so that the effective size of usable memory grows correspondingly. The kernel will write th...

Hitesh

• Jan 3rd, 2007

Linux supports virtual memory, that is, using a disk as an extension of RAM so that the effective size of usable memory grows correspondingly. The kernel will write the contents of a currently unused ...

•

What is actually meant for BUFFER? how does it work

• Jul 14th, 2007

Buffer is something that is used to hold the data temporarly.
Ex-
If we are watching any thing online,then buffering of data takes place i.e for sometime data get stored in buffer then processed.

sathiyapriya

• Feb 8th, 2015

It is like a storage area

Avinash kumar

• Jan 23rd, 2015

A buffer is a memory space that is used to hold different data items temporarily. its used for communication of different processes.I.e. Interprocess communication. The most relevant example is , play...

•

Can we execute any simple program without installing any Operating system?

I think no,can u suggest?

• Jul 24th, 2006

No! we can not run any simple program with out using any interface such as operatin systen or System software. but in some cases like Machine level languge or firmware run without any software because it directlly communicate with hardware and makes the hardware active so other program can run using his platform.

Siba Ranjan Biswal

• Feb 11th, 2014

Yes a program can be executed with out operating system..for example the boot executable program runs in systems while no operating system is available prior to it.

kaaka

• Feb 9th, 2008

Havent u guys heard of Assembly Language??? A microprocessor kit?? They dont have OS... But still we execute programs......

•

What is the Diff between Review and Walkthough?

1.What is the Dif between Review and Walkthrough?
On Testing Perspective ,who will do review and walkthrough?Clarify with an real example?

2.What is meant by inspection and who will lead the inspection and roles involved in Inspection?

BA_Apprentise

• Member Since Apr-2013 | Apr 19th, 2013

In laymans term walk-through is nothing but running thru the requirements while review is making an analysis of the progress and if the case may be a change has to be recommended

anji

• Apr 25th, 2013

Review if more formal than walkthrough .Walkthrough is done with a purpose of gain understanding of system and learning.

BA_Apprentise

• Apr 19th, 2013

In laymans term walk-through is nothing but running thru the requirements while review is making an analysis of the progress and if the case may be a change has to be recommended

•

aswini

• Apr 2nd, 2013

Cannot execute 13,000 FTS faster. First need to analyse the severity and priority of the functionality wise and then the selected test alone have to execute

kumar

• Mar 3rd, 2013

Cannot execute 13,000 FTS faster. First need to analyse the severity and priority of the functionality wise and select the test cases.

•

Need help with negative test scenario.

Verizon has bundle choice of 3 products with \$25 discount=123 for 3 products purchased there is a total of 5 products High speed internet, cable, VOIP, cell phone, LAN line. each are \$50 so if you purchase 3 for 125 then add 2 cost is 200... Here is the problem I need example of negative case of if customer orders 5 products? description has been verify if \$25 discount apply to 5 products do I need...

•

How to differentiate the websites of different technologies!!!!

Hello Guys,
I must really appreciate you all. I was so shocked to check the knowledge of people on this website.
they are so deep and so much focused well done guys.
I just have one simple question, if anyone can help.

I know the difference of programming languages such as java, net, php, etc.I just want to know, from the end users view, what a end user faces a trouble...

Showing Questions 1 - 20 of 140 Questions
First | Prev | Next | Last Page
Sort by:
|