当前位置:网站首页>2021 jd.com written examination summary
2021 jd.com written examination summary
2022-07-25 10:35:00 【PBitW】
List of articles
- Every item in the web page is DOM A node object on the tree , All nodes contain attributes such as
- The status is described as :Server Unavailable, The server is currently unable to process the client's request , It may return to normal after some time , Its status code is
- In the internal sorting method based on comparison , The comparison times are independent of the initial sorting state of the records to be sorted
- Binary files commonly used in system management , Under what directory is it usually placed
- DOM Provides a representation of the tree structure , The following description is correct
- About Http Request method GET and POST Differences between request schemes , The statement is wrong
- POST Method how to segment header and body information
- href、src、a label
- If the linear programming problem has an optimal solution , Then the optimal solution must not be
- Undirected graph
- Code running problem 1
- Code running problem 2
- summary
This article was not intended to be written by rookies , But I feel that the problems encountered still need to be solved , So write it down
Every item in the web page is DOM A node object on the tree , All nodes contain attributes such as
- nodeType
- nodeScope
- nodeValue
- nodeName
The rookie searched , It seems that there is something wrong with the title , Because this is a single choice question !
I feel that the topic should be chosen not to belong to !
The status is described as :Server Unavailable, The server is currently unable to process the client's request , It may return to normal after some time , Its status code is
- 403
- 404
- 503
- 500
answer :503
This rookie can only say , Recite and understand the return code , Sao Nian ! The rookie may not have done it before , Now as long as it's not particularly difficult , Basically no problem , Advice to see :《 The illustration Http》 A Book , Or directly Novice tutorial !
In the internal sorting method based on comparison , The comparison times are independent of the initial sorting state of the records to be sorted
- Quick sort
- Bubble sort
- Bisection insertion sort
- Insertion sort
answer :?
Rookies are not up to scratch , Sorting knows a two-level cycle , I don't know exactly , Wait for the novice to finish watching js The algorithm and data structure of , Now readers can only solve it by themselves
Reference resources : Sorting algorithm Baidu 
Binary files commonly used in system management , Under what directory is it usually placed
- /usr/bin
- /usr/sbin
- /sbin
- /root

answer :/usr/bin
DOM Provides a representation of the tree structure , The following description is correct
- Not all HTML element All are element nodes
- stay HTML element Internal text The content is also text node
- Document Is not a document node, Is a node format
- be-all comments All are document node


answer : stay HTML element Internal text The content is also text node
About Http Request method GET and POST Differences between request schemes , The statement is wrong
- GET The parameters are generally determined by URL Pass on , and POST The parameters of are generally placed in Request body in
- POST request URL Parameters in will not be resolved
- GET The request will be initiated by the browser cache
- GET Than POST It's not safe , Because the parameters are directly exposed to URL On , So it can't be used to convey sensitive information


Idempotent understanding : Deep understanding of idempotency
answer :POST request URL Parameters in will not be resolved
This should be parsed , Rookies don't know very well , Reference resources :Post Method parameters are written in body Neutralization is written in url What's the difference between ? You know
POST Method how to segment header and body information
- \r
- \r\n\r\n
- \r\n
- \n



answer :\r\n
href、src、a label
- Labeled src Property is used to specify the address to link
- Tags are page link tags , It can only be used to link to other pages
- Tags are page link tags , It can only be used to link to other places on this page
- Labeled href Property is used to specify the address to link
href Property is used to specify the URL,src Property specifies the location of the external resource (URL).a The tag can be linked to the outside or jump to other places on this page , therefore 2,3 error !
answer : Labeled src Property is used to specify the address to link
If the linear programming problem has an optimal solution , Then the optimal solution must not be
- Within the feasible region
- None of the other options are right
- On an edge of the feasible region
- On a vertex of the feasible region
answer :?
This rookie doesn't know , I hope the readers , Define the , Encouraging words !
Undirected graph

answer :?
This rookie doesn't know , I hope the readers , Define the , Encouraging words !
Code running problem 1
var setObj = function(o){
o.name = " mary";
}
var p = {
name:" john",age:24};
setObj(p);
console.log(p.name);
console.log(p.age);
answer :
mary
24
Code running problem 2

Let the reader run it by himself , Rookie company c There are no compilers for languages , Ha ha ha !
summary
Finish JD's written exam , I feel like I don't know anything , Just ask JD to be a person ! The rookie is just a garbage front end , Really not c Language !
I feel that the college is indeed deserted , Patronize the front end of learning , Did not pay attention to the foundation , And the front-end is not very solid , Because it's always fun , Readers are expected to find a good job !
Here are suggestions : The experience of computer senior
边栏推荐
猜你喜欢
随机推荐
3.跟你思想一样DNS域名解析服务!!!
2.介绍部署LAMP平台+DISCUZ论坛
Research summary of voice self-monitoring pre training model CNN encoder
三、unittest测试用例五种运行方式
10. Expect interaction free
四、TestFixture测试夹具,或者测试固件
数组静态初始化,遍历,最值
平凡人的一生的意义是什么?
MySQL offline deployment
Angr(八)——angr_ctf
4.隔壁小孩都会的,各种shell符号{}[]等
Upgrade glibc 2.29 checking LD_ LIBRARY_ Path variable... Contains current directory error solution
Oh my Zsh and TMUX configuration (personal)
Angr (I) - Installation
Ansible Deployment Guide
Number theory --- the greatest common divisor and the least common multiple
Storage, computing and distributed computing (collection and sorting is suitable for Xiaobai)
Multithreading - runnable interface, tortoise and rabbit race
2.shell脚本之条件语句
4、 Testfixture test fixture, or test firmware








