• 2022-06-11
    以下哪个选项是正确的json数据格式:
    A: { "id": 2, "userName": admin, "passWord": 12345, "email": admin@qq.com}
    B: { id: 2, userName: "admin", passWord: "12345", email: "admin@qq.com"}
    C: { "id": 2, "userName": "admin", "passWord": "12345", "email": "admin@qq.com",}
    D: { "id": 2, "userName": "admin", "passWord": "12345", "email": "admin@qq.com"}
  • D

    举一反三

    内容

    • 0

      邮箱输入框和文本输入框同时定义样式时,写法正确的是( ) A: input[type="text"],[type="email"] { } B: input([type="text"],[type="email"] ){ } C: input[type="text"][type="email"] { } D: input(type="text"),(type="email") { }

    • 1

      已知有一个名为names的空列表,如何向其中添加old_driver,rain,jack,shanshan,peiqi,black_girl 元素? A: names.append("old_driver","rain","jack","shanshan","peiqi","black_girl") B: names.extend("old_driver","rain","jack","shanshan","peiqi","black_girl") C: names.insert("old_driver","rain","jack","shanshan","peiqi","black_girl") D: names.extend(["old_driver","rain","jack","shanshan","peiqi","black_girl"])

    • 2

      密码输入框和文本输入框样式同时定义时,写法正确的是( ) A: input[type="text"] [type="password"] { } B: input[type="text"],[type="password"] { } C: input([type="text"],[type="password"]) { } D: input(type="text"),(type="password") { }

    • 3

      下面语句中,正确的是( )。 A: printf("%c ","student"); B: printf("%c ","c"); C: printf("%s ",&a); D: printf("%s ","hello");

    • 4

      以下选项中,两个条件语句功能等价的是()。 A: if (a=3) printf("%d ",a);if (a==3) printf("%d ",a); B: if (a-3) printf("%d ",a);if (a!=3) printf("%d ",a); C: if (a) printf("%d ",a); if (a==0) printf("%d ",a); D: if (a-3) printf("%d ",a);if (a==3) printf("%d ",a);