甲骨文(Oracle)员工笔试试题及答案:
比较崩溃, 第一部分第一个 section, 太紧张了, 我连题都看不进去就选, 琢磨着那 10 个应该全军覆没了。
书面英语算简单的,不过排序挺头疼的。
考专业的太多了。
在考试中间把题复制了几个下来,算是攒人品了吧!
大家加油!谁上了,以后互相帮忙了!
附件上传不去 copy 的图片就没办法了,只有一些题了。。。
Question Number 10
Which one of the following statements about the below code snippet is true?
main()
{
int *i;
int *p = *i;
}
Reference to a pointer is illegal
int cannot be converted to *int
No error
14
None of these
Question Number 11
What will be the output of this program?
#include
void main()
{
int num[10]={8,10,9,16,18,13,14,20,16,17};
int *ptr;
ptr=num;
ptr=ptr 4;
cout<<*ptr;
}
12
18
Compiler error
16
Question Number 12
Select the right choice of all correct?
A) char str[10]="welcome";
B) char str="Welcome";
C) char str[10]={"welcome"};
D) char *str="Welcome";
E) char *str={"welcome"};
A, C, D, and E
C and E
A and D
A, B, C, D and E
Question Number 13
Select the option that is TRUE about calling a function by reference.
The called function copies the values into a new set of variables.
The formal arguments in the called function become aliases to the actual arguments in the calling
function.
The called function has no access to the original data in the calling program.
The called function cannot access the values of actual arguments
Question Number 14
Which one of the following statement should be used in software that support unicode to
represent strings?
std::string
std::wstring
15
char*
None of these
Question Number 15
Which of the following is declaration is correct with respect to Array?
int myArray = new String();
int myArray[100];
int myArray = new Array();
int myArray = new String[100];
Question Number 16
Which following are the parameters to write function?
int *
char * @and @int
char @and @int
char *
Question Number 17
Select the option that mentions the correct use of inline functions.
To save memory space.
As a substitute to a macro, when a macro cannot be written.
To save substantial percentage in overheads when function definitions are very small.
To use static variables in functions.
Question Number 18
Which class provides the facilities for formatted and unformatted input?
ofstream
ostream
istream
ifstream
Question Number 19
Which one of the following methods doesn't have a "this" pointer?
Virtual method
Const method
Static method
None of these
What will happen when we pass a value to a method?
It makes a temporary COPY is made in the cache taking up space and making the changes to the
variable useless outside of the aMethod scope
It makes a permanent COPY is made in cache taking up space
It makes a temporary COPY is made in the cache taking up space and making the changes to the
variable useless outside of the aMethod scope
书面英语算简单的,不过排序挺头疼的。
考专业的太多了。
在考试中间把题复制了几个下来,算是攒人品了吧!
大家加油!谁上了,以后互相帮忙了!
附件上传不去 copy 的图片就没办法了,只有一些题了。。。
Question Number 10
Which one of the following statements about the below code snippet is true?
main()
{
int *i;
int *p = *i;
}
Reference to a pointer is illegal
int cannot be converted to *int
No error
14
None of these
Question Number 11
What will be the output of this program?
#include
void main()
{
int num[10]={8,10,9,16,18,13,14,20,16,17};
int *ptr;
ptr=num;
ptr=ptr 4;
cout<<*ptr;
}
12
18
Compiler error
16
Question Number 12
Select the right choice of all correct?
A) char str[10]="welcome";
B) char str="Welcome";
C) char str[10]={"welcome"};
D) char *str="Welcome";
E) char *str={"welcome"};
A, C, D, and E
C and E
A and D
A, B, C, D and E
Question Number 13
Select the option that is TRUE about calling a function by reference.
The called function copies the values into a new set of variables.
The formal arguments in the called function become aliases to the actual arguments in the calling
function.
The called function has no access to the original data in the calling program.
The called function cannot access the values of actual arguments
Question Number 14
Which one of the following statement should be used in software that support unicode to
represent strings?
std::string
std::wstring
15
char*
None of these
Question Number 15
Which of the following is declaration is correct with respect to Array?
int myArray = new String();
int myArray[100];
int myArray = new Array();
int myArray = new String[100];
Question Number 16
Which following are the parameters to write function?
int *
char * @and @int
char @and @int
char *
Question Number 17
Select the option that mentions the correct use of inline functions.
To save memory space.
As a substitute to a macro, when a macro cannot be written.
To save substantial percentage in overheads when function definitions are very small.
To use static variables in functions.
Question Number 18
Which class provides the facilities for formatted and unformatted input?
ofstream
ostream
istream
ifstream
Question Number 19
Which one of the following methods doesn't have a "this" pointer?
Virtual method
Const method
Static method
None of these
What will happen when we pass a value to a method?
It makes a temporary COPY is made in the cache taking up space and making the changes to the
variable useless outside of the aMethod scope
It makes a permanent COPY is made in cache taking up space
It makes a temporary COPY is made in the cache taking up space and making the changes to the
variable useless outside of the aMethod scope
以下是网友对甲骨文(Oracle)员工笔试试题及答案的回答:
报歉,目前还没有相关答案。我来抢答案?
- 当前共有0条记录,每页0条,当前0/0页
- 上一页
- 下一页
最新更新笔试更多..
湖北成教网 武汉纺织大学成教
武汉轻工大学成教
湖北师范大学成教
武汉工程大学成教
长江大学成教
湖北科技学院成教
荆州教育学院成教
荆楚理工学院成教
湖北开放职业学院成教
湖北中医药高等专科学校成教
湖北理工学院成教
荆州理工职业学院成教
湖北国土资源职业学院成教
中南财经政法大学成教
武汉大学成教
武汉理工大学成教
武汉科技大学成教
华中农业大学成教
湖北工业大学成教
湖北中医药大学成教
武汉成人高考网
孝感成人高考网
荆州成人高考网
咸宁成人高考网
宜昌成人高考网
襄阳成人高考网
十堰成人高考网
武汉自考网
黄冈自考网
宜昌自考网
襄阳自考网
十堰自考网
湖北成人高考报名网
湖北自考报名网
湖北大学成教
湖北工业大学成教
湖北中医药大学成教
华中农业大学成教
武汉大学成教网
武汉科技大学成教
武汉理工大学成教
中南财经政法大学成教
上海成考网
上海自考网
中南财经政法大学自考
中南财经政法大学自考
华中师范大学自考招生网
武汉理工大学自考
湖北大学自考
华中农业大学自考
湖北中医药大学自考
湖北工业大学自考
华中师范大学自考招生网
湖北中医药大学成教
湖北中医药大学成教
武汉理工大学成教
武汉科技大学成教
武汉大学成教
湖北工业大学成教
湖北大学成教
华中农业大学成教
中南财经政法大学成教
华中师范大学成教
湖北中医药大学自考
武汉理工大学自考
武汉大学自考
湖北工业大学自考
湖北大学自考
华中农业大学自考
中南财经政法大学自考
华中师范大学自考